From 5efba73c10495fa2cc0ee53357dd7756e7dc17db Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Wed, 2 Nov 2005 20:26:11 +0000 Subject: [PATCH] 2005-11-02 Christopher Aillon * gnome/applet/main.c: Don't set the restart command. This fixes the issue where the restart command was getting copies of all its arguments for each time the applet was restarted. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1095 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- ChangeLog | 9 ++++++++- gnome/applet/main.c | 1 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5b20c6a437..fbb8a25369 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-02 Christopher Aillon + + * gnome/applet/main.c: Don't set the restart command. This fixes + the issue where the restart command was getting copies of all its + arguments for each time the applet was restarted. + 2005-11-02 Robert Love * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method @@ -9,7 +15,8 @@ * gnome/applet/applet.c: add nmwa_enable_wireless_set_active(). * gnome/applet/applet-dbus-devices.c: invoke the new function - nmwa_enable_wireless_set_active() to ensure that the state of the 'Enable Wireless' checkbox matches the daemon's state. This is a + nmwa_enable_wireless_set_active() to ensure that the state of the + 'Enable Wireless' checkbox matches the daemon's state. This is a concern because the daemon remembers the state. 2005-11-02 Robert Love diff --git a/gnome/applet/main.c b/gnome/applet/main.c index 65c21e6a9e..8d36304466 100644 --- a/gnome/applet/main.c +++ b/gnome/applet/main.c @@ -52,7 +52,6 @@ int main (int argc, char *argv[]) GNOME_PARAM_NONE); client = gnome_master_client (); - gnome_client_set_restart_command (client, argc, argv); gnome_client_set_restart_style (client, GNOME_RESTART_IMMEDIATELY); g_signal_connect (client, "save_yourself", G_CALLBACK (session_save), NULL);