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/gui/component/addressbook-component.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addressbook/gui') 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 v1.2.3