diff src/gaim-notifications-example.py @ 13220:ac5bc9a7b603

[gaim-migrate @ 15584] SF Patch #1428582 from Casey Harkins "The dbus stuff in gaim is using the namespace org.gaim. gaim.org is obviously not associated with gaim and chances are they would never need the dbus namespace. Regardless, it would probably be better if gaim used net.sf.gaim for the namespace. It'd be easier to change now than after 2.0 is released since things might start depending on gaim's dbus api. The dbus spec and tutorial both suggest/imply (though don't strictly require) that the namespace coorespond to a domain name that you own." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 11 Feb 2006 05:25:47 +0000
parents 64fadbf3810f
children d323a4e74753
line wrap: on
line diff
--- a/src/gaim-notifications-example.py	Sat Feb 11 05:24:30 2006 +0000
+++ b/src/gaim-notifications-example.py	Sat Feb 11 05:25:47 2006 +0000
@@ -66,15 +66,15 @@
     
 
 bus = dbus.SessionBus()
-obj = bus.get_object("org.gaim.GaimService", "/org/gaim/GaimObject")
-gaim = dbus.Interface(obj, "org.gaim.GaimInterface")
+obj = bus.get_object("net.sf.gaim.GaimService", "/net/sf/gaim/GaimObject")
+gaim = dbus.Interface(obj, "net.sf.gaim.GaimInterface")
 
 bus.add_signal_receiver(receivedimmsg,
-                        dbus_interface = "org.gaim.GaimInterface",
+                        dbus_interface = "net.sf.gaim.GaimInterface",
                         signal_name = "ReceivedImMsg")
 
 bus.add_signal_receiver(buddysignedon,
-                        dbus_interface = "org.gaim.GaimInterface",
+                        dbus_interface = "net.sf.gaim.GaimInterface",
                         signal_name = "BuddySignedOn")
 
 print """This is a simple gaim notification server.