Mercurial > pidgin
diff src/gtkdebug.c @ 6009:5cd7a10c6ade
[gaim-migrate @ 6457]
Renamed setup_stock() to gaim_gtk_stock_init(), to be more compliant with
the rest of the naming schemes. We now initialize it before registering the
debug stuff, so the debug window can use our stock icons. Also, added a
Pause stock icon, and used it in the debug window.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Fri, 04 Jul 2003 00:04:07 +0000 |
| parents | 059d95c67cda |
| children | 538c522e36e1 |
line wrap: on
line diff
--- a/src/gtkdebug.c Thu Jul 03 23:40:10 2003 +0000 +++ b/src/gtkdebug.c Fri Jul 04 00:04:07 2003 +0000 @@ -27,6 +27,7 @@ #include "gtkdebug.h" #include "gtkimhtml.h" +#include "stock.h" #include "ui.h" @@ -174,10 +175,8 @@ gtk_toolbar_insert_space(GTK_TOOLBAR(toolbar), -1); /* Pause */ - gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), - GTK_TOOLBAR_CHILD_TOGGLEBUTTON, NULL, - _("Pause"), NULL, NULL, - NULL, G_CALLBACK(pause_cb), win); + gtk_toolbar_insert_stock(GTK_TOOLBAR(toolbar), GAIM_STOCK_PAUSE, + NULL, NULL, G_CALLBACK(pause_cb), win, -1); /* Timestamps */ button = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar),
