[Xfce4-commits] <xfce4-settings:master> Hide the already running message completely.

Nick Schermer noreply at xfce.org
Fri Jun 17 23:40:01 CEST 2011


Updating branch refs/heads/master
         to f61a74284273e7fa600e9515006c035bfe922af9 (commit)
       from deb27ba7c4e17114bbe77b058865a17ea1e70246 (commit)

commit f61a74284273e7fa600e9515006c035bfe922af9
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Jun 17 23:37:33 2011 +0200

    Hide the already running message completely.
    
    Will only confuse people, so lets hide it.

 xfsettingsd/main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/xfsettingsd/main.c b/xfsettingsd/main.c
index a460ccb..0f3a68d 100644
--- a/xfsettingsd/main.c
+++ b/xfsettingsd/main.c
@@ -49,6 +49,7 @@
 #include <libxfce4util/libxfce4util.h>
 #include <libxfce4ui/libxfce4ui.h>
 
+#include "debug.h"
 #include "accessibility.h"
 #include "pointers.h"
 #include "keyboards.h"
@@ -204,7 +205,7 @@ main (gint argc, gchar **argv)
         result = dbus_bus_request_name (dbus_connection, XFSETTINGS_DBUS_NAME, dbus_flags, NULL);
         if (result != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER)
         {
-            g_print (G_LOG_DOMAIN ": %s\n", _("Fallback startup in not needed, xfsettingsd is already running. Leaving..."));
+            xfsettings_dbg (XFSD_DEBUG_XSETTINGS, "Another instance is already running. Leaving.");
             dbus_connection_unref (dbus_connection);
             return EXIT_SUCCESS;
         }



More information about the Xfce4-commits mailing list