Mercurial > pidgin.yaz
comparison src/gtkblist.c @ 12466:31e4eb57cc86
[gaim-migrate @ 14776]
Patch sent to gaim-devel by Pradyumna Sampath
Corresponding to SF #1378865:
'In the menu:
"Accounts - Enable Account" menu item. Gives a list of
accounts that are *not* online. Shouldnt this be greyed
to indicate so ? If you think it should be here is a
patch that does the same , you may use it if you want to.'
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 12 Dec 2005 17:32:32 +0000 |
parents | 2b08a27c2342 |
children | 6faefbebcd24 |
comparison
equal
deleted
inserted
replaced
12465:ae4ae98bca20 | 12466:31e4eb57cc86 |
---|---|
5545 g_free(buf); | 5545 g_free(buf); |
5546 pixbuf = gaim_gtk_create_prpl_icon(account); | 5546 pixbuf = gaim_gtk_create_prpl_icon(account); |
5547 if (pixbuf) { | 5547 if (pixbuf) { |
5548 scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, | 5548 scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, |
5549 GDK_INTERP_BILINEAR); | 5549 GDK_INTERP_BILINEAR); |
5550 if (gaim_account_is_disconnected(account)) | |
5551 gdk_pixbuf_saturate_and_pixelate(scale, scale, 0.00, FALSE); | |
5550 image = gtk_image_new_from_pixbuf(scale); | 5552 image = gtk_image_new_from_pixbuf(scale); |
5551 g_object_unref(G_OBJECT(pixbuf)); | 5553 g_object_unref(G_OBJECT(pixbuf)); |
5552 g_object_unref(G_OBJECT(scale)); | 5554 g_object_unref(G_OBJECT(scale)); |
5553 gtk_widget_show(image); | 5555 gtk_widget_show(image); |
5554 gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menuitem), image); | 5556 gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menuitem), image); |