From 26f550403db728640db0cb906224c6acb76edfde Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 22 Sep 2012 02:12:12 +0300 Subject: Activate the new separate "Import XML File" functionality Renamed the function pick_import_files() to import_files() and added a declaration in "display-gtk.h". The declaration is "extern" for consistency with download_dialog(). Since the new dialog is a real child off "main_window", we no longer need some of the calls to gtk_widget_set_sensitive(), gtk_window_set_decorated() to disable the parent, which previously was the old "Import" combined dialog. Once the file list is retrieved, attempt to import each file and update the list via report_dives(). Signed-off-by: Lubomir I. Ivanov Minor changes to file select box title Signed-off-by: Dirk Hohndel --- display-gtk.h | 1 + 1 file changed, 1 insertion(+) (limited to 'display-gtk.h') diff --git a/display-gtk.h b/display-gtk.h index 849b4802e..e4cf9b800 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -56,6 +56,7 @@ extern visible_cols_t visible_cols; extern const char *divelist_font; extern void set_divelist_font(const char *); +extern void import_files(GtkWidget *, gpointer); extern void download_dialog(GtkWidget *, gpointer); extern void add_dive_cb(GtkWidget *, gpointer); extern void report_error(GError* error); -- cgit v1.2.3-70-g09d2