diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-03-14 17:37:21 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-03-14 17:37:21 +0000 |
commit | 5148b720cf8aa9ab2c89442ff528c5b344da556e (patch) | |
tree | 94c68d5551f00eb3f9828931c8545c42050fd564 /include/datetime/actions.h | |
parent | 8c4067b5484a81e2bb9158266601e30262bfb119 (diff) | |
parent | 01dca64fc75b6bff4494f1886f2397f6fd0ad8d1 (diff) | |
download | ayatana-indicator-datetime-5148b720cf8aa9ab2c89442ff528c5b344da556e.tar.gz ayatana-indicator-datetime-5148b720cf8aa9ab2c89442ff528c5b344da556e.tar.bz2 ayatana-indicator-datetime-5148b720cf8aa9ab2c89442ff528c5b344da556e.zip |
Don't show the "Add Event..." button if the calendar app can't be found. Fixes: 1250632
Diffstat (limited to 'include/datetime/actions.h')
-rw-r--r-- | include/datetime/actions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/datetime/actions.h b/include/datetime/actions.h index 99e78f5..2c4217c 100644 --- a/include/datetime/actions.h +++ b/include/datetime/actions.h @@ -45,6 +45,7 @@ public: virtual void open_desktop_settings() =0; virtual void open_phone_settings() =0; virtual void open_phone_clock_app() =0; + virtual bool can_open_planner() const = 0; virtual void open_planner() =0; virtual void open_planner_at(const DateTime&) =0; virtual void open_appointment(const std::string& uid) =0; |