# HG changeset patch # User Sadrul Habib Chowdhury # Date 1265215873 0 # Node ID f59dd3e9875d00e4050f68ce508603a4a52efb8d # Parent 0278f0e28504900cadd8e1091d0500d91b15145b Use a stock icon for 'Filter' in debug window. Closes #9150. diff -r 0278f0e28504 -r f59dd3e9875d pidgin/gtkdebug.c --- a/pidgin/gtkdebug.c Wed Feb 03 16:38:32 2010 +0000 +++ b/pidgin/gtkdebug.c Wed Feb 03 16:51:13 2010 +0000 @@ -766,11 +766,12 @@ 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