# HG changeset patch # User Nathan Walp # Date 1175975255 0 # Node ID d64602bb59d2e12061ff16b9631e1ed95ad48f41 # Parent 14f20458e4e44a37248ecbc814bd792b70baeba5 block and unblock have the right icons now diff -r 14f20458e4e4 -r d64602bb59d2 pidgin/gtkblist.c --- 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); } diff -r 14f20458e4e4 -r d64602bb59d2 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Sat Apr 07 13:49:02 2007 +0000 +++ b/pidgin/gtkconv.c Sat Apr 07 19:47:35 2007 +0000 @@ -2801,9 +2801,9 @@ { N_("/Conversation/Al_ias..."), NULL, menu_alias_cb, 0, "", NULL }, { N_("/Conversation/_Block..."), NULL, menu_block_cb, 0, - "", PIDGIN_STOCK_BLOCK }, + "", PIDGIN_STOCK_TOOLBAR_BLOCK }, { N_("/Conversation/_Unblock..."), NULL, menu_unblock_cb, 0, - "", PIDGIN_STOCK_UNBLOCK }, + "", PIDGIN_STOCK_TOOLBAR_UNBLOCK }, { N_("/Conversation/_Add..."), NULL, menu_add_remove_cb, 0, "", GTK_STOCK_ADD }, { N_("/Conversation/_Remove..."), NULL, menu_add_remove_cb, 0, diff -r 14f20458e4e4 -r d64602bb59d2 pidgin/pidginstock.c --- a/pidgin/pidginstock.c Sat Apr 07 13:49:02 2007 +0000 +++ b/pidgin/pidginstock.c Sat Apr 07 19:47:35 2007 +0000 @@ -43,8 +43,6 @@ #else { PIDGIN_STOCK_ALIAS, "buttons", "edit.png" }, #endif - { PIDGIN_STOCK_BLOCK, NULL, GTK_STOCK_STOP }, - { PIDGIN_STOCK_UNBLOCK, NULL, GTK_STOCK_STOP /* XXX: */ }, { PIDGIN_STOCK_CHAT, NULL, GTK_STOCK_JUMP_TO }, { PIDGIN_STOCK_CLEAR, NULL, GTK_STOCK_CLEAR }, { PIDGIN_STOCK_CLOSE_TABS, NULL, GTK_STOCK_CLOSE }, @@ -155,6 +153,7 @@ { PIDGIN_STOCK_TOOLBAR_ACCOUNTS, "toolbar", "accounts.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, { PIDGIN_STOCK_TOOLBAR_BGCOLOR, "toolbar", "change-bgcolor.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, + { PIDGIN_STOCK_TOOLBAR_BLOCK, "emblems", "blocked.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, { PIDGIN_STOCK_TOOLBAR_FGCOLOR, "toolbar", "change-fgcolor.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, { PIDGIN_STOCK_TOOLBAR_SMILEY, "toolbar", "emote-select.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, { PIDGIN_STOCK_TOOLBAR_TEXT_SMALLER, "toolbar", "font-size-down.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, @@ -162,10 +161,11 @@ { PIDGIN_STOCK_TOOLBAR_INSERT_IMAGE, "toolbar", "insert-image.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, { PIDGIN_STOCK_TOOLBAR_INSERT_LINK, "toolbar", "insert-link.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, { PIDGIN_STOCK_TOOLBAR_MESSAGE_NEW, "toolbar", "message-new.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, + { PIDGIN_STOCK_TOOLBAR_PENDING, "status", "message-pending.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, { PIDGIN_STOCK_TOOLBAR_PLUGINS, "toolbar", "plugins.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, { PIDGIN_STOCK_TOOLBAR_TYPING, "toolbar", "typing.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, - { PIDGIN_STOCK_TOOLBAR_PENDING, "status", "message-pending.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, - + { PIDGIN_STOCK_TOOLBAR_UNBLOCK, "toolbar", "unblock.png", TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }, + { PIDGIN_STOCK_TRAY_AVAILABLE, "tray", "tray-online.png", TRUE, TRUE, FALSE, FALSE, FALSE, FALSE }, { PIDGIN_STOCK_TRAY_AWAY, "tray", "tray-away.png", TRUE, TRUE, FALSE, FALSE, FALSE, FALSE }, { PIDGIN_STOCK_TRAY_BUSY, "tray", "tray-busy.png", TRUE, TRUE, FALSE, FALSE, FALSE, FALSE }, diff -r 14f20458e4e4 -r d64602bb59d2 pidgin/pidginstock.h --- a/pidgin/pidginstock.h Sat Apr 07 13:49:02 2007 +0000 +++ b/pidgin/pidginstock.h Sat Apr 07 19:47:35 2007 +0000 @@ -35,8 +35,6 @@ #define PIDGIN_STOCK_ACTION "pidgin-action" #define PIDGIN_STOCK_ALIAS "pidgin-alias" #define PIDGIN_STOCK_AWAY "pidgin-away" -#define PIDGIN_STOCK_BLOCK "pidgin-block" -#define PIDGIN_STOCK_UNBLOCK "pidgin-unblock" #define PIDGIN_STOCK_CHAT "pidgin-chat" #define PIDGIN_STOCK_CLEAR "pidgin-clear" #define PIDGIN_STOCK_CLOSE_TABS "pidgin-close-tab" @@ -112,6 +110,7 @@ /* Toolbar (and menu) icons */ #define PIDGIN_STOCK_TOOLBAR_ACCOUNTS "pidgin-accounts" #define PIDGIN_STOCK_TOOLBAR_BGCOLOR "pidgin-bgcolor" +#define PIDGIN_STOCK_TOOLBAR_BLOCK "pidgin-block" #define PIDGIN_STOCK_TOOLBAR_FGCOLOR "pidgin-fgcolor" #define PIDGIN_STOCK_TOOLBAR_SMILEY "pidgin-smiley" #define PIDGIN_STOCK_TOOLBAR_TEXT_SMALLER "pidgin-text-smaller" @@ -119,10 +118,11 @@ #define PIDGIN_STOCK_TOOLBAR_INSERT_IMAGE "pidgin-insert-image" #define PIDGIN_STOCK_TOOLBAR_INSERT_LINK "pidgin-insert-link" #define PIDGIN_STOCK_TOOLBAR_MESSAGE_NEW "pidgin-message-new" +#define PIDGIN_STOCK_TOOLBAR_PENDING "pidgin-pending" #define PIDGIN_STOCK_TOOLBAR_PLUGINS "pidgin-plugins" #define PIDGIN_STOCK_TOOLBAR_TYPING "pidgin-typing" #define PIDGIN_STOCK_TOOLBAR_USER_INFO "pidgin-info" -#define PIDGIN_STOCK_TOOLBAR_PENDING "pidgin-pending" +#define PIDGIN_STOCK_TOOLBAR_UNBLOCK "pidgin-unblock" /* Tray icons */ #define PIDGIN_STOCK_TRAY_AVAILABLE "pidgin-tray-available" diff -r 14f20458e4e4 -r d64602bb59d2 pidgin/pixmaps/toolbar/16/Makefile.am --- a/pidgin/pixmaps/toolbar/16/Makefile.am Sat Apr 07 13:49:02 2007 +0000 +++ b/pidgin/pixmaps/toolbar/16/Makefile.am Sat Apr 07 19:47:35 2007 +0000 @@ -11,6 +11,7 @@ message-new.png \ plugins.png \ typing.png \ + unblock.png \ user-info.png \ window-icon.png diff -r 14f20458e4e4 -r d64602bb59d2 pidgin/pixmaps/toolbar/16/unblock.png Binary file pidgin/pixmaps/toolbar/16/unblock.png has changed