network-manager-applet r1246 - in trunk: . src/connection-editor



Author: dcbw
Date: Sat Apr  4 15:23:58 2009
New Revision: 1246
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=1246&view=rev

Log:
2009-04-04  Dan Williams  <dcbw redhat com>

	* src/connection-editor/nm-connection-list.c
		- Send the clicked signal to the button instead of calling do_edit()
			explicitly so that the PolKitAction's code gets run; ensures
			the same codepath gets taken for double-click as for clicking
			the edit button



Modified:
   trunk/ChangeLog
   trunk/src/connection-editor/nm-connection-list.c

Modified: trunk/src/connection-editor/nm-connection-list.c
==============================================================================
--- trunk/src/connection-editor/nm-connection-list.c	(original)
+++ trunk/src/connection-editor/nm-connection-list.c	Sat Apr  4 15:23:58 2009
@@ -1404,7 +1404,7 @@
 	ActionInfo *info = user_data;
 
 	if (GTK_WIDGET_SENSITIVE (info->button))
-		do_edit ((ActionInfo *) user_data);
+		gtk_button_clicked (GTK_BUTTON (info->button));
 }
 
 static void
@@ -1944,7 +1944,7 @@
 	g_signal_connect (G_OBJECT (list->dialog), "response", G_CALLBACK (dialog_response_cb), list);
 
 	if (!vpn_get_plugins (&error)) {
-		g_message ("%s: failed to load VPN plugins: %s", __func__, error->message);
+		g_warning ("%s: failed to load VPN plugins: %s", __func__, error->message);
 		g_error_free (error);
 	}
 



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