diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-10-24 08:30:10 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-10-24 08:34:13 -0400 |
commit | f32ec2e4be9e16552e8ffdf967291004859a2a2a (patch) | |
tree | 6a78e89241b77f7e9c175fb8203d13ba5ba10182 /demos | |
parent | 1aa3000ae6bb0ebd1eff42c8c9af21b0ef5e9c57 (diff) | |
download | gtk+-f32ec2e4be9e16552e8ffdf967291004859a2a2a.tar.gz |
widget-factory: Add mnemonics in the prefs dialog
This helps testing the mmemonic label display in the inspector,
and is just good practice.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/widget-factory/widget-factory.ui | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui index d453dbce15..9fa555599e 100644 --- a/demos/widget-factory/widget-factory.ui +++ b/demos/widget-factory/widget-factory.ui @@ -3876,7 +3876,9 @@ bad things might happen.</property> <property name="visible">True</property> <property name="halign">end</property> <property name="valign">baseline</property> - <property name="label">Details</property> + <property name="label">_Details</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">details_entry</property> <style> <class name="dim-label"/> </style> @@ -3889,7 +3891,7 @@ bad things might happen.</property> </packing> </child> <child> - <object class="GtkEntry"> + <object class="GtkEntry" id="details_entry"> <property name="visible">True</property> <property name="halign">fill</property> <property name="valign">baseline</property> @@ -3906,7 +3908,9 @@ bad things might happen.</property> <property name="visible">True</property> <property name="halign">end</property> <property name="valign">baseline</property> - <property name="label">More Details</property> + <property name="label">More D_etails</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">more_details_entry</property> <style> <class name="dim-label"/> </style> @@ -3919,7 +3923,7 @@ bad things might happen.</property> </packing> </child> <child> - <object class="GtkEntry"> + <object class="GtkEntry" id="more_details_entry"> <property name="visible">True</property> <property name="halign">fill</property> <property name="valign">baseline</property> @@ -3936,7 +3940,9 @@ bad things might happen.</property> <property name="visible">True</property> <property name="halign">end</property> <property name="valign">baseline</property> - <property name="label">Level</property> + <property name="label">_Level</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">level_scale</property> <style> <class name="dim-label"/> </style> @@ -3949,7 +3955,7 @@ bad things might happen.</property> </packing> </child> <child> - <object class="GtkScale"> + <object class="GtkScale" id="level_scale"> <property name="visible">True</property> <property name="halign">fill</property> <property name="valign">baseline</property> @@ -3968,7 +3974,9 @@ bad things might happen.</property> <property name="visible">True</property> <property name="halign">end</property> <property name="valign">baseline</property> - <property name="label">Mode</property> + <property name="label">_Mode</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">mode_switch</property> <style> <class name="dim-label"/> </style> @@ -3981,7 +3989,7 @@ bad things might happen.</property> </packing> </child> <child> - <object class="GtkSwitch"> + <object class="GtkSwitch" id="mode_switch"> <property name="visible">True</property> <property name="halign">start</property> <property name="valign">baseline</property> |