class IMDbDownloadDialog : Note {
private bool plots;
+ private bool actors;
- public IMDbDownloadDialog (Gtk.Window window, bool _plots) {
+ public IMDbDownloadDialog (Gtk.Window window, bool _plots, bool _actors) {
transient_parent = window;
plots = _plots;
+ actors = _actors;
}
construct {
int flags = IMDbDownloader.MOVIES | IMDbDownloader.GENRES | IMDbDownloader.RATINGS | IMDbDownloader.AKAS;
if (plots)
flags |= IMDbDownloader.PLOTS;
+ if (actors)
+ flags |= IMDbDownloader.ACTORS;
server.download (mirror, flags);
} catch (DBus.Error e) {