Author: jannis Date: 2009-01-26 22:39:55 +0000 (Mon, 26 Jan 2009) New Revision: 29400
Modified: installit/branches/installer-single-file/ChangeLog installit/branches/installer-single-file/i2t/i2t-wizard.c Log: * i2t/i2t-wizard.c: Use GTK_STOCK_GO_BACK and _GO_FORWARD icons for the previous/next buttons in the wizard. Modified: installit/branches/installer-single-file/ChangeLog =================================================================== --- installit/branches/installer-single-file/ChangeLog 2009-01-26 22:20:28 UTC (rev 29399) +++ installit/branches/installer-single-file/ChangeLog 2009-01-26 22:39:55 UTC (rev 29400) @@ -1,3 +1,8 @@ +2009-01-26 Enrico Tröger <enr...@xfce.org> + + * i2t/i2t-wizard.c: Use GTK_STOCK_GO_BACK and _GO_FORWARD icons for the + previous/next buttons in the wizard. + 2009-01-26 Jannis Pohlmann <jan...@xfce.org> * i2t-generate/InstallIt/Generators/Main.rb, Modified: installit/branches/installer-single-file/i2t/i2t-wizard.c =================================================================== --- installit/branches/installer-single-file/i2t/i2t-wizard.c 2009-01-26 22:20:28 UTC (rev 29399) +++ installit/branches/installer-single-file/i2t/i2t-wizard.c 2009-01-26 22:39:55 UTC (rev 29400) @@ -78,13 +78,18 @@ wizard->button_cancel = gtk_dialog_add_button (GTK_DIALOG (wizard), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); - wizard->button_prev = gtk_dialog_add_button (GTK_DIALOG (wizard), "_Previous", I2T_RESPONSE_PREV); + wizard->button_prev = gtk_button_new_with_mnemonic ("_Previous"); + gtk_button_set_image (GTK_BUTTON (wizard->button_prev), gtk_image_new_from_stock (GTK_STOCK_GO_BACK, GTK_ICON_SIZE_BUTTON)); + gtk_dialog_add_action_widget (GTK_DIALOG (wizard), wizard->button_prev, I2T_RESPONSE_PREV); gtk_widget_show (wizard->button_prev); - wizard->button_next = gtk_dialog_add_button (GTK_DIALOG (wizard), "_Next", I2T_RESPONSE_NEXT); - gtk_dialog_set_default_response (GTK_DIALOG (wizard), I2T_RESPONSE_NEXT); + wizard->button_next = gtk_button_new_with_mnemonic ("_Next"); + 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); gtk_widget_hide (wizard->button_done); } _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits