[evince] Restore horizontal policy to NEVER for the sidebar's thumbnails
- From: Gustavo Noronha Silva <gns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Restore horizontal policy to NEVER for the sidebar's thumbnails
- Date: Mon, 20 Feb 2012 14:57:10 +0000 (UTC)
commit a621f05b42468606c8a04446d54b637ecdd05c9b
Author: Gustavo Noronha Silva <gns gnome org>
Date: Sat Feb 18 20:18:25 2012 -0200
Restore horizontal policy to NEVER for the sidebar's thumbnails
https://bugzilla.gnome.org/show_bug.cgi?id=670375
shell/ev-sidebar-thumbnails.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c
index 390e14f..594ebce 100644
--- a/shell/ev-sidebar-thumbnails.c
+++ b/shell/ev-sidebar-thumbnails.c
@@ -678,12 +678,9 @@ ev_sidebar_thumbnails_init (EvSidebarThumbnails *ev_sidebar_thumbnails)
EV_TYPE_JOB_THUMBNAIL);
priv->swindow = gtk_scrolled_window_new (NULL, NULL);
-
- /* We actually don't want GTK_POLICY_AUTOMATIC for horizontal scrollbar here
- * it's just a workaround for bug #449462
- */
+
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (priv->swindow),
- GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+ GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (priv->swindow),
GTK_SHADOW_IN);
priv->vadjustment = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (priv->swindow));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]