Commit graph

4 commits

Author SHA1 Message Date
395c534fd9 Add Collect filter
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.
2012-10-20 01:06:39 +02:00
Tom Willemsen
dd7b20b120 Selection
The main window now actually looks and works like it should as defined by the style guides
2010-11-18 00:23:41 +01:00
Tom Willemsen
bf85ca8598 Edit which volumes you have 2010-10-22 02:19:47 +02:00
Tom Willemsen
8a45361b4f Changed name from Collections to Eye on Manga 2010-10-21 21:00:26 +02:00