diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-19 10:11:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-19 10:11:56 -0500 |
commit | 1efcf4538b8a034e8b288d5b9c375ba99b1d845f (patch) | |
tree | 71f9227a97e3311fd2cc1e32033f33b7d1a04fed /equipment.c | |
parent | 842b05415fac862e73cdbf3446dc801dbd2c156a (diff) | |
download | subsurface-1efcf4538b8a034e8b288d5b9c375ba99b1d845f.tar.gz |
Make double-clicking on the dive list bring up the dive editor
Now that the dive info window is read-only, we need to edit the dives
some other way. We bring up a dive info edit dialog when you
double-click on the dive list entry for that dive.
I do want to have an "edit" button or keyboard shortcut or something
too, though.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'equipment.c')
-rw-r--r-- | equipment.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/equipment.c b/equipment.c index b5e60dfe1..4ac8e3e99 100644 --- a/equipment.c +++ b/equipment.c @@ -3,7 +3,6 @@ * controlled through the following interfaces: * * void show_dive_equipment(struct dive *dive) - * void flush_dive_equipment_changes(struct dive *dive) * * called from gtk-ui: * GtkWidget *equipment_widget(void) @@ -429,11 +428,6 @@ static void record_cylinder_changes(cylinder_t *cyl, struct cylinder_widget *cyl fill_cylinder_info(cylinder, cyl, desc, volume, pressure, start, end, o2); } -void flush_dive_equipment_changes(struct dive *dive) -{ - /* We do nothing: we require the "Ok" button press */ -} - /* * We hardcode the most common standard cylinders, * we should pick up any other names from the dive |