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
This commit is contained in:
committed by
Yevgen Muntyan
parent
0578f2dba9
commit
6003bcbd96
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user