[gnome-control-center] Network: fix the wpad warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Network: fix the wpad warning
- Date: Wed, 25 May 2011 00:04:56 +0000 (UTC)
commit f9a186a2721fae131dc70bfb44061ffd345eea88
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 24 20:03:50 2011 -0400
Network: fix the wpad warning
Due to size allocation changes in GTK+, wrapping labels without
a minimal width now become very high. So we need to set a reasonable
width-chars value to ensure the label shows up.
panels/network/cc-network-panel.c | 2 +-
panels/network/network.ui | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index fb4dc78..644e61d 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -192,7 +192,7 @@ check_wpad_warning (CcNetworkPanel *panel)
/* TRANSLATORS: this is when the use leaves the PAC textbox blank */
g_string_append (string, _("Web Proxy Autodiscovery is used when a Configuration URL is not provided."));
- g_string_append (string, " ");
+ g_string_append (string, "\n");
/* TRANSLATORS: WPAD is bad: if you enable it on an untrusted
* network, then anyone else on that network can tell your
diff --git a/panels/network/network.ui b/panels/network/network.ui
index 548fd2b..e4d55d4 100644
--- a/panels/network/network.ui
+++ b/panels/network/network.ui
@@ -1918,6 +1918,8 @@
<property name="can_focus">False</property>
<property name="label">WPAD warning...</property>
<property name="wrap">True</property>
+ <property name="width-chars">50</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="left_attach">0</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]