summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-30 15:14:28 +0100
committerStefano Karapetsas <[email protected]>2014-01-30 15:14:28 +0100
commit99c48b1ee683814d250e06da860d484b408866a5 (patch)
tree8f9747890141ecb2239159bba04f51e84703bc5a /data
parent50c379c71b53373aabae771aa205ee68cc554747 (diff)
downloadeom-99c48b1ee683814d250e06da860d484b408866a5.tar.bz2
eom-99c48b1ee683814d250e06da860d484b408866a5.tar.xz
Add random mode in slideshow mode
Closes #20 https://github.com/mate-desktop/eom/issues/20
Diffstat (limited to 'data')
-rw-r--r--data/eom-preferences-dialog.ui17
-rw-r--r--data/org.mate.eom.gschema.xml.in.in5
2 files changed, 21 insertions, 1 deletions
diff --git a/data/eom-preferences-dialog.ui b/data/eom-preferences-dialog.ui
index 6509845..fff0a3e 100644
--- a/data/eom-preferences-dialog.ui
+++ b/data/eom-preferences-dialog.ui
@@ -523,6 +523,21 @@
</packing>
</child>
<child>
+ <object class="GtkCheckButton" id="random_check">
+ <property name="label" translatable="yes">_Random sequence</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkCheckButton" id="loop_check">
<property name="label" translatable="yes">_Loop sequence</property>
<property name="visible">True</property>
@@ -534,7 +549,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">1</property>
+ <property name="position">2</property>
</packing>
</child>
</object>
diff --git a/data/org.mate.eom.gschema.xml.in.in b/data/org.mate.eom.gschema.xml.in.in
index 80b0369..92ede90 100644
--- a/data/org.mate.eom.gschema.xml.in.in
+++ b/data/org.mate.eom.gschema.xml.in.in
@@ -53,6 +53,11 @@
</key>
</schema>
<schema id="org.mate.eom.full-screen" path="/org/mate/eom/full-screen/">
+ <key name="random" type="b">
+ <default>false</default>
+ <_summary>Randomize the image sequence</_summary>
+ <_description>Whether the sequence of images should be shown in an random loop.</_description>
+ </key>
<key name="loop" type="b">
<default>true</default>
<_summary>Loop through the image sequence</_summary>