From: Paul Ramsey Date: Tue, 29 Dec 2009 19:23:41 +0000 (+0000) Subject: Try and get around the expanding window problem X-Git-Tag: 1.5.0b1~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6a682d5f625c5f24eaa1e8f5701d322b5d15ceb;p=postgis Try and get around the expanding window problem git-svn-id: http://svn.osgeo.org/postgis/trunk@5060 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/shp2pgsql-gui.c b/loader/shp2pgsql-gui.c index afbd36ce1..adedd29b5 100644 --- a/loader/shp2pgsql-gui.c +++ b/loader/shp2pgsql-gui.c @@ -1134,7 +1134,7 @@ pgui_create_main_window(const SHPCONNECTIONCONFIG *conn) textview_log = gtk_text_view_new(); textbuffer_log = gtk_text_buffer_new(NULL); scrolledwindow_log = gtk_scrolled_window_new(NULL, NULL); - gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW(scrolledwindow_log), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); + gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW(scrolledwindow_log), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); gtk_text_view_set_buffer(GTK_TEXT_VIEW(textview_log), textbuffer_log); gtk_container_set_border_width (GTK_CONTAINER (textview_log), 5); gtk_text_view_set_editable(GTK_TEXT_VIEW(textview_log), FALSE);