Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/src/buddy.c Fri Mar 14 07:04:46 2003 +0000 +++ b/src/buddy.c Fri Mar 14 08:10:17 2003 +0000 @@ -1120,12 +1120,15 @@ expand = TRUE; } - + oldersibling = node->prev; while (oldersibling && !get_iter_from_node(oldersibling, &oldersiblingiter)) oldersibling = oldersibling->prev; gtk_tree_store_insert_after(gtkblist->treemodel, &iter, &groupiter, oldersibling ? &oldersiblingiter : NULL); + + if (blist_options & OPT_BLIST_POPUP) + gtk_window_present(GTK_WINDOW(gtkblist->window)); if (expand) { /* expand was set to true if this is the first element added to a group. In such case * we expand the group node */ @@ -1204,6 +1207,8 @@ } else if (GAIM_BLIST_NODE_IS_BUDDY(node) && !new_entry) { gaim_gtk_blist_remove(list, node); + if (blist_options & OPT_BLIST_POPUP) + gtk_window_present(GTK_WINDOW(gtkblist->window)); } }
