summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-05 23:14:42 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-05 23:14:42 -0800
commitb08f51cfc60cb2c0fab4954f772a4698498fee05 (patch)
tree5c662bc1b6afe3716cbf3934986005f83b3176ba /display-gtk.h
parentb1dc9bf26d8538001a120c8c1635a12129f13c8c (diff)
downloadsubsurface-b08f51cfc60cb2c0fab4954f772a4698498fee05.tar.gz
Add new gases to the combo box in dive plan entry
Once again Gtk does everything it can to make our lives miserable. It requires major hackery to be able to add new gases to the drop down lists "on the fly". Right now this only works if you edit the gas and then use Tab to move to the next field. 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 877822b80..083724a61 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -95,6 +95,7 @@ extern void update_progressbar(progressbar_t *progress, double value);
extern void update_progressbar_text(progressbar_t *progress, const char *text);
extern GtkWidget *create_date_time_widget(struct tm *time, GtkWidget **cal, GtkWidget **h, GtkWidget **m);
+extern void add_string_list_entry(const char *string, GtkListStore *list);
extern GtkWidget *dive_profile_widget(void);
extern GtkWidget *dive_info_frame(void);