]> www.fi.muni.cz Git - evince.git/commitdiff
Set horizontal scrollbar policy to AUTOMATIC instead of NEVER. Workaround
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 29 Jul 2007 15:18:16 +0000 (15:18 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sun, 29 Jul 2007 15:18:16 +0000 (15:18 +0000)
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

ChangeLog
shell/ev-sidebar-thumbnails.c

index 45ebda167d896259464ce510e796f65bb8ebb009..18f62ec1364965b979e3594c311afd219cd89b66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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):
index 26760a968115b8a0c456ad3e57cb7c69d2dab88b..671569a10534602216d53e531d61352dfc559881 100644 (file)
@@ -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));