gtk/gtkfilechooserdefault.c set alternative button order for overwrite

2008-03-13  Sven Neumann  <sven@gimp.org>

	* gtk/gtkfilechooserdefault.c
	* gtk/gtkprintunixdialog.c: set alternative button order for
	overwrite confirmation dialogs (bug #522191).

svn path=/trunk/; revision=19866
This commit is contained in:
Sven Neumann
2008-03-13 14:09:02 +00:00
committed by Sven Neumann
parent c59ceab0fc
commit 04466bac87
3 changed files with 17 additions and 2 deletions

View File

@ -365,6 +365,10 @@ overwrite_confirmation_dialog (GtkPrintUnixDialog *print_dialog,
_("_Replace"),
GTK_STOCK_PRINT,
GTK_RESPONSE_ACCEPT);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_ACCEPT,
GTK_RESPONSE_CANCEL,
-1);
gtk_dialog_set_default_response (GTK_DIALOG (dialog),
GTK_RESPONSE_ACCEPT);