| 4232 {"text/plain", 0, DRAG_TEXT}}; |
4232 {"text/plain", 0, DRAG_TEXT}}; |
| 4233 GtkTargetEntry ste[] = {{"PURPLE_BLIST_NODE", GTK_TARGET_SAME_APP, DRAG_ROW}, |
4233 GtkTargetEntry ste[] = {{"PURPLE_BLIST_NODE", GTK_TARGET_SAME_APP, DRAG_ROW}, |
| 4234 {"application/x-im-contact", 0, DRAG_BUDDY}, |
4234 {"application/x-im-contact", 0, DRAG_BUDDY}, |
| 4235 {"text/x-vcard", 0, DRAG_VCARD }}; |
4235 {"text/x-vcard", 0, DRAG_VCARD }}; |
| 4236 if (gtkblist && gtkblist->window) { |
4236 if (gtkblist && gtkblist->window) { |
| 4237 purple_blist_set_visible(TRUE); |
4237 purple_blist_set_visible(purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/blist/list_visible")); |
| 4238 return; |
4238 return; |
| 4239 } |
4239 } |
| 4240 |
4240 |
| 4241 gtkblist = PIDGIN_BLIST(list); |
4241 gtkblist = PIDGIN_BLIST(list); |
| 4242 |
4242 |
| 5126 static void pidgin_blist_update_chat(PurpleBuddyList *list, PurpleBlistNode *node) |
5127 static void pidgin_blist_update_chat(PurpleBuddyList *list, PurpleBlistNode *node) |
| 5127 { |
5128 { |
| 5128 PurpleChat *chat; |
5129 PurpleChat *chat; |
| 5129 |
5130 |
| 5130 g_return_if_fail(PURPLE_BLIST_NODE_IS_CHAT(node)); |
5131 g_return_if_fail(PURPLE_BLIST_NODE_IS_CHAT(node)); |
| |
5132 |
| 5131 if (editing_blist) |
5133 if (editing_blist) |
| 5132 return; |
5134 return; |
| 5133 |
5135 |
| 5134 /* First things first, update the group */ |
5136 /* First things first, update the group */ |
| 5135 pidgin_blist_update_group(list, node->parent); |
5137 pidgin_blist_update_group(list, node->parent); |