aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-22 21:08:37 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-22 21:08:40 +0800
commit1b3ea6b00704d60166a1733894184105edf04586 (patch)
tree47a05ef8bc0f5760609e1f2e449b6450f75ab65c
parent8cdf004d3b499cf73aaf6ceb92ec9f1c58331d7a (diff)
downloadgsoc2013-empathy-1b3ea6b00704d60166a1733894184105edf04586.tar
gsoc2013-empathy-1b3ea6b00704d60166a1733894184105edf04586.tar.gz
gsoc2013-empathy-1b3ea6b00704d60166a1733894184105edf04586.tar.bz2
gsoc2013-empathy-1b3ea6b00704d60166a1733894184105edf04586.tar.lz
gsoc2013-empathy-1b3ea6b00704d60166a1733894184105edf04586.tar.xz
gsoc2013-empathy-1b3ea6b00704d60166a1733894184105edf04586.tar.zst
gsoc2013-empathy-1b3ea6b00704d60166a1733894184105edf04586.zip
define EMPATHY_CLIENT_NAME
-rw-r--r--libempathy/empathy-utils.h2
-rw-r--r--src/empathy-debug-window.c2
-rw-r--r--src/empathy.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h
index 0fc6fc2a9..859aed1e4 100644
--- a/libempathy/empathy-utils.h
+++ b/libempathy/empathy-utils.h
@@ -37,6 +37,8 @@
#define EMPATHY_GET_PRIV(obj,type) ((type##Priv *) ((type *) obj)->priv)
#define EMP_STR_EMPTY(x) ((x) == NULL || (x)[0] == '\0')
+#define EMPATHY_CLIENT_NAME "org.freedesktop.Telepathy.Client.Empathy"
+
G_BEGIN_DECLS
void empathy_init (void);
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index 137cf2407..a78ae57ab 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -747,7 +747,7 @@ debug_window_fill_cm_chooser (EmpathyDebugWindow *debug_window)
gtk_list_store_append (priv->cms, &iter);
gtk_list_store_set (priv->cms, &iter,
COL_CM_NAME, "empathy",
- COL_CM_UNIQUE_NAME, "org.freedesktop.Telepathy.Client.Empathy",
+ COL_CM_UNIQUE_NAME, EMPATHY_CLIENT_NAME,
-1);
gtk_combo_box_set_active (GTK_COMBO_BOX (priv->cm_chooser), 0);
diff --git a/src/empathy.c b/src/empathy.c
index a68d0d226..8609794e8 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -629,8 +629,7 @@ main (int argc, char *argv[])
g_log_set_default_handler (tp_debug_sender_log_handler, G_LOG_DOMAIN);
#endif
- unique_app = unique_app_new_with_commands (
- "org.freedesktop.Telepathy.Client.Empathy",
+ unique_app = unique_app_new_with_commands (EMPATHY_CLIENT_NAME,
NULL, "accounts_dialog", COMMAND_ACCOUNTS_DIALOG, NULL);
if (unique_app_is_running (unique_app))