From ec6356db4e31a893ea433be11f06fe67cc9bfb3e Mon Sep 17 00:00:00 2001
From: Ettore Perazzoli <ettore@src.gnome.org>
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/ChangeLog                | 6 ++++++
 calendar/gui/calendar-component.c | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index b2515d7a43..c4545e8479 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2003-10-22  Ettore Perazzoli  <ettore@ximian.com>
+
+	* gui/calendar-component.c (impl_createControls): Set the
+	scrollbar policy to "automatic" for both the horizontal and
+	vertical scrollbars around the source selector.
+
 2003-10-22  Ettore Perazzoli  <ettore@ximian.com>
 
 	* gui/GNOME_Evolution_Calendar.server.in.in: Add an
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