summaryrefslogtreecommitdiff
path: root/packages/connman/files/phrase-lenght.diff
blob: 383c86cd3aa379722b60569f6e59a92f56c79ea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Marcel Holtmann <marcel@holtmann.org>
Date: Fri, 30 Jan 2009 14:34:05 +0000 (+0100)
Subject: Don't limit input field length for passphrases
X-Git-Url: http://git.moblin.org/cgi-bin/gitweb/gitweb.cgi?p=projects%2Fconnman-gnome.git;a=commitdiff_plain;h=faa1dee0cea9bdf47d91f5665880dab335dd94b4

Don't limit input field length for passphrases
---

diff --git a/applet/main.c b/applet/main.c
index cf12a34..434e7c8 100644
--- a/applet/main.c
+++ b/applet/main.c
@@ -151,8 +151,8 @@ static void passphrase_dialog(const char *path, const char *name)
 				GTK_EXPAND | GTK_FILL, GTK_SHRINK, 0, 0);
 
 	entry = gtk_entry_new();
-	gtk_entry_set_max_length(GTK_ENTRY(entry), 16);
-	gtk_entry_set_width_chars(GTK_ENTRY(entry), 16);
+	gtk_entry_set_max_length(GTK_ENTRY(entry), 120);
+	gtk_entry_set_width_chars(GTK_ENTRY(entry), 20);
 	gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE);
 	gtk_entry_set_activates_default(GTK_ENTRY(entry), TRUE);
 	gtk_container_add(GTK_CONTAINER(vbox), entry);