[network-manager-applet] applet: keep the PIN dialog's unused entry hidden
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] applet: keep the PIN dialog's unused entry hidden
- Date: Thu, 28 Feb 2013 17:10:15 +0000 (UTC)
commit d774d24efcd25a878bc63b4586c064a1fc30b4cb
Author: Dan Williams <dcbw redhat com>
Date: Thu Feb 28 18:09:30 2013 +0100
applet: keep the PIN dialog's unused entry hidden
src/applet-dialogs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/applet-dialogs.c b/src/applet-dialogs.c
index 60754d4..53167b7 100644
--- a/src/applet-dialogs.c
+++ b/src/applet-dialogs.c
@@ -1397,10 +1397,10 @@ applet_mobile_pin_dialog_new (const char *unlock_required,
}
/* code3_entry */
+ label = GTK_WIDGET (gtk_builder_get_object (builder, "code3_label"));
+ widget = GTK_WIDGET (gtk_builder_get_object (builder, "code3_entry"));
if (label3) {
- widget = GTK_WIDGET (gtk_builder_get_object (builder, "code3_label"));
- gtk_label_set_text (GTK_LABEL (widget), label3);
- widget = GTK_WIDGET (gtk_builder_get_object (builder, "code3_entry"));
+ gtk_label_set_text (GTK_LABEL (label), label3);
g_signal_connect (widget, "changed", G_CALLBACK (mpd_entry_changed), dialog);
g_signal_connect (widget, "insert-text", G_CALLBACK (mpd_entry_filter), NULL);
if (label3_max)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]