forked from mirrors/nixpkgs
27 lines
1.5 KiB
Diff
27 lines
1.5 KiB
Diff
diff --git a/src/Indicator.vala b/src/Indicator.vala
|
|
index 4aba03c..6385bc9 100644
|
|
--- a/src/Indicator.vala
|
|
+++ b/src/Indicator.vala
|
|
@@ -55,7 +55,7 @@ public class DateTime.Indicator : Wingpanel.Indicator {
|
|
|
|
panel_label.button_press_event.connect ((e) => {
|
|
if (e.button == Gdk.BUTTON_MIDDLE) {
|
|
- var command = "io.elementary.calendar --show-day %s".printf (new GLib.DateTime.now_local ().format ("%F"));
|
|
+ var command = "@elementary_calendar@/bin/io.elementary.calendar --show-day %s".printf (new GLib.DateTime.now_local ().format ("%F"));
|
|
try {
|
|
var appinfo = AppInfo.create_from_commandline (command, null, AppInfoCreateFlags.NONE);
|
|
appinfo.launch_uris (null, null);
|
|
diff --git a/src/Widgets/calendar/CalendarView.vala b/src/Widgets/calendar/CalendarView.vala
|
|
index cb54253..7477d1a 100644
|
|
--- a/src/Widgets/calendar/CalendarView.vala
|
|
+++ b/src/Widgets/calendar/CalendarView.vala
|
|
@@ -242,7 +242,7 @@ public class DateTime.Widgets.CalendarView : Gtk.Grid {
|
|
|
|
// TODO: As far as maya supports it use the Dbus Activation feature to run the calendar-app.
|
|
public void show_date_in_maya (GLib.DateTime date) {
|
|
- var command = "io.elementary.calendar --show-day %s".printf (date.format ("%F"));
|
|
+ var command = "@elementary_calendar@/bin/io.elementary.calendar --show-day %s".printf (date.format ("%F"));
|
|
|
|
try {
|
|
var appinfo = AppInfo.create_from_commandline (command, null, AppInfoCreateFlags.NONE);
|