aboutsummaryrefslogtreecommitdiffstats
path: root/antigen.sh
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-10-26 00:25:51 +0200
committerGravatar Tom Willemsen2012-10-26 00:25:51 +0200
commit33b73cac14f28e91cd90e0fb98579bf7690f637f (patch)
treee71842ee188517ea9718729b2330b869988fe0db /antigen.sh
parent7ffc87d99d0435146358c6ea1dd90ddaae294f51 (diff)
downloadeye-on-manga-33b73cac14f28e91cd90e0fb98579bf7690f637f.tar.gz
eye-on-manga-33b73cac14f28e91cd90e0fb98579bf7690f637f.zip
Add "Delete" button to detail window
* src/data.c (data_delete_manga): New function, deletes a manga and its associated volumes. (data_update_manga): Extra free. * src/eom-detail-window.c (add_menu): Add a "Delete" button to the menu. (on_delete): New function. Shows a confirmation dialog and if the user pressed "Ok" tries to delete the manga and close the window. * src/eom-main-window.c (on_row_activated): Connect to the `hide' signal instead of the `delete-event' signal. I couldn't find how te emit my own `delete-event' signal, then I found that hide works both when I close a window and when the window manager does it.
Diffstat (limited to 'antigen.sh')
0 files changed, 0 insertions, 0 deletions