[network-manager-applet] applet: fix "Configure VPN" menu item to show the editor's VPN tab



commit 0d5a957dd4ed4d177e45d02ac02547a1ea70113e
Author: Dan Williams <dcbw redhat com>
Date:   Thu Jun 2 13:25:58 2011 -0500

    applet: fix "Configure VPN" menu item to show the editor's VPN tab

 src/applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index 322defa..0f45d74 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -1206,7 +1206,7 @@ nma_menu_vpn_item_clicked (GtkMenuItem *item, gpointer user_data)
 static void
 nma_menu_configure_vpn_item_activate (GtkMenuItem *item, gpointer user_data)
 {
-	const char *argv[] = { BINDIR "/nm-connection-editor", "--type", NM_SETTING_VPN_SETTING_NAME, NULL};
+	const char *argv[] = { BINDIR "/nm-connection-editor", "--show", "--type", NM_SETTING_VPN_SETTING_NAME, NULL};
 
 	g_spawn_async (NULL, (gchar **) argv, NULL, 0, NULL, NULL, NULL, NULL);
 



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