2008-07-19 Dan Williams <dcbw@redhat.com>

* properties/nm-openvpn.c
		- (advanced_dialog_response_cb): only update if OK was pressed



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3834 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2008-07-19 18:02:46 +00:00
parent 79722b9998
commit b84cc5dafd
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-07-19 Dan Williams <dcbw@redhat.com>
* properties/nm-openvpn.c
- (advanced_dialog_response_cb): only update if OK was pressed
2008-07-18 Dan Williams <dcbw@redhat.com>
* src/nm-openvpn-service.c

View file

@ -203,6 +203,11 @@ advanced_dialog_response_cb (GtkWidget *dialog, gint response, gpointer user_dat
OpenvpnPluginUiWidgetPrivate *priv = OPENVPN_PLUGIN_UI_WIDGET_GET_PRIVATE (self);
GError *error = NULL;
if (response != GTK_RESPONSE_OK) {
advanced_dialog_close_cb (dialog, self);
return;
}
if (priv->advanced)
g_hash_table_destroy (priv->advanced);
priv->advanced = advanced_dialog_new_hash_from_dialog (dialog, &error);