Mercurial > pidgin.yaz
changeset 4786:01e349782075
[gaim-migrate @ 5106]
fix a stupid bug, and let the buddy list get skinny if it can.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 15 Mar 2003 07:48:27 +0000 |
parents | 1e28e7d802a1 |
children | 5939d3d13ab3 |
files | src/buddy.c src/gtkconv.c |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy.c Sat Mar 15 03:23:30 2003 +0000 +++ b/src/buddy.c Sat Mar 15 07:48:27 2003 +0000 @@ -1248,6 +1248,7 @@ afsad = afsad->next; } } + gtk_tree_view_columns_autosize(GTK_TREE_VIEW(gtkblist->treeview)); } static void gaim_gtk_blist_destroy(struct gaim_buddy_list *list)
--- a/src/gtkconv.c Sat Mar 15 03:23:30 2003 +0000 +++ b/src/gtkconv.c Sat Mar 15 07:48:27 2003 +0000 @@ -1963,6 +1963,7 @@ conv = gaim_window_get_active_conversation(win); + if (conv == NULL) return FALSE; @@ -2108,7 +2109,7 @@ g_object_set_data(G_OBJECT(menuitem), "user_data", win); g_object_set_data(G_OBJECT(menuitem), "gaim_account", gc->account); - g_signal_connect_after(G_OBJECT(menuitem), "activate", + g_signal_connect(G_OBJECT(menuitem), "activate", G_CALLBACK(menu_conv_sel_send_cb), NULL); gtk_widget_show(menuitem); @@ -2137,6 +2138,7 @@ account = gaim_conversation_get_account(conv); + if (account->gc == NULL) { if (first_offline && found_online) { menuitem = gtk_separator_menu_item_new(); @@ -2186,8 +2188,12 @@ gtk_widget_show(box); gtk_widget_set_sensitive(menuitem, FALSE); + g_object_set_data(G_OBJECT(menuitem), "user_data", win); g_object_set_data(G_OBJECT(menuitem), "gaim_account", account); + g_signal_connect(G_OBJECT(menuitem), "activate", + G_CALLBACK(menu_conv_sel_send_cb), NULL); + gtk_widget_show(menuitem); gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem); }