diff options
author | Michal Hruby <michal.mhr@gmail.com> | 2011-02-18 17:04:57 +0100 |
---|---|---|
committer | Michal Hruby <michal.mhr@gmail.com> | 2011-02-18 17:04:57 +0100 |
commit | eccba3afd1d1cfdcdfcee0e77a952fc217a9c2a6 (patch) | |
tree | 526619119d2c3e332854f28a082ecebc4fca989b | |
parent | 8c2a200941e7503ed169fe792c533bbad9259d6c (diff) |
-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) { |