aboutsummaryrefslogtreecommitdiff
path: root/data/org.ayatana.common.gschema.xml.in
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-06-16 22:54:43 +0200
committerRobert Tari <robert@tari.in>2021-06-21 02:33:06 +0200
commit33cd95e61dcb5947e7671a8eb21d67014376495e (patch)
tree8b8fc62297a95f6f5a8bbc465f003c8e51733125 /data/org.ayatana.common.gschema.xml.in
parent4b6ef9d6039078d5ff24ed7e3dd642e2b6faa9fc (diff)
downloadlibayatana-common-33cd95e61dcb5947e7671a8eb21d67014376495e.tar.gz
libayatana-common-33cd95e61dcb5947e7671a8eb21d67014376495e.tar.bz2
libayatana-common-33cd95e61dcb5947e7671a8eb21d67014376495e.zip
Skip elipsizing if max characters are 0
- data/org.ayatana.common.gschema.xml.in: Set min value to 0 + update description - src/utils.c: Include hadling max allowed length of 0 - tests/CMakeLists.txt: Compile schema locally for testing - tests/tst_utils.cpp: Include handling max allowed length of 0 - po/ayatana-common.pot: Update translation strings - po/*.po: Update translation strings fixes https://github.com/AyatanaIndicators/libayatana-common/issues/29
Diffstat (limited to 'data/org.ayatana.common.gschema.xml.in')
-rw-r--r--data/org.ayatana.common.gschema.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/org.ayatana.common.gschema.xml.in b/data/org.ayatana.common.gschema.xml.in
index 30c5e03..d8da3cd 100644
--- a/data/org.ayatana.common.gschema.xml.in
+++ b/data/org.ayatana.common.gschema.xml.in
@@ -1,10 +1,10 @@
<schemalist>
<schema gettext-domain="ayatana-common" id="org.ayatana.common" path="/org/ayatana/common/">
<key name="max-menu-text-length" type="u">
- <range min="1" max="100"/>
+ <range min="0" max="100"/>
<default>50</default>
<_summary>Maximum menu text length</_summary>
- <_description>The number of characters to show in dynamic menu items before the text is ellipsized.</_description>
+ <_description>The number of characters to show in dynamic menu items before the text is ellipsized. Set to 0 to leave unchanged.</_description>
</key>
</schema>
</schemalist>