[bijiben] settings-dialog: prevent horizontal scroll on primary book list
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] settings-dialog: prevent horizontal scroll on primary book list
- Date: Tue, 17 May 2016 08:17:36 +0000 (UTC)
commit 4449957e58b03296c928d726200799a8281b3760
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Mar 14 16:21:58 2016 +0100
settings-dialog: prevent horizontal scroll on primary book list
https://bugzilla.gnome.org/show_bug.cgi?id=763626
src/bjb-settings-dialog.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/bjb-settings-dialog.c b/src/bjb-settings-dialog.c
index 82064c6..96604f7 100644
--- a/src/bjb-settings-dialog.c
+++ b/src/bjb-settings-dialog.c
@@ -499,6 +499,7 @@ bjb_settings_dialog_constructed (GObject *object)
page = create_page_primary (self);
scroll = gtk_scrolled_window_new (NULL, NULL);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
viewport = gtk_viewport_new (NULL, NULL);
gtk_container_add (GTK_CONTAINER (viewport), page);
gtk_container_add (GTK_CONTAINER (scroll), viewport);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]