aboutsummaryrefslogtreecommitdiffstats
path: root/src/eom-main-window.c
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-10-25 21:15:50 +0200
committerGravatar Tom Willemsen2012-10-25 21:15:50 +0200
commit7ffc87d99d0435146358c6ea1dd90ddaae294f51 (patch)
tree2c058fb61cad48e5a3f40d1d2926608382ec82b6 /src/eom-main-window.c
parent337a0ba2d28f837138aeebda5eda6fb566f3c39b (diff)
downloadeye-on-manga-7ffc87d99d0435146358c6ea1dd90ddaae294f51.tar.gz
eye-on-manga-7ffc87d99d0435146358c6ea1dd90ddaae294f51.zip
Correctly show changes when total goes down
* src/data.c (data_update_manga): When updating, set `current_qty' to the lesser of `current_qty' and `total_qty' so that current will never exceed total. If the update went well remove any volumes that have numbers greater than the `total_qty'. * src/eom-detail-window.c (eom_detail_window_load): Get to upper bound of rows, if I need 1.5 rows I actually need 2 rows, what was I thinking? Clear both tables of children before filling them up again. (cb_destroy): New function. Just calls destroy in `widget', but `gtk_widget_destroy' doesn't seem like a valid `GtkCallback'. (on_volume_toggled): When adding a volume fails, revert one from `current_qty'. Don't mess with `self->manga->current_qty', just reset the manga id, otherwise we will know that there should be one more or less volume, but won't show it in the manga's volumes collection.
Diffstat (limited to 'src/eom-main-window.c')
0 files changed, 0 insertions, 0 deletions