Improve focus handling in the print dialog

Move the focus to the range entry when selecting the "Pages".
This commit is contained in:
Matthias Clasen 2009-04-07 23:51:52 -04:00
parent 954552a4cf
commit 45ac4f2523

View File

@ -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