diff options
-rw-r--r-- | src/zeitgeist-datahub.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zeitgeist-datahub.vala b/src/zeitgeist-datahub.vala index 5af5723..3e59a8c 100644 --- a/src/zeitgeist-datahub.vala +++ b/src/zeitgeist-datahub.vala @@ -231,12 +231,12 @@ public class DataHub : Object, DataHubService main_loop.quit (); } - public string[] get_data_source_actors (bool only_running = true) + public string[] get_data_source_actors (bool only_enabled = true) { string[] actors = {}; foreach (unowned DataSource src in sources_info) { - if (only_running && !src.is_running ()) continue; + if (only_enabled && !src.is_enabled ()) continue; unowned PtrArray template_arr = src.get_event_templates (); if (template_arr != null) { |