diff options
author | Guillaume Maudoux <layus.on@gmail.com> | 2019-06-13 21:11:56 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-06-13 21:11:56 +0000 |
commit | 76b2f97602b70b48396b026cdc02234d9f83dc06 (patch) | |
tree | baff9212118b1eef149bb85d271f1c7791b23a2f /gtk/ui | |
parent | 2dfda67e4a30a270430ac3498a76e3309faa504c (diff) | |
download | gtk+-76b2f97602b70b48396b026cdc02234d9f83dc06.tar.gz |
PrintUnixDialog: Slightly ease page range entry
Page ranges entry can now be focused directly, and will automatically
select the page ranges button when doing so.
This avoids the sometimes counter-intuitive previous behavior where the
entry was automatically focused when toggling the radio button, but the
user may still find themselves clicking uselessly in the text entry
because they scheduled it in their mental model.
Diffstat (limited to 'gtk/ui')
-rw-r--r-- | gtk/ui/gtkprintunixdialog.ui | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ui/gtkprintunixdialog.ui b/gtk/ui/gtkprintunixdialog.ui index bacfd31e07..ef905ecdbf 100644 --- a/gtk/ui/gtkprintunixdialog.ui +++ b/gtk/ui/gtkprintunixdialog.ui @@ -225,11 +225,11 @@ </child> <child> <object class="GtkEntry" id="page_range_entry"> - <property name="sensitive">0</property> <property name="can-focus">1</property> <property name="tooltip-text" translatable="yes">Specify one or more page ranges, e.g. 1–3, 7, 11</property> <property name="activates-default">1</property> + <signal name="notify::has-focus" handler="page_range_entry_focus_changed" swapped="no"/> <child internal-child="accessible"> <object class="AtkObject" id="page_range_entry-atkobject"> <property name="AtkObject::accessible-name" translatable="yes">Pages</property> |