summaryrefslogtreecommitdiff
path: root/gtk/gtkfontsel.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-11-02 20:02:44 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-11-02 20:02:44 +0000
commit782107bc11110ca90c2046f6b6f0546594254115 (patch)
treeaf258c13972d41a8714af029c69bf9d0b7a0759a /gtk/gtkfontsel.c
parent1b1b2e82641acab26e1eb7445e21b49e97346180 (diff)
downloadgdk-pixbuf-782107bc11110ca90c2046f6b6f0546594254115.tar.gz
Go to the GUP proposed ordering of buttons with [OK] in the lower right
Fri Nov 2 14:55:53 2001 Owen Taylor <otaylor@redhat.com> * gtk/{gtkcolorseldialog.c,gtkfilesel.c,gtkfontsel.c, gtkgamma.c,gtkmessagedialog.c}: Go to the GUP proposed ordering of buttons with [OK] in the lower right hand corner. Patch from Gregory Merchan, #56331.
Diffstat (limited to 'gtk/gtkfontsel.c')
-rw-r--r--gtk/gtkfontsel.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c
index 95c43472f..f9a67a88e 100644
--- a/gtk/gtkfontsel.c
+++ b/gtk/gtkfontsel.c
@@ -1040,22 +1040,21 @@ gtk_font_selection_dialog_init (GtkFontSelectionDialog *fontseldiag)
/* Create the action area */
fontseldiag->action_area = dialog->action_area;
-
- fontseldiag->ok_button = gtk_dialog_add_button (dialog,
- GTK_STOCK_OK,
- GTK_RESPONSE_OK);
- gtk_widget_grab_default (fontseldiag->ok_button);
-
+
+ fontseldiag->cancel_button = gtk_dialog_add_button (dialog,
+ GTK_STOCK_CANCEL,
+ GTK_RESPONSE_CANCEL);
+
fontseldiag->apply_button = gtk_dialog_add_button (dialog,
GTK_STOCK_APPLY,
GTK_RESPONSE_APPLY);
gtk_widget_hide (fontseldiag->apply_button);
+ fontseldiag->ok_button = gtk_dialog_add_button (dialog,
+ GTK_STOCK_OK,
+ GTK_RESPONSE_OK);
+ gtk_widget_grab_default (fontseldiag->ok_button);
- fontseldiag->cancel_button = gtk_dialog_add_button (dialog,
- GTK_STOCK_CANCEL,
- GTK_RESPONSE_CANCEL);
-
gtk_window_set_title (GTK_WINDOW (fontseldiag),
_("Font Selection"));