2006-10-04 Tambet Ingo <tambet@ximian.com>

* properties/nm-openvpn.c (impl_get_widget, impl_get_properties)
        (import_from_file): s/tcp/tcp-client.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2049 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Tambet Ingo 2006-10-04 12:56:28 +00:00 committed by Tambet Ingo
parent ae340eeab2
commit 9c57a21a2c
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2006-10-04 Tambet Ingo <tambet@ximian.com>
* properties/nm-openvpn.c (impl_get_widget, impl_get_properties)
(import_from_file): s/tcp/tcp-client.
2006-07-28 Christophe Merlet <redfox@redfoxcenter.org>
* properties/nm-openvpn-dialog.glade.h: fixed typo.

View file

@ -225,7 +225,7 @@ impl_get_widget (NetworkManagerVpnUI *self, GSList *properties, GSList *routes,
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (impl->w_use_tap), TRUE);
should_expand = TRUE;
} else if ( (strcmp (key, "proto") == 0) &&
(strcmp (value, "tcp") == 0) ) {
(strcmp (value, "tcp-client") == 0) ) {
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (impl->w_use_tcp), TRUE);
should_expand = TRUE;
} else if (strcmp (key, "cipher") == 0) {
@ -328,7 +328,7 @@ impl_get_properties (NetworkManagerVpnUI *self)
data = g_slist_append (data, g_strdup ("remote"));
data = g_slist_append (data, g_strdup (remote));
data = g_slist_append (data, g_strdup ("proto"));
data = g_slist_append (data, use_tcp ? g_strdup ("tcp") : g_strdup("udp"));
data = g_slist_append (data, use_tcp ? g_strdup ("tcp-client") : g_strdup("udp"));
data = g_slist_append (data, g_strdup ("ca"));
data = g_slist_append (data, g_strdup (ca));
data = g_slist_append (data, g_strdup ("cert"));
@ -980,7 +980,7 @@ import_from_file (NetworkManagerVpnUIImpl *impl, const char *path)
should_expand = TRUE;
}
if ( strcmp (proto, "tcp") == 0 ) {
if ( strcmp (proto, "tcp-client") == 0 ) {
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (impl->w_use_tcp), TRUE);
should_expand = TRUE;
}