From: Carlos Garcia Campos Date: Sun, 29 Jul 2007 15:18:16 +0000 (+0000) Subject: Set horizontal scrollbar policy to AUTOMATIC instead of NEVER. Workaround X-Git-Tag: EVINCE_0_9_3~8 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=5a3601d1ccfc1adf3f91e60f6de27e3ee1a5c6a2;p=evince.git Set horizontal scrollbar policy to AUTOMATIC instead of NEVER. Workaround 2007-07-29 Carlos Garcia Campos * 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 --- diff --git a/ChangeLog b/ChangeLog index 45ebda16..18f62ec1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-29 Carlos Garcia Campos + + * 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 * shell/ev-jobs.c: (ev_job_render_page_ready): diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index 26760a96..671569a1 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));