Hi

support for Gnome session is included in package which is just sitting
in incoming. It is only disabled for now. Just apply attached patch to
enable it.

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com
--- /usr/share/pycentral/sonata/site-packages/sonata.py	2007-02-14 06:48:09.000000000 +0100
+++ /usr/share/pycentral/sonata/site-packages/sonata.py	2007-03-09 10:16:43.000000000 +0100
@@ -95,11 +95,11 @@
 except:
 	HAVE_WSDL = False
 	
-#try:
-#	import gnome, gnome.ui
-#	HAVE_GNOME_UI = True
-#except:
-#	HAVE_GNOME_UI = False
+try:
+	import gnome, gnome.ui
+	HAVE_GNOME_UI = True
+except:
+	HAVE_GNOME_UI = False
 
 # Test pygtk version
 if gtk.pygtk_version < (2, 6, 0):
@@ -193,7 +193,7 @@
 
 		start_dbus_interface(toggle_arg)
 		
-		#self.gnome_session_management()
+		self.gnome_session_management()
 
 		# Initialize vars:
 		self.TAB_CURRENT = 0

Attachment: signature.asc
Description: PGP signature

Reply via email to