| 3901 |
3901 |
| 3902 gtk_box_pack_start(GTK_BOX(box), image, FALSE, FALSE, 0); |
3902 gtk_box_pack_start(GTK_BOX(box), image, FALSE, FALSE, 0); |
| 3903 gtk_box_pack_start(GTK_BOX(box), label, TRUE, TRUE, 4); |
3903 gtk_box_pack_start(GTK_BOX(box), label, TRUE, TRUE, 4); |
| 3904 |
3904 |
| 3905 if (buddy != NULL && |
3905 if (buddy != NULL && |
| 3906 !purple_presence_is_online(purple_buddy_get_presence(buddy)) && |
3906 !purple_presence_is_online(purple_buddy_get_presence(buddy))) |
| 3907 !purple_account_supports_offline_message(account, buddy)) |
|
| 3908 { |
3907 { |
| 3909 gtk_widget_set_sensitive(label, FALSE); |
3908 gtk_widget_set_sensitive(label, FALSE); |
| 3910 |
3909 |
| 3911 /* Set the label sensitive when the menuitem is highlighted and |
3910 /* Set the label sensitive when the menuitem is highlighted and |
| 3912 * insensitive again when the mouse leaves it. This way, it |
3911 * insensitive again when the mouse leaves it. This way, it |