diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-10-01 07:17:16 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-10-01 07:17:16 +0200 |
commit | 71137cc5832110d91599d68790402cf196762ed3 (patch) | |
tree | e7985bbfb6ca50ea738b38a9f852ee51431d48a7 /src/library/LastImportPage.vala | |
parent | 8ae550d463720d5d1c0e253af29843ff15de1a54 (diff) | |
parent | 1e92964463e564bb3359a7110342182fcfdc67f2 (diff) |
Merge branch 'release/debian/0.30.1-1'debian/0.30.1-1
Diffstat (limited to 'src/library/LastImportPage.vala')
-rw-r--r-- | src/library/LastImportPage.vala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/library/LastImportPage.vala b/src/library/LastImportPage.vala index be30989..84f582e 100644 --- a/src/library/LastImportPage.vala +++ b/src/library/LastImportPage.vala @@ -35,6 +35,20 @@ public class LastImportPage : CollectionPage { // set up view manager for the last import roll on_import_rolls_altered(); } + + public LastImportPage.for_id(ImportID id) { + base(NAME); + + this.last_import_id = id; + + get_view().halt_all_monitoring(); + get_view().clear(); + + foreach (MediaSourceCollection col in MediaCollectionRegistry.get_instance().get_all()) { + get_view().monitor_source_collection(col, new LastImportViewManager(this, + last_import_id), last_import_alteration); + } + } ~LastImportPage() { foreach (MediaSourceCollection col in MediaCollectionRegistry.get_instance().get_all()) { |