mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Merge branch 'tree2' of git://git.hohndel.org/subsurface
Pull dive-trip grouping from Dirk Hohndel: "This turned into an updated pull request for the tree2 branch where I implemented the date based grouping - but is actually a very different topic: this adds the ability to edit multiple dives (and fixes some issues with the dive editing overall). The reason for that is that it reuses some of the infrastructure that I implemented in the tree2 branch for tracking the selected dives. More details in the commit messages." * 'tree2' of git://git.hohndel.org/subsurface: Switch from date based to dive trip based grouping Redo dive editing Fix selecting and unselecting summary items Apply sort functions to the correct model, don't select summary entries Maintain selected rows when switching between list model and tree model Create duplicate list model so sorting by columns works again Improve tree model implementation Allow date based grouping
This commit is contained in:
commit
9b72217f79
8 changed files with 670 additions and 216 deletions
|
@ -65,16 +65,17 @@ extern void update_progressbar_text(progressbar_t *progress, const char *text);
|
|||
extern GtkWidget *dive_profile_widget(void);
|
||||
extern GtkWidget *dive_info_frame(void);
|
||||
extern GtkWidget *extended_dive_info_widget(void);
|
||||
extern GtkWidget *equipment_widget(void);
|
||||
extern GtkWidget *equipment_widget(int w_idx);
|
||||
extern GtkWidget *single_stats_widget(void);
|
||||
extern GtkWidget *total_stats_widget(void);
|
||||
extern GtkWidget *cylinder_list_widget(void);
|
||||
extern GtkWidget *cylinder_list_widget(int w_idx);
|
||||
extern GtkWidget *weightsystem_list_widget(int w_idx);
|
||||
|
||||
extern GtkWidget *dive_list_create(void);
|
||||
|
||||
unsigned int amount_selected;
|
||||
|
||||
extern void process_selected_dives(GList *, GtkTreeModel *);
|
||||
extern void process_selected_dives(GList *, int *, GtkTreeModel *);
|
||||
|
||||
typedef void (*data_func_t)(GtkTreeViewColumn *col,
|
||||
GtkCellRenderer *renderer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue