diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 6 | ||||
-rw-r--r-- | data/org.ayatana.common.gschema.xml.in | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt new file mode 100644 index 0000000..7f12337 --- /dev/null +++ b/data/CMakeLists.txt @@ -0,0 +1,6 @@ +# org.ayatana.common.gschema.xml + +find_package(GSettings) +set(ENV{LC_ALL} "C") +execute_process(COMMAND intltool-merge -quiet --xml-style --utf8 --no-translations "${CMAKE_CURRENT_SOURCE_DIR}/org.ayatana.common.gschema.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/org.ayatana.common.gschema.xml") +add_schema("org.ayatana.common.gschema.xml") diff --git a/data/org.ayatana.common.gschema.xml.in b/data/org.ayatana.common.gschema.xml.in new file mode 100644 index 0000000..30c5e03 --- /dev/null +++ b/data/org.ayatana.common.gschema.xml.in @@ -0,0 +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"/> + <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> + </key> + </schema> +</schemalist> |