Commit 6003bcbd authored by Yevgen Muntyan's avatar Yevgen Muntyan Committed by Yevgen Muntyan

added alternative button order in Print and Page Setup dialogs.

2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtkprintunixdialog.c:
	* gtk/gtkpagesetupunixdialog.c: added alternative button order in
	Print and Page Setup dialogs.


svn path=/trunk/; revision=19126
parent 0578f2db
2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtkprintunixdialog.c:
* gtk/gtkpagesetupunixdialog.c: added alternative button order in
Print and Page Setup dialogs.
2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
* Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
......
......@@ -322,6 +322,10 @@ gtk_page_setup_unix_dialog_init (GtkPageSetupUnixDialog *dialog)
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_APPLY, GTK_RESPONSE_OK,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
}
......
......@@ -298,6 +298,11 @@ gtk_print_unix_dialog_init (GtkPrintUnixDialog *dialog)
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_PRINT, GTK_RESPONSE_OK,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_APPLY,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), GTK_RESPONSE_OK, FALSE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment