diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-27 18:09:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-27 18:09:26 -0700 |
commit | 162b36f4a5007d9c267743bb2f09ac5adc8da408 (patch) | |
tree | c8b4811013b3ae105b9f7d34c7f15226a0b69644 /display-gtk.h | |
parent | a2c2c7e1a84a98bd05505f699c3c17baf50304ce (diff) | |
download | subsurface-162b36f4a5007d9c267743bb2f09ac5adc8da408.tar.gz |
Make it possible to do "Add Dive" from just the main dive menu
No need for right-clicks. It's inconvenient on lots of laptops etc, so
allow just using the Dive menu as an alternative.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r-- | display-gtk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h index efbf3fd87..4ce05468c 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -54,6 +54,7 @@ extern const char *divelist_font; extern void set_divelist_font(const char *); extern void import_dialog(GtkWidget *, gpointer); +extern void add_dive_cb(GtkWidget *, gpointer); extern void report_error(GError* error); extern int process_ui_events(void); extern void update_progressbar(progressbar_t *progress, double value); |