From ec6356db4e31a893ea433be11f06fe67cc9bfb3e Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 22 Oct 2003 17:57:52 +0000 Subject: (impl_createControls): Set the scrollbar policy to "automatic" for both the horizontal and vertical scrollbars around the source selector. svn path=/trunk/; revision=22991 --- calendar/gui/calendar-component.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/gui') diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 3e8782f45b..1dafda8d76 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -160,6 +160,8 @@ impl_createControls (PortableServer_Servant servant, selector_scrolled_window = gtk_scrolled_window_new (NULL, NULL); gtk_container_add (GTK_CONTAINER (selector_scrolled_window), selector); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (selector_scrolled_window), + GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_widget_show (selector_scrolled_window); sidebar_control = bonobo_control_new (selector_scrolled_window); -- cgit v1.2.3