diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-04-07 23:51:52 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-04-07 23:51:52 -0400 |
commit | 45ac4f252315da812125f450e9004decfed21e92 (patch) | |
tree | a8ed5bc072fae129196c440d33a7ae08cbda37b4 /gtk/gtkprintunixdialog.c | |
parent | 954552a4cf5b0445ecc860ee1523df915c769f1e (diff) | |
download | gtk+-45ac4f252315da812125f450e9004decfed21e92.tar.gz |
Improve focus handling in the print dialog
Move the focus to the range entry when selecting the "Pages".
Diffstat (limited to 'gtk/gtkprintunixdialog.c')
-rw-r--r-- | gtk/gtkprintunixdialog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index 21c1efed69..e88852e456 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -1695,6 +1695,9 @@ update_range_sensitivity (GtkWidget *button, active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)); gtk_widget_set_sensitive (range, active); + + if (active) + gtk_widget_grab_focus (range); } static void |