]> git.0d.be Git - empathy.git/commitdiff
define EMPATHY_CLIENT_NAME
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 22 Feb 2010 13:08:37 +0000 (13:08 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 22 Feb 2010 13:08:40 +0000 (13:08 +0000)
libempathy/empathy-utils.h
src/empathy-debug-window.c
src/empathy.c

index 0fc6fc2a9773282116784640400b9e414304aeca..859aed1e4a237bdd8f323925b920e55dbd6cd959 100644 (file)
@@ -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);
index 137cf24074dbdae2116f538062fef6c549e2466e..a78ae57ab161249b82a4c11a15cf0459bcf82f56 100644 (file)
@@ -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);
 
index a68d0d22650801927ad41cc47ed048f6147d0f10..8609794e81cf24f21d3553a19d12e069b98891b2 100644 (file)
@@ -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))