diff pidgin/gtkblist.c @ 16007:d64602bb59d2

block and unblock have the right icons now
author Nathan Walp <nwalp@pidgin.im>
date Sat, 07 Apr 2007 19:47:35 +0000
parents f61113b26032
children eae8e127e4fb
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sat Apr 07 13:49:02 2007 +0000
+++ b/pidgin/gtkblist.c	Sat Apr 07 19:47:35 2007 +0000
@@ -1008,7 +1008,7 @@
 	permitted = purple_privacy_check(account, purple_buddy_get_name(buddy));
 
 	pidgin_new_item_from_stock(menu, permitted ? _("_Block") : _("Un_block"),
-						PIDGIN_STOCK_BLOCK, G_CALLBACK(toggle_privacy),
+						permitted ? PIDGIN_STOCK_TOOLBAR_BLOCK : PIDGIN_STOCK_TOOLBAR_UNBLOCK, G_CALLBACK(toggle_privacy),
 						node, 0 ,0, NULL);
 }