mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 23:08:12 +02:00
2008-10-17 Dan Williams <dcbw@redhat.com>
* properties/auth-helpers.c - (advanced_dialog_new): The "Certificates (TLS)" tab should also be present for NM_OPENVPN_CONTYPE_PASSWORD git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4189 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
7cfd2ea57b
commit
4215802fd3
2 changed files with 12 additions and 4 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2008-10-17 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* properties/auth-helpers.c
|
||||
- (advanced_dialog_new): The "Certificates (TLS)" tab should also be
|
||||
present for NM_OPENVPN_CONTYPE_PASSWORD
|
||||
|
||||
2008-10-17 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* properties/auth-helpers.c
|
||||
|
|
|
|||
|
|
@ -968,10 +968,9 @@ advanced_dialog_new (GHashTable *hash, const char *contype)
|
|||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget), TRUE);
|
||||
}
|
||||
|
||||
if (strcmp (contype, NM_OPENVPN_CONTYPE_TLS) && strcmp (contype, NM_OPENVPN_CONTYPE_PASSWORD_TLS)) {
|
||||
widget = glade_xml_get_widget (xml, "options_notebook");
|
||||
gtk_notebook_remove_page (GTK_NOTEBOOK (widget), 1);
|
||||
} else {
|
||||
if ( !strcmp (contype, NM_OPENVPN_CONTYPE_TLS)
|
||||
|| !strcmp (contype, NM_OPENVPN_CONTYPE_PASSWORD_TLS)
|
||||
|| !strcmp (contype, NM_OPENVPN_CONTYPE_PASSWORD)) {
|
||||
GtkListStore *store;
|
||||
GtkTreeIter iter;
|
||||
int direction = -1, active = -1;
|
||||
|
|
@ -1020,6 +1019,9 @@ advanced_dialog_new (GHashTable *hash, const char *contype)
|
|||
widget = glade_xml_get_widget (xml, "tls_auth_chooser");
|
||||
gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (widget), value);
|
||||
}
|
||||
} else {
|
||||
widget = glade_xml_get_widget (xml, "options_notebook");
|
||||
gtk_notebook_remove_page (GTK_NOTEBOOK (widget), 1);
|
||||
}
|
||||
|
||||
out:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue