[gnome-initial-setup] privacy: Make policy dialog resize properly
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] privacy: Make policy dialog resize properly
- Date: Sat, 16 May 2015 19:36:12 +0000 (UTC)
commit cd42ea6979d424ad6f20b9aab2302e79d0c622fb
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 16 15:34:08 2015 -0400
privacy: Make policy dialog resize properly
For some reason, the webview is not expanding when the window
is resized, unless we explicitly set the expand flags.
https://bugzilla.gnome.org/show_bug.cgi?id=749426
.../pages/privacy/gis-privacy-page.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-initial-setup/pages/privacy/gis-privacy-page.c
b/gnome-initial-setup/pages/privacy/gis-privacy-page.c
index 4c146fe..86f74db 100644
--- a/gnome-initial-setup/pages/privacy/gis-privacy-page.c
+++ b/gnome-initial-setup/pages/privacy/gis-privacy-page.c
@@ -253,6 +253,8 @@ activate_link (GtkLabel *label,
view = webkit_web_view_new ();
gtk_widget_set_size_request (view, 600, 500);
+ gtk_widget_set_hexpand (view, TRUE);
+ gtk_widget_set_vexpand (view, TRUE);
g_signal_connect (view, "notify::estimated-load-progress",
G_CALLBACK (notify_progress_cb), progress_bar);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]