aboutsummaryrefslogtreecommitdiffstats
path: root/src/eom-main-window.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename edit window to detail windowGravatar Tom Willemsen2012-10-231-1/+1
| | | | It won't function as an edit window much longer.
* Restyle, reindent, refactor (a little)Gravatar Tom Willemsen2012-10-211-225/+220
|
* Remember filter after closing edit windowGravatar Tom Willemsen2012-10-211-14/+10
| | | | | | | | | | | | | | | | | * src/eom-main-window.c (eom_main_window_new): Set the `state' variable to 0 the first time around. (eom_main_window_load): Remove the `manga' parameter. Get incomplete collections when `state' is `0'. (eom_main_window_on_filter): Don't fetch any manga, just set the window's `state'. (eom_main_window_on_new): (eom_main_window_on_edit_closed): No more `manga' parameter for `eom_main_window_load'. * src/eom-main-window.h (struct _EomMainWindow): Add `state' property. * src/interface.c (interface_show_main_window): No more `manga' parameter for `eom_main_window_load'.
* Add Collect filterGravatar Tom Willemsen2012-10-201-10/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | This filter, in the main window, shows only the manga that still need to be collected, not the completed ones. * src/data.c (data_get_manga): Use `data_get_manga_for_query'. (data_get_incomplete_manga): New function, get all manga that arent' completely collected yet. (data_get_manga_for_query): New function, fetches all the manga as `query' specifies. * src/data.h: Add `data_get_incomplete_manga'. * src/eom-main-window.c (filter_args): New struct. Contains arguments needed by the filter callback. (eom_main_window_load): Accept a list of manga, this list will be used to show the manga, if it's NULL, a list of all manga is used. (eom_main_window_add_menu): Add `All' and `Collect' filter buttons. (eom_main_window_on_filter): Callback for the filter buttons, reloads the list with the correct manga. * src/eom-main-window.h: Add manga parameter to `eom_main_window_load'. * src/interface.c (interface_show_main_window): Pass `NULL' to `eom_main_window_load' to show all manga.
* Manga volumes can be marked 'read'Gravatar Tom Willemsen2011-01-301-0/+5
| | | | In the eom-edit-window a list is shown with all the available manga which indicated which ones have been read
* SelectionGravatar Tom Willemsen2010-11-181-126/+31
| | | | The main window now actually looks and works like it should as defined by the style guides
* Added little bit of memory management, removed a lot of ↵Gravatar Tom Willemsen2010-11-031-0/+3
| | | | g_print
* Edit which volumes you haveGravatar Tom Willemsen2010-10-221-39/+32
|
* Changed name from Collections to Eye on MangaGravatar Tom Willemsen2010-10-211-0/+333