diff options
-rw-r--r-- | data/CMakeLists.txt | 7 | ||||
-rw-r--r-- | data/org.ayatana.indicator.notifications.gschema.xml (renamed from data/org.ayatana.indicator.notifications.gschema.xml.in) | 12 | ||||
-rw-r--r-- | po/POTFILES.in | 2 |
3 files changed, 7 insertions, 14 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index aa5dddd..c81ac7b 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -3,13 +3,6 @@ ## set (SCHEMA_NAME "org.ayatana.indicator.notifications.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.notifications.gschema.xml.in b/data/org.ayatana.indicator.notifications.gschema.xml index b85f14b..c0e4901 100644 --- a/data/org.ayatana.indicator.notifications.gschema.xml.in +++ b/data/org.ayatana.indicator.notifications.gschema.xml @@ -1,9 +1,9 @@ -<schemalist gettext-domain="@GETTEXT_PACKAGE@"> - <schema id="org.ayatana.indicator.notifications" path="/org/ayatana/indicator/notifications/"> +<schemalist> + <schema gettext-domain="ayatana-indicator-notifications" id="org.ayatana.indicator.notifications" path="/org/ayatana/indicator/notifications/"> <key name="filter-list" type="as"> <default>[]</default> - <_summary>Discard notifications by application name</_summary> - <_description>If an application name is in the filter list, all notifications matching the application name will be discarded.</_description> + <summary>Discard notifications by application name</summary> + <description>If an application name is in the filter list, all notifications matching the application name will be discarded.</description> </key> <key name="filter-list-hints" type="as"> <default>[]</default> @@ -18,8 +18,8 @@ <key name="max-items" type="i"> <range min="1" max="10"/> <default>5</default> - <_summary>Maximum number of visible items</_summary> - <_description>The indicator will only display at most the number of notifications indicated by this value.</_description> + <summary>Maximum number of visible items</summary> + <description>The indicator will only display at most the number of notifications indicated by this value.</description> </key> </schema> </schemalist> diff --git a/po/POTFILES.in b/po/POTFILES.in index c8c6c6e..c8300cf 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,4 +1,4 @@ -data/org.ayatana.indicator.notifications.gschema.xml.in.in +data/org.ayatana.indicator.notifications.gschema.xml src/dbus-spy.c src/dbus-spy.h src/main.c |