|
Lines 156-161
Link Here
|
| 156 |
{ "SSL", GTK_STOCK_DIALOG_AUTHENTICATION, "SSL", |
156 |
{ "SSL", GTK_STOCK_DIALOG_AUTHENTICATION, "SSL", |
| 157 |
0, 0, G_CALLBACK(PROPERTIES_on_auth_changed)}, |
157 |
0, 0, G_CALLBACK(PROPERTIES_on_auth_changed)}, |
| 158 |
{ "Certificate", GTK_STOCK_DIALOG_AUTHENTICATION, _("SSL with certificate"), |
158 |
{ "Certificate", GTK_STOCK_DIALOG_AUTHENTICATION, _("SSL with certificate"), |
|
|
159 |
0, 0, G_CALLBACK(PROPERTIES_on_auth_changed)}, |
| 160 |
{ "TLS", GTK_STOCK_DIALOG_AUTHENTICATION, "TLS", |
| 159 |
0, 0, G_CALLBACK(PROPERTIES_on_auth_changed)} |
161 |
0, 0, G_CALLBACK(PROPERTIES_on_auth_changed)} |
| 160 |
}; |
162 |
}; |
| 161 |
static const char *auth_ui_description = |
163 |
static const char *auth_ui_description = |
|
Lines 166-171
Link Here
|
| 166 |
" <menuitem action='Apop'/>" |
168 |
" <menuitem action='Apop'/>" |
| 167 |
" <menuitem action='SSL'/>" |
169 |
" <menuitem action='SSL'/>" |
| 168 |
" <menuitem action='Certificate'/>" |
170 |
" <menuitem action='Certificate'/>" |
|
|
171 |
" <menuitem action='TLS'/>" |
| 169 |
" </popup>" |
172 |
" </popup>" |
| 170 |
"</ui>"; |
173 |
"</ui>"; |
| 171 |
action_group = gtk_action_group_new ("actions"); |
174 |
action_group = gtk_action_group_new ("actions"); |
|
Lines 302-307
Link Here
|
| 302 |
selected_auth_ = AUTH_CERTIFICATE; |
305 |
selected_auth_ = AUTH_CERTIFICATE; |
| 303 |
certificate_view (true); |
306 |
certificate_view (true); |
| 304 |
} |
307 |
} |
|
|
308 |
else if (auth == "TLS") { |
| 309 |
selected_auth_ = AUTH_TLS; |
| 310 |
certificate_view (false); |
| 311 |
} |
| 305 |
else { |
312 |
else { |
| 306 |
selected_auth_ = AUTH_AUTODETECT; |
313 |
selected_auth_ = AUTH_AUTODETECT; |
| 307 |
certificate_view (false); |
314 |
certificate_view (false); |