aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 11:45:17 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 11:45:17 +0100
commitc6c864cd7084931404b383dcd3f8a1e3951dede4 (patch)
treea700a865d75b6ba4860686c95609e804969986eb
parent8a8cfe605357c566f9643931f16c065ba4357e2b (diff)
downloadayatana-indicator-sound-c6c864cd7084931404b383dcd3f8a1e3951dede4.tar.gz
ayatana-indicator-sound-c6c864cd7084931404b383dcd3f8a1e3951dede4.tar.bz2
ayatana-indicator-sound-c6c864cd7084931404b383dcd3f8a1e3951dede4.zip
Rename GNOMELOCALEDIR -> LOCALEDIR.
-rw-r--r--CMakeLists.txt2
-rw-r--r--config.h.in2
-rw-r--r--src/main.c2
-rw-r--r--vapi/config.vapi2
4 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 472a789..949b4fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,7 @@ if (EXISTS "/etc/debian_version")
endif()
set(GETTEXT_PACKAGE "ayatana-indicator-sound")
-set(GNOMELOCALEDIR "${CMAKE_INSTALL_FULL_DATADIR}/locale")
+set(LOCALEDIR "${CMAKE_INSTALL_FULL_DATADIR}/locale")
add_definitions( -DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}" )
set(SOURCE_DIR "${CMAKE_SOURCE_DIR}/src")
diff --git a/config.h.in b/config.h.in
index c51c213..ba38187 100644
--- a/config.h.in
+++ b/config.h.in
@@ -20,6 +20,6 @@
#define INDICATOR_SOUND_CONFIG_H_
#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
-#define GNOMELOCALEDIR "@GNOMELOCALEDIR@"
+#define LOCALEDIR "@LOCALEDIR@"
#endif // INDICATOR_SOUND_CONFIG_H_
diff --git a/src/main.c b/src/main.c
index b468481..6b930a2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -82,7 +82,7 @@ main (int argc, char ** argv)
GMainLoop * loop = NULL;
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
setlocale (LC_ALL, "");
- bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
/* Build Mainloop */
loop = g_main_loop_new(NULL, FALSE);
diff --git a/vapi/config.vapi b/vapi/config.vapi
index 15c4c88..4be6d11 100644
--- a/vapi/config.vapi
+++ b/vapi/config.vapi
@@ -1,7 +1,7 @@
[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "../config.h")]
namespace Config {
public const string GETTEXT_PACKAGE;
- public const string GNOMELOCALEDIR;
+ public const string LOCALEDIR;
public const string PKGDATADIR;
public const string PACKAGE_NAME;
public const string PACKAGE_VERSION;