diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-11-02 20:02:44 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-11-02 20:02:44 +0000 |
commit | 782107bc11110ca90c2046f6b6f0546594254115 (patch) | |
tree | af258c13972d41a8714af029c69bf9d0b7a0759a /gtk/gtkgamma.c | |
parent | 1b1b2e82641acab26e1eb7445e21b49e97346180 (diff) | |
download | gtk+-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/gtkgamma.c')
-rw-r--r-- | gtk/gtkgamma.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkgamma.c b/gtk/gtkgamma.c index 2eb3c4e795..eb5ab659d3 100644 --- a/gtk/gtkgamma.c +++ b/gtk/gtkgamma.c @@ -413,6 +413,12 @@ button_clicked_callback (GtkWidget *w, gpointer data) /* fill in action area: */ hbox = GTK_DIALOG (c->gamma_dialog)->action_area; + + button = gtk_button_new_with_label (_("Cancel")); + gtk_signal_connect (GTK_OBJECT (button), "clicked", + (GtkSignalFunc) gamma_cancel_callback, c); + gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 0); + gtk_widget_show (button); button = gtk_button_new_with_label (_("OK")); GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT); @@ -422,12 +428,6 @@ button_clicked_callback (GtkWidget *w, gpointer data) gtk_widget_grab_default (button); gtk_widget_show (button); - button = gtk_button_new_with_label (_("Cancel")); - gtk_signal_connect (GTK_OBJECT (button), "clicked", - (GtkSignalFunc) gamma_cancel_callback, c); - gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 0); - gtk_widget_show (button); - gtk_widget_show (c->gamma_dialog); } } |