diff options
author | Tom Willemsen | 2012-10-26 00:25:51 +0200 |
---|---|---|
committer | Tom Willemsen | 2012-10-26 00:25:51 +0200 |
commit | 33b73cac14f28e91cd90e0fb98579bf7690f637f (patch) | |
tree | e71842ee188517ea9718729b2330b869988fe0db /debian/eye-on-manga.doc-base.EX | |
parent | 7ffc87d99d0435146358c6ea1dd90ddaae294f51 (diff) | |
download | eye-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 'debian/eye-on-manga.doc-base.EX')
0 files changed, 0 insertions, 0 deletions