diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2011-07-31 08:05:04 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2011-08-13 00:03:04 +0800 |
commit | 60bea9a1003343635d27fba83d3b089fb208efec (patch) | |
tree | c701a7858b12306ca35ea883cf34d3dd920ab7da /embed/ephy-web-view.c | |
parent | e6945b6c75103866ac890219e93463ff4ce06183 (diff) | |
download | gsoc2013-epiphany-60bea9a1003343635d27fba83d3b089fb208efec.tar.gz gsoc2013-epiphany-60bea9a1003343635d27fba83d3b089fb208efec.tar.zst gsoc2013-epiphany-60bea9a1003343635d27fba83d3b089fb208efec.zip |
Use line-wrap in GtkInfoBar labels
Otherwise we can end up with fixed width windows that exceed the display
size when long sentences are displayed.
Bug #649164
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index b4aca442d..a4d972061 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -767,6 +767,7 @@ request_decision_on_storing (StorePasswordData *store_data) store_data->name_value, hostname); gtk_label_set_markup (GTK_LABEL (label), message); + gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); g_free (hostname); g_free (message); @@ -1736,7 +1737,7 @@ geolocation_policy_decision_requested_cb (WebKitWebView *web_view, webkit_web_frame_get_uri (web_frame)); label = gtk_label_new (message); - g_object_set (label, "use-markup", TRUE, NULL); + g_object_set (label, "use-markup", TRUE, "wrap", TRUE, NULL); g_free (message); |