Mercurial > pidgin.yaz
changeset 6094:538c522e36e1
[gaim-migrate @ 6553]
I broke the Pause button a few days ago. Now it's fixed.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 11 Jul 2003 22:13:57 +0000 |
parents | 13a37cacd10b |
children | 00a251ad38af |
files | src/gtkdebug.c |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkdebug.c Fri Jul 11 22:00:24 2003 +0000 +++ b/src/gtkdebug.c Fri Jul 11 22:13:57 2003 +0000 @@ -125,6 +125,7 @@ GtkWidget *toolbar; GtkWidget *sw; GtkWidget *button; + GtkWidget *image; int width, height; win = g_new0(DebugWindow, 1); @@ -175,8 +176,11 @@ gtk_toolbar_insert_space(GTK_TOOLBAR(toolbar), -1); /* Pause */ - gtk_toolbar_insert_stock(GTK_TOOLBAR(toolbar), GAIM_STOCK_PAUSE, - NULL, NULL, G_CALLBACK(pause_cb), win, -1); + image = gtk_image_new_from_stock(GAIM_STOCK_PAUSE, GTK_ICON_SIZE_MENU); + button = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), + GTK_TOOLBAR_CHILD_TOGGLEBUTTON, + NULL, _("Pause"), NULL, NULL, + image, G_CALLBACK(pause_cb), win); /* Timestamps */ button = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar),