[network-manager-applet/NETWORKMANAGER_APPLET_0_7] wifi: set minimum size for WEP and WPA key entries
- From: Dan Williams <dcbw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [network-manager-applet/NETWORKMANAGER_APPLET_0_7] wifi: set minimum size for WEP and WPA key entries
- Date: Tue, 11 Aug 2009 05:04:21 +0000 (UTC)
commit 29acdc4beaf75eda789bddb9a3c971d6384a2d45
Author: Dan Williams <dcbw redhat com>
Date: Mon Aug 10 15:22:21 2009 -0500
wifi: set minimum size for WEP and WPA key entries
src/wireless-security/ws-wep-key.c | 1 +
src/wireless-security/ws-wpa-psk.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/wireless-security/ws-wep-key.c b/src/wireless-security/ws-wep-key.c
index c895dce..4b13b33 100644
--- a/src/wireless-security/ws-wep-key.c
+++ b/src/wireless-security/ws-wep-key.c
@@ -311,6 +311,7 @@ ws_wep_key_new (const char *glade_file,
widget = glade_xml_get_widget (xml, "wep_key_entry");
g_assert (widget);
+ gtk_entry_set_width_chars (GTK_ENTRY (widget), 28);
if (connection) {
NMSettingWireless *s_wireless;
diff --git a/src/wireless-security/ws-wpa-psk.c b/src/wireless-security/ws-wpa-psk.c
index 223b16a..35b3dbb 100644
--- a/src/wireless-security/ws-wpa-psk.c
+++ b/src/wireless-security/ws-wpa-psk.c
@@ -180,6 +180,7 @@ ws_wpa_psk_new (const char *glade_file, NMConnection *connection)
g_signal_connect (G_OBJECT (widget), "changed",
(GCallback) wireless_security_changed_cb,
sec);
+ gtk_entry_set_width_chars (GTK_ENTRY (widget), 28);
/* Fill secrets, if any */
if (connection) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]