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.
This commit is contained in:
Matthias Clasen 2011-05-24 20:03:50 -04:00
parent a4af31e068
commit f9a186a272
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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>