comparison src/gtkblist.c @ 10623:14c32196fcfd

[gaim-migrate @ 12094] The logic I used for dragging buddies and expanding them was so flawed it floored me. People probably prefer it like this. Also fix up body tags with bgcolors. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 22 Feb 2005 16:06:29 +0000
parents 54f7939df8e3
children 868aafbe859b
comparison
equal deleted inserted replaced
10622:78a43d6e1801 10623:14c32196fcfd
3720 if(gtknode != NULL) { 3720 if(gtknode != NULL) {
3721 gtk_tree_row_reference_free(gtknode->row); 3721 gtk_tree_row_reference_free(gtknode->row);
3722 } else { 3722 } else {
3723 gaim_gtk_blist_new_node(node); 3723 gaim_gtk_blist_new_node(node);
3724 gtknode = (struct _gaim_gtk_blist_node *)node->ui_data; 3724 gtknode = (struct _gaim_gtk_blist_node *)node->ui_data;
3725 /* If the node is a contact, and gtknode was NULL, it's because it was dragged.
3726 * It *must* have been expanded in order for it to be dragged. */
3727 if(GAIM_BLIST_NODE_IS_CONTACT(node))
3728 gtknode->contact_expanded = TRUE;
3729 } 3725 }
3730 3726
3731 newpath = gtk_tree_model_get_path(GTK_TREE_MODEL(gtkblist->treemodel), 3727 newpath = gtk_tree_model_get_path(GTK_TREE_MODEL(gtkblist->treemodel),
3732 iter); 3728 iter);
3733 gtknode->row = 3729 gtknode->row =