aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/actions.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-03-14 17:37:21 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-03-14 17:37:21 +0000
commit5148b720cf8aa9ab2c89442ff528c5b344da556e (patch)
tree94c68d5551f00eb3f9828931c8545c42050fd564 /include/datetime/actions.h
parent8c4067b5484a81e2bb9158266601e30262bfb119 (diff)
parent01dca64fc75b6bff4494f1886f2397f6fd0ad8d1 (diff)
downloadayatana-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.h1
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;