]> granicus.if.org Git - postgis/commitdiff
Remove auto-resizing columns from text fields in shp2pgsql-gui as they seem to be...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Thu, 21 Jun 2012 22:24:00 +0000 (22:24 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Thu, 21 Jun 2012 22:24:00 +0000 (22:24 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9971 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-gui.c

index 437e3e9bc3e1d8ec46fd12163c76a2fa351f4ad1..426a2b5075054fd6e57fc4491741edcf4fdb444f 100644 (file)
@@ -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 */