[hamster-applet] avoid double instances of the service



commit 3d2273f22215e4d882529bd37cfab5f75e089e37
Author: Toms Bauģis <toms baugis gmail com>
Date:   Tue Apr 13 16:25:36 2010 +0100

    avoid double instances of the service

 src/hamster-service |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster-service b/src/hamster-service
index 49c95ff..608cbf9 100755
--- a/src/hamster-service
+++ b/src/hamster-service
@@ -10,7 +10,7 @@ DBusGMainLoop(set_as_default=True)
 loop = gobject.MainLoop()
 
 # if gwibber-serivce is already running, don't start
-if "org.gnome.Hamster.Connection" in dbus.SessionBus().list_names():
+if "org.gnome.Hamster" in dbus.SessionBus().list_names():
     print "Found hamster-service already running, exiting"
     quit()
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]