aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt7
-rw-r--r--data/org.ayatana.indicator.session.gschema.xml41
-rw-r--r--data/org.ayatana.indicator.session.gschema.xml.in41
3 files changed, 41 insertions, 48 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 9d7fd2e..b7f4f66 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -3,13 +3,6 @@
##
set (SCHEMA_NAME "org.ayatana.indicator.session.gschema.xml")
-set (SCHEMA_FILE "${CMAKE_CURRENT_BINARY_DIR}/${SCHEMA_NAME}")
-set (SCHEMA_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME}.in")
-
-# generate the .xml file using intltool
-find_package(Intltool REQUIRED)
-set (ENV{LC_ALL} "C")
-intltool_merge_translations("${SCHEMA_FILE_IN}" "${SCHEMA_FILE}" ALL UTF8 STYLE "xml" NO_TRANSLATIONS)
# let GSettings do the rest
find_package(GSettings REQUIRED)
diff --git a/data/org.ayatana.indicator.session.gschema.xml b/data/org.ayatana.indicator.session.gschema.xml
new file mode 100644
index 0000000..9b1864e
--- /dev/null
+++ b/data/org.ayatana.indicator.session.gschema.xml
@@ -0,0 +1,41 @@
+<schemalist>
+ <schema gettext-domain="ayatana-indicator-session" id="org.ayatana.indicator.session" path="/org/ayatana/indicator/session/">
+ <key name="suppress-logout-restart-shutdown" type="b">
+ <default>false</default>
+ <summary>Suppress the dialog to confirm logout, restart and shutdown action</summary>
+ <description>Whether or not to show confirmation dialogs for logout, restart and shutdown actions.</description>
+ </key>
+ <key name="suppress-logout-menuitem" type="b">
+ <default>false</default>
+ <summary>Remove the Log Out item from the session menu</summary>
+ <description>Makes it so that the logout button doesn’t show in the session menu.</description>
+ </key>
+ <key name="suppress-restart-menuitem" type="b">
+ <default>false</default>
+ <summary>Remove the Restart item from the session menu.</summary>
+ <description>Makes it so that the restart button doesn’t show in the session menu.</description>
+ </key>
+ <key name="suppress-shutdown-menuitem" type="b">
+ <default>false</default>
+ <summary>Remove the shutdown item from the session menu.</summary>
+ <description>Makes it so that the shutdown button doesn’t show in the session menu.</description>
+ </key>
+ <key name="force-restart-menuitem" type="b">
+ <default>false</default>
+ <summary>Force the visibility of Restart item in the session menu</summary>
+ <description>Makes it so that the restart shows in the session menu even in the environments where it should not show.</description>
+ </key>
+ <key type="b" name="show-real-name-on-panel">
+ <default>false</default>
+ <summary>Determine the visibility of the User's real name on the panel</summary>
+ <description>Allow for the Removal of the users name from the panel</description>
+ </key>
+ <key type="b" name="user-show-menu">
+ <default>true</default>
+ <summary>Show the list of users</summary>
+ <description>Allow for the user list to be hidden by the user.</description>
+ </key>
+
+ </schema>
+
+</schemalist>
diff --git a/data/org.ayatana.indicator.session.gschema.xml.in b/data/org.ayatana.indicator.session.gschema.xml.in
deleted file mode 100644
index c46a738..0000000
--- a/data/org.ayatana.indicator.session.gschema.xml.in
+++ /dev/null
@@ -1,41 +0,0 @@
-<schemalist>
- <schema id="org.ayatana.indicator.session" path="/org/ayatana/indicator/session/">
- <key name="suppress-logout-restart-shutdown" type="b">
- <default>false</default>
- <_summary>Suppress the dialog to confirm logout, restart and shutdown action</_summary>
- <_description>Whether or not to show confirmation dialogs for logout, restart and shutdown actions.</_description>
- </key>
- <key name="suppress-logout-menuitem" type="b">
- <default>false</default>
- <_summary>Remove the Log Out item from the session menu</_summary>
- <_description>Makes it so that the logout button doesn’t show in the session menu.</_description>
- </key>
- <key name="suppress-restart-menuitem" type="b">
- <default>false</default>
- <_summary>Remove the Restart item from the session menu.</_summary>
- <_description>Makes it so that the restart button doesn’t show in the session menu.</_description>
- </key>
- <key name="suppress-shutdown-menuitem" type="b">
- <default>false</default>
- <_summary>Remove the shutdown item from the session menu.</_summary>
- <_description>Makes it so that the shutdown button doesn’t show in the session menu.</_description>
- </key>
- <key name="force-restart-menuitem" type="b">
- <default>false</default>
- <_summary>Force the visibility of Restart item in the session menu</_summary>
- <_description>Makes it so that the restart shows in the session menu even in the environments where it should not show.</_description>
- </key>
- <key type="b" name="show-real-name-on-panel">
- <default>false</default>
- <summary>Determine the visibility of the User's real name on the panel</summary>
- <description>Allow for the Removal of the users name from the panel</description>
- </key>
- <key type="b" name="user-show-menu">
- <default>true</default>
- <summary>Show the list of users</summary>
- <description>Allow for the user list to be hidden by the user.</description>
- </key>
-
- </schema>
-
-</schemalist>