[network-manager-openconnect] Put 'save passwords' checkbox next to login/cancel buttons to save vspace
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openconnect] Put 'save passwords' checkbox next to login/cancel buttons to save vspace
- Date: Sat, 16 Jun 2012 00:51:08 +0000 (UTC)
commit ac5a448bd4d7219e1754a09fb8a69286ce096225
Author: David Woodhouse <David Woodhouse intel com>
Date: Sat Jun 16 01:25:45 2012 +0100
Put 'save passwords' checkbox next to login/cancel buttons to save vspace
auth-dialog/main.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index 82243ba..45b086a 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -1558,6 +1558,14 @@ static void build_main_dialog(auth_ui_data *ui_data)
gtk_widget_set_sensitive (ui_data->cancel_button, FALSE);
gtk_widget_show(ui_data->cancel_button);
+ save_pass = gtk_check_button_new_with_label(_("Save passwords"));
+ gtk_box_pack_start(GTK_BOX(hbox), save_pass, FALSE, FALSE, 0);
+ if (get_save_passwords (ui_data->secrets))
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(save_pass), 1);
+ g_signal_connect(save_pass, "toggled", G_CALLBACK(savepass_toggled), NULL);
+ gtk_widget_show(save_pass);
+
+
exp = gtk_expander_new(_("Log"));
gtk_box_pack_end(GTK_BOX(vbox), exp, FALSE, FALSE, 0);
gtk_widget_show(exp);
@@ -1581,14 +1589,6 @@ static void build_main_dialog(auth_ui_data *ui_data)
ui_data->log = gtk_text_view_get_buffer(GTK_TEXT_VIEW(view));
g_signal_connect(ui_data->log, "changed", G_CALLBACK(scroll_log), view);
-
- save_pass = gtk_check_button_new_with_label(_("Save passwords"));
- gtk_box_pack_start(GTK_BOX(vbox), save_pass, FALSE, FALSE, 0);
- if (get_save_passwords (ui_data->secrets))
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(save_pass), 1);
- g_signal_connect(save_pass, "toggled", G_CALLBACK(savepass_toggled), NULL);
- gtk_widget_show(save_pass);
-
}
static auth_ui_data *init_ui_data (char *vpn_name, GHashTable *options, GHashTable *secrets, char *vpn_uuid)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]