From 19cc966af5b25594f10cd350c6bab208c02017b5 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Thu, 21 Jun 2012 22:24:00 +0000 Subject: [PATCH] Remove auto-resizing columns from text fields in shp2pgsql-gui as they seem to be the cause of #1881. git-svn-id: http://svn.osgeo.org/postgis/trunk@9971 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/shp2pgsql-gui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/loader/shp2pgsql-gui.c b/loader/shp2pgsql-gui.c index 437e3e9bc3e..426a2b50750 100644 --- a/loader/shp2pgsql-gui.c +++ b/loader/shp2pgsql-gui.c @@ -2952,7 +2952,7 @@ pgui_create_import_file_table(GtkWidget *import_list_frame) "text", IMPORT_SCHEMA_COLUMN, NULL); - g_object_set(import_schema_column, "resizable", TRUE, "expand", TRUE, "sizing", GTK_TREE_VIEW_COLUMN_AUTOSIZE, NULL); + g_object_set(import_schema_column, "resizable", TRUE, "expand", TRUE, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(import_tree), import_schema_column); /* Table Field */ @@ -2965,7 +2965,7 @@ pgui_create_import_file_table(GtkWidget *import_list_frame) "text", IMPORT_TABLE_COLUMN, NULL); - g_object_set(import_table_column, "resizable", TRUE, "expand", TRUE, "sizing", GTK_TREE_VIEW_COLUMN_AUTOSIZE, NULL); + g_object_set(import_table_column, "resizable", TRUE, "expand", TRUE, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(import_tree), import_table_column); /* Geo column field */ @@ -2978,7 +2978,7 @@ pgui_create_import_file_table(GtkWidget *import_list_frame) "text", IMPORT_GEOMETRY_COLUMN, NULL); - g_object_set(import_geom_column, "resizable", TRUE, "expand", TRUE, "sizing", GTK_TREE_VIEW_COLUMN_AUTOSIZE, NULL); + g_object_set(import_geom_column, "resizable", TRUE, "expand", TRUE, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(import_tree), import_geom_column); /* SRID Field */ @@ -2991,7 +2991,7 @@ pgui_create_import_file_table(GtkWidget *import_list_frame) "text", IMPORT_SRID_COLUMN, NULL); - g_object_set(import_srid_column, "resizable", TRUE, "expand", TRUE, "sizing", GTK_TREE_VIEW_COLUMN_AUTOSIZE, NULL); + g_object_set(import_srid_column, "resizable", TRUE, "expand", TRUE, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(import_tree), import_srid_column); /* Mode Combo Field */