summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2012-09-22 02:12:12 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-21 20:55:33 -0700
commit26f550403db728640db0cb906224c6acb76edfde (patch)
tree7a59fad42f7f3bad6823a1a7a4ac5353bc0260cc /display-gtk.h
parentfaab2981a9add131641769d49948216c5276f48c (diff)
downloadsubsurface-26f550403db728640db0cb906224c6acb76edfde.tar.gz
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 <neolit123@gmail.com> Minor changes to file select box title Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r--display-gtk.h1
1 files changed, 1 insertions, 0 deletions
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);