Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
6008:35679a3f2bcc | 6009:5cd7a10c6ade |
---|---|
25 #include "prefs.h" | 25 #include "prefs.h" |
26 #include "util.h" | 26 #include "util.h" |
27 | 27 |
28 #include "gtkdebug.h" | 28 #include "gtkdebug.h" |
29 #include "gtkimhtml.h" | 29 #include "gtkimhtml.h" |
30 #include "stock.h" | |
30 | 31 |
31 #include "ui.h" | 32 #include "ui.h" |
32 | 33 |
33 extern int opt_debug; | 34 extern int opt_debug; |
34 | 35 |
172 NULL, NULL, G_CALLBACK(clear_cb), win, -1); | 173 NULL, NULL, G_CALLBACK(clear_cb), win, -1); |
173 | 174 |
174 gtk_toolbar_insert_space(GTK_TOOLBAR(toolbar), -1); | 175 gtk_toolbar_insert_space(GTK_TOOLBAR(toolbar), -1); |
175 | 176 |
176 /* Pause */ | 177 /* Pause */ |
177 gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | 178 gtk_toolbar_insert_stock(GTK_TOOLBAR(toolbar), GAIM_STOCK_PAUSE, |
178 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, NULL, | 179 NULL, NULL, G_CALLBACK(pause_cb), win, -1); |
179 _("Pause"), NULL, NULL, | |
180 NULL, G_CALLBACK(pause_cb), win); | |
181 | 180 |
182 /* Timestamps */ | 181 /* Timestamps */ |
183 button = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | 182 button = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), |
184 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, | 183 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, |
185 NULL, _("Timestamps"), NULL, NULL, | 184 NULL, _("Timestamps"), NULL, NULL, |