From b08f51cfc60cb2c0fab4954f772a4698498fee05 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 5 Jan 2013 23:14:42 -0800 Subject: 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 --- 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 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); -- cgit v1.2.3-70-g09d2