]> granicus.if.org Git - postgis/commitdiff
Try and get around the expanding window problem
authorPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 29 Dec 2009 19:23:41 +0000 (19:23 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 29 Dec 2009 19:23:41 +0000 (19:23 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5060 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-gui.c

index afbd36ce1a052266199e572c679fb94ccf798d23..adedd29b51b9069d3589a10b713f383e81a0c63a 100644 (file)
@@ -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);