Commit 87653731 authored by Michael Liang's avatar Michael Liang
Browse files

Change Evolution to Thunderbird in the calendar and fix fallback interface


Signed-off-by: default avatarMichael Liang <ml09@c3sl.ufpr.br>
parent d2422fe6
......@@ -21,7 +21,7 @@ PanelMenuBar.menubar.menuitem {
}
PanelApplet .button,
PanelApplet .button:prelight {
color: white;
color: black;
}
PanelApplet .button:active:prelight:backdrop,
PanelApplet .button:active:prelight,
......
......@@ -240,9 +240,9 @@ const DateMenuButton = new Lang.Class({
this.menu.close();
let calendarSettings = new Gio.Settings({ schema: 'org.gnome.desktop.default-applications.office.calendar' });
let tool = calendarSettings.get_string('exec');
if (tool.length == 0 || tool == 'evolution') {
if (tool.length == 0 || tool == 'thunderbird') {
// TODO: pass the selected day
Util.spawn(['evolution', '-c', 'calendar']);
Util.spawn(['thunderbird']);
} else {
let needTerm = calendarSettings.get_boolean('needs-term');
if (needTerm) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment