pidgin/gtkconv.c

changeset 29003
4b3cc9097e9f
parent 28908
d8538334b167
child 29047
aeb4e2ef96d0
child 29163
c566c1227cc4
child 29664
3df88daabac7
equal deleted inserted replaced
29002:d4e56cee9981 29003:4b3cc9097e9f
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

mercurial