Applied a patch from Patrice Tremblay that makes (almost) all dialogs obey

2005-02-08  Sven Neumann  <sven@gimp.org>

	Applied a patch from Patrice Tremblay that makes (almost) all
	dialogs obey the "gtk-alternative-button-order" setting
	(bug #166678). Changes too many files to list them all...
This commit is contained in:
Sven Neumann
2005-02-08 20:40:33 +00:00
committed by Sven Neumann
parent 2d38ab6a43
commit 8c83ddc063
159 changed files with 834 additions and 0 deletions

View File

@ -108,6 +108,12 @@ make_default_dialog (const gchar *title)
data->ok = gtk_dialog_add_button (GTK_DIALOG (data->dialog),
GTK_STOCK_OK, GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (data->dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_APPLY,
GTK_RESPONSE_CANCEL,
-1);
g_signal_connect (data->dialog, "response",
G_CALLBACK (dialog_response),
data);