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:

committed by
Sven Neumann

parent
2d38ab6a43
commit
8c83ddc063
@ -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);
|
||||
|
Reference in New Issue
Block a user