comparison pidgin/gtkdebug.c @ 31130:1830fa548302

propagate from branch 'im.pidgin.pidgin' (head b0098e2250f135d121960d8152e144e7e344125e) to branch 'im.pidgin.cpw.qulogic.msnp16' (head 03b7207e3af73e90ff9aea7c633dec9dd9d3ed1a)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 06 Feb 2010 05:15:35 +0000
parents f59dd3e9875d
children 93f613ccd002 a32da45d80ba
comparison
equal deleted inserted replaced
31129:b27d2e8f137e 31130:1830fa548302
764 #ifdef HAVE_REGEX_H 764 #ifdef HAVE_REGEX_H
765 /* regex stuff */ 765 /* regex stuff */
766 gtk_toolbar_insert_space(GTK_TOOLBAR(toolbar), -1); 766 gtk_toolbar_insert_space(GTK_TOOLBAR(toolbar), -1);
767 767
768 /* regex toggle button */ 768 /* regex toggle button */
769 image = gtk_image_new_from_stock(GTK_STOCK_FIND, GTK_ICON_SIZE_MENU);
769 win->filter = 770 win->filter =
770 gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), 771 gtk_toolbar_append_element(GTK_TOOLBAR(toolbar),
771 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, 772 GTK_TOOLBAR_CHILD_TOGGLEBUTTON,
772 NULL, _("Filter"), _("Filter"), 773 NULL, _("Filter"), _("Filter"),
773 NULL, NULL, 774 NULL, image,
774 G_CALLBACK(regex_filter_toggled_cb), 775 G_CALLBACK(regex_filter_toggled_cb),
775 win); 776 win);
776 /* we purposely disable the toggle button here in case 777 /* we purposely disable the toggle button here in case
777 * /purple/gtk/debug/expression has an empty string. If it does not have 778 * /purple/gtk/debug/expression has an empty string. If it does not have
778 * an empty string, the change signal will get called and make the 779 * an empty string, the change signal will get called and make the