diff options
author | Felix Riemann <friemann@gnome.org> | 2012-04-06 19:22:03 +0200 |
---|---|---|
committer | Felix Riemann <friemann@gnome.org> | 2012-04-06 19:22:03 +0200 |
commit | a8c7091fae2075adf0a8d66017736c52832d1126 (patch) | |
tree | 8da0ff2c5530e45116f8a68d1e98e09dbde15a94 /data/eog-preferences-dialog.ui | |
parent | 0815e9eb2232fc8734622d2254d64774aadecd62 (diff) | |
download | eog-a8c7091fae2075adf0a8d66017736c52832d1126.tar.gz |
Replace slideshow timeout spinbutton with a scale
This should make it easier for translators to handle this UI part
as the time unit is decoupled from the description.
https://bugzilla.gnome.org/show_bug.cgi?id=658127
Diffstat (limited to 'data/eog-preferences-dialog.ui')
-rw-r--r-- | data/eog-preferences-dialog.ui | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/data/eog-preferences-dialog.ui b/data/eog-preferences-dialog.ui index c979cc3d..c0148456 100644 --- a/data/eog-preferences-dialog.ui +++ b/data/eog-preferences-dialog.ui @@ -461,17 +461,17 @@ <property name="can_focus">False</property> <property name="spacing">6</property> <child> - <object class="GtkHBox" id="seconds_hbox"> + <object class="GtkBox" id="seconds_box"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="spacing">6</property> + <property name="orientation">vertical</property> <child> <object class="GtkLabel" id="label36"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes" context="PrefDlgSlideSwitchPrefix" comments="I18N: This sentence will be displayed before a GtkSpinButton to select a number of seconds in eog's preferences dialog. The context is applied to avoid ambiguity with possible similar translations. See bug 654548 for details.">_Switch image after:</property> + <property name="xalign">0</property> + <property name="label" translatable="yes" comments="I18N: This sentence will be displayed above a horizonzal scale to select a number of seconds in eog's preferences dialog.">_Time between images:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">seconds_spin</property> </object> <packing> <property name="expand">False</property> @@ -480,37 +480,32 @@ </packing> </child> <child> - <object class="GtkSpinButton" id="seconds_spin"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="invisible_char">•</property> - <property name="invisible_char_set">True</property> - <property name="adjustment">adjustment1</property> - <property name="climb_rate">1</property> - <property name="numeric">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label18"> + <object class="GtkAlignment" id="alignment6"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes" context="PrefDlgSlideSwitchPostfix" comments="I18N: This sentence will be displayed after a GtkSpinButton to select a number of seconds in eog's preferences dialog. The context is applied to avoid ambiguity with possible similar translations. See bug 654548 for details.">seconds</property> + <property name="left_padding">16</property> + <child> + <object class="GtkScale" id="seconds_scale"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="adjustment">adjustment1</property> + <property name="show_fill_level">True</property> + <property name="fill_level">100</property> + <property name="round_digits">0</property> + <property name="digits">0</property> + </object> + </child> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> - <property name="position">2</property> + <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> - <property name="fill">False</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> |