Commit graph

11 commits

Author SHA1 Message Date
760a836e55 Upgrade license to GPLv3 2013-05-03 00:34:43 +02:00
4d3bb22d33 Rename edit window to detail window
It won't function as an edit window much longer.
2012-10-23 01:49:27 +02:00
207fc31204 Remove some old comments 2012-10-23 01:34:06 +02:00
8e49f0c56e Remember filter after closing edit window
* 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'.
2012-10-21 15:26:34 +02:00
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
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
Tom Willemsen
dcf562d835 Edit screen 2010-10-21 19:29:14 +02:00
Tom Willemsen
10901f7dcb Edit window 2010-10-20 22:37:54 +02:00
Tom Willemsen
c34819ee2c Data
Data is gotten from an sqlite3 database
New series can be added to the database
2010-10-19 01:28:46 +02:00
Tom Willemsen
767ca99d33 Initial commit 2010-10-17 13:48:02 +02:00