forked from AuroraMiddleware/gtk
Improve focus handling in the print dialog
Move the focus to the range entry when selecting the "Pages".
This commit is contained in:
parent
954552a4cf
commit
45ac4f2523
@ -1695,6 +1695,9 @@ update_range_sensitivity (GtkWidget *button,
|
|||||||
active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
|
active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
|
||||||
|
|
||||||
gtk_widget_set_sensitive (range, active);
|
gtk_widget_set_sensitive (range, active);
|
||||||
|
|
||||||
|
if (active)
|
||||||
|
gtk_widget_grab_focus (range);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user