pidgin: 23722954: Use a stock icon for 'Filter' in debug w...
sadrul at pidgin.im
sadrul at pidgin.im
Thu Feb 4 00:45:37 EST 2010
-----------------------------------------------------------------
Revision: 2372295461cdcf2b479cc7cda6be083993d9ddae
Ancestor: 2ce20c5c040fe58d5fae4958c988af81cb299852
Author: sadrul at pidgin.im
Date: 2010-02-03T16:51:13
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2372295461cdcf2b479cc7cda6be083993d9ddae
Modified files:
pidgin/gtkdebug.c
ChangeLog:
Use a stock icon for 'Filter' in debug window. Closes #9150.
-------------- next part --------------
============================================================
--- pidgin/gtkdebug.c bb0222df5693ebda1e84f3dad8fabc2ba9d53a6c
+++ pidgin/gtkdebug.c a8218764b4e35deb42cda7ac2b18469d15d3c88c
@@ -766,11 +766,12 @@ debug_window_new(void)
gtk_toolbar_insert_space(GTK_TOOLBAR(toolbar), -1);
/* regex toggle button */
+ image = gtk_image_new_from_stock(GTK_STOCK_FIND, GTK_ICON_SIZE_MENU);
win->filter =
gtk_toolbar_append_element(GTK_TOOLBAR(toolbar),
GTK_TOOLBAR_CHILD_TOGGLEBUTTON,
NULL, _("Filter"), _("Filter"),
- NULL, NULL,
+ NULL, image,
G_CALLBACK(regex_filter_toggled_cb),
win);
/* we purposely disable the toggle button here in case
More information about the Commits
mailing list