aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/ephy-web-view.c3
-rw-r--r--src/ephy-session.c1
2 files changed, 3 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);
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 0fea3304d..fcfdfae33 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -782,6 +782,7 @@ session_command_dispatch (EphySession *session)
gtk_box_pack_start (GTK_BOX (button_box), action_button, FALSE, FALSE, 0);
label = gtk_label_new (_("Do you want to recover the previous browser windows and tabs?"));
+ gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
content_area = gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar));
gtk_container_add (GTK_CONTAINER (content_area), label);
gtk_widget_show_all (info_bar);