Mercurial > pidgin.yaz
comparison src/buddy.c @ 4767:f6d83e81d45a
[gaim-migrate @ 5085]
This brings back:
- Sounds
- "SeanEgn logged in." messages
- Plugin and perl events
- Raise Buddy list on events
- I think that's all.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 14 Mar 2003 08:10:17 +0000 |
parents | 2202f056a1c9 |
children | c4c28874ecd3 |
comparison
equal
deleted
inserted
replaced
4766:03aa36cb4e38 | 4767:f6d83e81d45a |
---|---|
1118 g_free(mark); | 1118 g_free(mark); |
1119 g_object_unref(G_OBJECT(groupicon)); | 1119 g_object_unref(G_OBJECT(groupicon)); |
1120 | 1120 |
1121 expand = TRUE; | 1121 expand = TRUE; |
1122 } | 1122 } |
1123 | 1123 |
1124 oldersibling = node->prev; | 1124 oldersibling = node->prev; |
1125 while (oldersibling && !get_iter_from_node(oldersibling, &oldersiblingiter)) | 1125 while (oldersibling && !get_iter_from_node(oldersibling, &oldersiblingiter)) |
1126 oldersibling = oldersibling->prev; | 1126 oldersibling = oldersibling->prev; |
1127 | 1127 |
1128 gtk_tree_store_insert_after(gtkblist->treemodel, &iter, &groupiter, oldersibling ? &oldersiblingiter : NULL); | 1128 gtk_tree_store_insert_after(gtkblist->treemodel, &iter, &groupiter, oldersibling ? &oldersiblingiter : NULL); |
1129 | |
1130 if (blist_options & OPT_BLIST_POPUP) | |
1131 gtk_window_present(GTK_WINDOW(gtkblist->window)); | |
1129 | 1132 |
1130 if (expand) { /* expand was set to true if this is the first element added to a group. In such case | 1133 if (expand) { /* expand was set to true if this is the first element added to a group. In such case |
1131 * we expand the group node */ | 1134 * we expand the group node */ |
1132 GtkTreePath *path = gtk_tree_model_get_path(GTK_TREE_MODEL(gtkblist->treemodel), &groupiter); | 1135 GtkTreePath *path = gtk_tree_model_get_path(GTK_TREE_MODEL(gtkblist->treemodel), &groupiter); |
1133 gtk_tree_view_expand_row(GTK_TREE_VIEW(gtkblist->treeview), path, TRUE); | 1136 gtk_tree_view_expand_row(GTK_TREE_VIEW(gtkblist->treeview), path, TRUE); |
1202 if (avatar != NULL) | 1205 if (avatar != NULL) |
1203 g_object_unref(avatar); | 1206 g_object_unref(avatar); |
1204 | 1207 |
1205 } else if (GAIM_BLIST_NODE_IS_BUDDY(node) && !new_entry) { | 1208 } else if (GAIM_BLIST_NODE_IS_BUDDY(node) && !new_entry) { |
1206 gaim_gtk_blist_remove(list, node); | 1209 gaim_gtk_blist_remove(list, node); |
1210 if (blist_options & OPT_BLIST_POPUP) | |
1211 gtk_window_present(GTK_WINDOW(gtkblist->window)); | |
1207 } | 1212 } |
1208 } | 1213 } |
1209 | 1214 |
1210 static void gaim_gtk_blist_destroy(struct gaim_buddy_list *list) | 1215 static void gaim_gtk_blist_destroy(struct gaim_buddy_list *list) |
1211 { | 1216 { |