Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-07-29 15:18:16 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-07-29 15:18:16 (GMT)
commit5a3601d1ccfc1adf3f91e60f6de27e3ee1a5c6a2 (patch)
tree997ed6c5f58c4542e3e564e63672402beadc58a7
parent0d8bdc203ebb3b602078de681afe5f91853b46e8 (diff)
Set horizontal scrollbar policy to AUTOMATIC instead of NEVER. Workaround
2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_init): Set horizontal scrollbar policy to AUTOMATIC instead of NEVER. Workaround for bug #449462. svn path=/trunk/; revision=2593
-rw-r--r--ChangeLog7
-rw-r--r--shell/ev-sidebar-thumbnails.c6
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 45ebda1..18f62ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org>
+ * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_init):
+
+ Set horizontal scrollbar policy to AUTOMATIC instead of
+ NEVER. Workaround for bug #449462.
+
+2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org>
+
* shell/ev-jobs.c: (ev_job_render_page_ready):
Add page_ready callback to main loop with high priority and hold
diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c
index 26760a9..671569a 100644
--- a/shell/ev-sidebar-thumbnails.c
+++ b/shell/ev-sidebar-thumbnails.c
@@ -557,8 +557,12 @@ 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_NEVER, GTK_POLICY_AUTOMATIC);
+ GTK_POLICY_AUTOMATIC, 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));