summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMoritz Bruder <[email protected]>2017-04-12 18:27:06 +0200
committerMoritz Bruder <[email protected]>2017-04-18 22:46:57 +0200
commit5661e088e300173c64331c5350710b69774b4a99 (patch)
tree97f32907e9dc1439358b45a36c2705a6aa179616 /data
parent9c690f07978f2db1a8bd157d78c8dbb330fcedee (diff)
downloadmate-panel-5661e088e300173c64331c5350710b69774b4a99.tar.bz2
mate-panel-5661e088e300173c64331c5350710b69774b4a99.tar.xz
Run dialog: Allow changing history size
A key has been added to the gsettings schema that controls history size. The code of the run dialog has been changed to use that key.
Diffstat (limited to 'data')
-rw-r--r--data/org.mate.panel.gschema.xml.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/data/org.mate.panel.gschema.xml.in b/data/org.mate.panel.gschema.xml.in
index 241af62e..c58f6e19 100644
--- a/data/org.mate.panel.gschema.xml.in
+++ b/data/org.mate.panel.gschema.xml.in
@@ -23,7 +23,12 @@
<key name="history-mate-run" type="as">
<default>[]</default>
<summary>History for "Run Application" dialog</summary>
- <description>This is the list of commands used in "Run Application" dialog.</description>
+ <description>This is the list of commands used in "Run Application" dialog. The commands are sorted descendingly by recency (e.g., most recent command comes first).</description>
+ </key>
+ <key name="history-max-size-mate-run" type="u">
+ <default>10</default>
+ <summary>Maximum history size for "Run Application" dialog</summary>
+ <description>Controls the maximum size of the history of the "Run Application" dialog. A value of 0 will disable the history.</description>
</key>
<key name="toplevel-id-list" type="as">
<default>[]</default>