From c4f8012b9785094339b447108a49f0ecf55cf1c4 Mon Sep 17 00:00:00 2001 From: Robert Love Date: Mon, 27 Feb 2006 18:16:48 +0000 Subject: [PATCH] 2006-02-27 Robert Love Patch by R. Vinay : * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key 'last_attempt_success' when removing a VPN connection, too. (Fixes Novell bug #153628). git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1506 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- ChangeLog | 7 +++++++ gnome/vpn-properties/nm-vpn-properties.c | 3 +++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index ac1f70c5eb..842cfb58e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-02-27 Robert Love + + Patch by R. Vinay : + * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key + 'last_attempt_success' when removing a VPN connection, too. (Fixes + Novell bug #153628). + 2006-02-27 Robert Love * gnome/applet/applet.glade: Set "activates_default" on passphrase diff --git a/gnome/vpn-properties/nm-vpn-properties.c b/gnome/vpn-properties/nm-vpn-properties.c index 244172b28e..4cbfadadb7 100644 --- a/gnome/vpn-properties/nm-vpn-properties.c +++ b/gnome/vpn-properties/nm-vpn-properties.c @@ -736,6 +736,9 @@ delete_cb (GtkButton *button, gpointer user_data) /* TODO: remove user_name */ g_snprintf (key, sizeof (key), "%s/user_name", conn_gconf_path); gconf_client_unset (gconf_client, key, NULL); + g_snprintf (key, sizeof (key), "%s/last_attempt_success", conn_gconf_path); + gconf_client_unset (gconf_client, key, NULL); + gconf_client_unset (gconf_client, conn_gconf_path, NULL); gconf_client_suggest_sync (gconf_client, NULL);