diff options
author | Carlos 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) |
commit | 5a3601d1ccfc1adf3f91e60f6de27e3ee1a5c6a2 (patch) | |
tree | 997ed6c5f58c4542e3e564e63672402beadc58a7 | |
parent | 0d8bdc203ebb3b602078de681afe5f91853b46e8 (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-- | ChangeLog | 7 | ||||
-rw-r--r-- | shell/ev-sidebar-thumbnails.c | 6 |
2 files changed, 12 insertions, 1 deletions
@@ -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)); |