From fb1aebac81ca3d947f186a0efa0cc7ded608fe9e Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 11 Sep 2022 14:21:06 +0200 Subject: data/: Fix translating the indicator's .gschema.xml file. --- data/CMakeLists.txt | 7 ---- data/org.ayatana.indicator.session.gschema.xml | 41 +++++++++++++++++++++++ data/org.ayatana.indicator.session.gschema.xml.in | 41 ----------------------- 3 files changed, 41 insertions(+), 48 deletions(-) create mode 100644 data/org.ayatana.indicator.session.gschema.xml delete mode 100644 data/org.ayatana.indicator.session.gschema.xml.in (limited to 'data') 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..2de9a44 --- /dev/null +++ b/data/org.ayatana.indicator.session.gschema.xml @@ -0,0 +1,41 @@ + + + + false + Suppress the dialog to confirm logout, restart and shutdown action + Whether or not to show confirmation dialogs for logout, restart and shutdown actions. + + + false + Remove the Log Out item from the session menu + Makes it so that the logout button doesn’t show in the session menu. + + + false + Remove the Restart item from the session menu. + Makes it so that the restart button doesn’t show in the session menu. + + + false + Remove the shutdown item from the session menu. + Makes it so that the shutdown button doesn’t show in the session menu. + + + false + Force the visibility of Restart item in the session menu + Makes it so that the restart shows in the session menu even in the environments where it should not show. + + + false + Determine the visibility of the User's real name on the panel + Allow for the Removal of the users name from the panel + + + true + Show the list of users + Allow for the user list to be hidden by the user. + + + + + 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 @@ - - - - false - <_summary>Suppress the dialog to confirm logout, restart and shutdown action - <_description>Whether or not to show confirmation dialogs for logout, restart and shutdown actions. - - - false - <_summary>Remove the Log Out item from the session menu - <_description>Makes it so that the logout button doesn’t show in the session menu. - - - false - <_summary>Remove the Restart item from the session menu. - <_description>Makes it so that the restart button doesn’t show in the session menu. - - - false - <_summary>Remove the shutdown item from the session menu. - <_description>Makes it so that the shutdown button doesn’t show in the session menu. - - - false - <_summary>Force the visibility of Restart item in the session menu - <_description>Makes it so that the restart shows in the session menu even in the environments where it should not show. - - - false - Determine the visibility of the User's real name on the panel - Allow for the Removal of the users name from the panel - - - true - Show the list of users - Allow for the user list to be hidden by the user. - - - - - -- cgit v1.2.3