From 18c2a6bc350d87c736709451b4ef3f9e0d15d2cf Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 22 Oct 2003 17:49:10 +0000 Subject: (impl_createControls): Set the GtkScrolledWindow scrollbar policy to "automatic" for both the horizontal and the vertical scrollbar. svn path=/trunk/; revision=22990 --- addressbook/ChangeLog | 6 ++++++ addressbook/gui/component/addressbook-component.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 2e9b191f0a..1aaaccba6b 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2003-10-22 Ettore Perazzoli + + * gui/component/addressbook-component.c (impl_createControls): Set + the GtkScrolledWindow scrollbar policy to "automatic" for both the + horizontal and the vertical scrollbar. + 2003-10-22 Ettore Perazzoli * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index c323a1bd78..fe3cfa3a58 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -89,6 +89,8 @@ impl_createControls (PortableServer_Servant servant, gtk_widget_show (selector); selector_scrolled_window = gtk_scrolled_window_new (NULL, NULL); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (selector_scrolled_window), + GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_container_add (GTK_CONTAINER (selector_scrolled_window), selector); gtk_widget_show (selector_scrolled_window); -- cgit