Mercurial > pidgin
changeset 28966:f59dd3e9875d
Use a stock icon for 'Filter' in debug window. Closes #9150.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 03 Feb 2010 16:51:13 +0000 |
parents | 0278f0e28504 |
children | 36bae5f00d32 |
files | pidgin/gtkdebug.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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