2885 GtkWidget *vbox_tree;
2888 gint *column_indexes;
2890 gtk_container_set_border_width (GTK_CONTAINER (import_list_frame), 0);
2892 vbox_tree = gtk_vbox_new(
FALSE, 15);
2893 gtk_container_set_border_width(GTK_CONTAINER(vbox_tree), 5);
2894 gtk_container_add(GTK_CONTAINER(import_list_frame), vbox_tree);
2918 sw = gtk_scrolled_window_new(NULL, NULL);
2919 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
2920 gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_ETCHED_IN);
2921 gtk_widget_set_size_request(sw, -1, 150);
2923 gtk_box_pack_start(GTK_BOX(vbox_tree), sw,
TRUE,
TRUE, 0);
2924 gtk_container_add(GTK_CONTAINER (sw),
import_tree);
3055 GtkTargetEntry drop_types[] =
3057 {
"text/uri-list", 0, 0}
3060 gint n_drop_types =
sizeof(drop_types)/
sizeof(drop_types[0]);
3062 GTK_DEST_DEFAULT_ALL,
3063 drop_types, n_drop_types,
3065 g_signal_connect(G_OBJECT(
import_tree),
"drag_data_received",
GtkTreeViewColumn * import_geom_column
GtkWidget * loader_mode_combo
GtkTreeViewColumn * import_mode_column
GtkTreeViewColumn * import_filename_column
static void pgui_action_handle_loader_edit(GtkCellRendererText *renderer, gchar *path, gchar *new_text, gpointer column)
GtkCellRenderer * import_schema_renderer
static void pgui_action_open_file_dialog(GtkWidget *widget, gpointer data)
GtkTreeViewColumn * import_schema_column
static void pgui_action_handle_file_remove(GtkCellRendererToggle *renderer, gchar *path, gpointer user_data)
static void pgui_action_handle_file_drop(GtkWidget *widget, GdkDragContext *dc, gint x, gint y, GtkSelectionData *selection_data, guint info, guint t, gpointer data)
GtkListStore * loader_mode_combo_list
GtkCellRenderer * import_table_renderer
GtkCellRenderer * import_srid_renderer
GtkTreeViewColumn * import_table_column
GtkTreeViewColumn * import_remove_column
static void pgui_action_handle_tree_combo(GtkCellRendererCombo *combo, gchar *path_string, GtkTreeIter *new_iter, gpointer user_data)
GtkCellRenderer * import_geom_column_renderer
GtkTreeViewColumn * import_srid_column
static GtkWidget * add_file_button
GtkListStore * import_file_list_store
GtkCellRenderer * import_remove_renderer
GtkCellRenderer * import_filename_renderer
GtkCellRenderer * import_mode_renderer