]> granicus.if.org Git - postgis/commitdiff
shp2pgsql-gui: don't allow the user to edit the schema name in the listview.
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Sun, 15 Apr 2012 15:46:44 +0000 (15:46 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Sun, 15 Apr 2012 15:46:44 +0000 (15:46 +0000)
This brings the behaviour in line with that of the table name, and since
these entries are generated from the table selector there should be no
need to do this.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9643 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-gui.c

index b0ac31db02af76157c1f57e743e04f6e2f481eaa..1e3c8aebcb1c227a99ed0995b0c171447c8af6e8 100644 (file)
@@ -3120,7 +3120,7 @@ pgui_create_export_table_table(GtkWidget *export_list_frame)
 
        /* Schema Field */
        export_schema_renderer = gtk_cell_renderer_text_new();
-       g_object_set(export_schema_renderer, "editable", TRUE, NULL);
+       g_object_set(export_schema_renderer, "editable", FALSE, NULL);
        column_indexes[EXPORT_SCHEMA_COLUMN] = EXPORT_SCHEMA_COLUMN;
        g_signal_connect(G_OBJECT(import_schema_renderer), "edited", G_CALLBACK(pgui_action_handle_loader_edit), &column_indexes[EXPORT_SCHEMA_COLUMN]);
        export_schema_column = gtk_tree_view_column_new_with_attributes(_("Schema"),