From 203eac34317ab5196398ace5ca116b1da426823f Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 3 Feb 2006 15:32:06 +0000 Subject: [PATCH] 2006-02-02 Dan Williams * gnome/applet/main.c - (main): in a variation on Robert's patch, change RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what he wants. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1433 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- ChangeLog | 7 +++++++ gnome/applet/main.c | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index deaa91e2ed..168d831c7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-02-02 Dan Williams + + * gnome/applet/main.c + - (main): in a variation on Robert's patch, change + RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what + he wants. + 2006-02-02 Robert Love * src/Makefile.am: If we aren't going to create the run directory at, diff --git a/gnome/applet/main.c b/gnome/applet/main.c index d3d23336c8..7772c963a5 100644 --- a/gnome/applet/main.c +++ b/gnome/applet/main.c @@ -52,7 +52,7 @@ int main (int argc, char *argv[]) GNOME_PARAM_NONE, GNOME_PARAM_NONE); client = gnome_master_client (); - gnome_client_set_restart_style (client, GNOME_RESTART_IMMEDIATELY); + gnome_client_set_restart_style (client, GNOME_RESTART_NEVER); g_signal_connect (client, "save_yourself", G_CALLBACK (session_save), NULL); g_signal_connect (client, "die", G_CALLBACK (session_die), NULL); @@ -67,7 +67,5 @@ int main (int argc, char *argv[]) gtk_main (); } - gnome_client_set_restart_style (client, GNOME_RESTART_ANYWAY); - return 0; }