[Xfce4-commits] r29402 - in installit/branches/installer-single-file: . i2t
Jannis Pohlmann
jannis at xfce.org
Tue Jan 27 01:53:45 CET 2009
Author: jannis
Date: 2009-01-27 00:53:45 +0000 (Tue, 27 Jan 2009)
New Revision: 29402
Modified:
installit/branches/installer-single-file/ChangeLog
installit/branches/installer-single-file/i2t/i2t-wizard.c
Log:
* i2t/i2t-wizard.c: Set "can-default" property of the next button. Use
GTK_STOCK_APPLY icon for the done button.
Modified: installit/branches/installer-single-file/ChangeLog
===================================================================
--- installit/branches/installer-single-file/ChangeLog 2009-01-26 23:15:51 UTC (rev 29401)
+++ installit/branches/installer-single-file/ChangeLog 2009-01-27 00:53:45 UTC (rev 29402)
@@ -1,3 +1,8 @@
+2009-01-27 Enrico Tröger <enrico at xfce.org>
+
+ * i2t/i2t-wizard.c: Set "can-default" property of the next button. Use
+ GTK_STOCK_APPLY icon for the done button.
+
2009-01-26 Enrico Tröger <enrico at xfce.org>
* i2t/i2t-wizard.c: Use GTK_STOCK_GO_BACK and _GO_FORWARD icons for the
Modified: installit/branches/installer-single-file/i2t/i2t-wizard.c
===================================================================
--- installit/branches/installer-single-file/i2t/i2t-wizard.c 2009-01-26 23:15:51 UTC (rev 29401)
+++ installit/branches/installer-single-file/i2t/i2t-wizard.c 2009-01-27 00:53:45 UTC (rev 29402)
@@ -84,13 +84,16 @@
gtk_widget_show (wizard->button_prev);
wizard->button_next = gtk_button_new_with_mnemonic ("_Next");
+ g_object_set (wizard->button_next, "can-default", TRUE, NULL);
gtk_button_set_image (GTK_BUTTON (wizard->button_next), gtk_image_new_from_stock (GTK_STOCK_GO_FORWARD, GTK_ICON_SIZE_BUTTON));
gtk_dialog_add_action_widget (GTK_DIALOG (wizard), wizard->button_next, I2T_RESPONSE_NEXT);
gtk_widget_show (wizard->button_next);
gtk_dialog_set_default_response (GTK_DIALOG (wizard), I2T_RESPONSE_NEXT);
- wizard->button_done = gtk_dialog_add_button (GTK_DIALOG (wizard), "_Done", I2T_RESPONSE_DONE);
+ wizard->button_done = gtk_button_new_with_mnemonic ("_Done");
+ gtk_button_set_image (GTK_BUTTON (wizard->button_done), gtk_image_new_from_stock (GTK_STOCK_APPLY, GTK_ICON_SIZE_BUTTON));
+ gtk_dialog_add_action_widget (GTK_DIALOG (wizard), wizard->button_done, I2T_RESPONSE_DONE);
gtk_widget_hide (wizard->button_done);
}
More information about the Xfce4-commits
mailing list