diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-03-06 17:54:57 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-03-06 17:54:57 -0600 |
commit | df650bec0f1c634ee773c150b451c3bdd8ed4e65 (patch) | |
tree | 0373cd9ece920ace2ac790610299b1454c464e67 /include | |
parent | 58dd68d0f2d513f70c0348bc26bb6b4db09377df (diff) | |
download | ayatana-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')
-rw-r--r-- | include/datetime/actions-live.h | 1 | ||||
-rw-r--r-- | include/datetime/actions.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/datetime/actions-live.h b/include/datetime/actions-live.h index 3607836..a24b844 100644 --- a/include/datetime/actions-live.h +++ b/include/datetime/actions-live.h @@ -42,6 +42,7 @@ public: void open_desktop_settings(); void open_phone_settings(); void open_phone_clock_app(); + bool can_open_planner() const; void open_planner(); void open_planner_at(const DateTime&); void open_appointment(const std::string& uid); 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; |