Mercurial > pidgin.yaz
changeset 16780:588968d4b2c1
merge of '1222310dce4224af3958f2c83c4894f4f32d7ebc'
and '86cac2dc203232252ecd8979cebf0415e5395359'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 02 May 2007 03:41:22 +0000 |
parents | 52342adf4303 (current diff) 1de66d5d1de8 (diff) |
children | 8a5fe6db7750 |
files | |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkblist.c Wed May 02 03:22:11 2007 +0000 +++ b/pidgin/gtkblist.c Wed May 02 03:41:22 2007 +0000 @@ -1172,8 +1172,9 @@ GtkWidget *item; menu = gtk_menu_new(); - pidgin_new_item_from_stock(menu, _("Add a _Buddy"), GTK_STOCK_ADD, + item = pidgin_new_item_from_stock(menu, _("Add a _Buddy"), GTK_STOCK_ADD, G_CALLBACK(pidgin_blist_add_buddy_cb), node, 0, 0, NULL); + gtk_widget_set_sensitive(item, purple_connections_get_all() != NULL); item = pidgin_new_item_from_stock(menu, _("Add a C_hat"), GTK_STOCK_ADD, G_CALLBACK(pidgin_blist_add_chat_cb), node, 0, 0, NULL); gtk_widget_set_sensitive(item, pidgin_blist_joinchat_is_showable());