aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/actions.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-03-06 17:54:57 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-03-06 17:54:57 -0600
commitdf650bec0f1c634ee773c150b451c3bdd8ed4e65 (patch)
tree0373cd9ece920ace2ac790610299b1454c464e67 /include/datetime/actions.h
parent58dd68d0f2d513f70c0348bc26bb6b4db09377df (diff)
downloadayatana-indicator-datetime-df650bec0f1c634ee773c150b451c3bdd8ed4e65.tar.gz
ayatana-indicator-datetime-df650bec0f1c634ee773c150b451c3bdd8ed4e65.tar.bz2
ayatana-indicator-datetime-df650bec0f1c634ee773c150b451c3bdd8ed4e65.zip
In the Desktop profile, don't show the 'Add Event…' button if evolution can't be launched.
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;