[patch] don't restart applet.



Well, I hate GNOME's session management, and now we have an autostart
system, so we don't need the automatic restart junk.

The real problem is that GNOME_RESTART_IMMEDIATELY results in duplicate
applets.  Someone complained about this a few weeks ago.

Comments on the attached patch?  Dan?

	Robert Love

Index: gnome/applet/main.c
===================================================================
RCS file: /cvs/gnome/NetworkManager/gnome/applet/main.c,v
retrieving revision 1.8
diff -u -r1.8 main.c
--- gnome/applet/main.c	1 Dec 2005 21:45:11 -0000	1.8
+++ gnome/applet/main.c	17 Jan 2006 20:41:06 -0000
@@ -52,7 +52,6 @@
 			    GNOME_PARAM_NONE, GNOME_PARAM_NONE);
 
     	client = gnome_master_client ();
-    	gnome_client_set_restart_style (client, GNOME_RESTART_IMMEDIATELY);
 
     	g_signal_connect (client, "save_yourself", G_CALLBACK (session_save), NULL);
     	g_signal_connect (client, "die", G_CALLBACK (session_die), NULL);


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