mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
When manually adding a dive allow user to set avg depth as well
So far we only allowed setting the max depth. This changes the layout of the entry widget and makes our helper function create_date_time_widget return the hbox in which it positions the time entry. I plan to reuse this later when allowing to edit the duration as well as the start date and time under certain circumstances. This is a small part of a feature request; see #75 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4c04fe5316
commit
9e8aaad133
3 changed files with 42 additions and 20 deletions
|
@ -52,7 +52,7 @@ enum {
|
|||
MATCH_AFTER
|
||||
} found_string_entry;
|
||||
|
||||
extern GtkWidget *create_date_time_widget(struct tm *time, GtkWidget **cal, GtkWidget **h, GtkWidget **m);
|
||||
extern GtkWidget *create_date_time_widget(struct tm *time, GtkWidget **cal, GtkWidget **h, GtkWidget **m, GtkWidget **timehbox);
|
||||
extern void add_string_list_entry(const char *string, GtkListStore *list);
|
||||
extern int match_list(GtkListStore *list, const char *string);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue