dateMenu: Re-add special-casing of evolution-calendar
When commit 724a2bd7
changed the way to determine the default
calendar app, it dropped all special handling of evolution.
Unfortunately we still need it to not end up with the default
mail component, so add it back.
https://bugzilla.gnome.org/show_bug.cgi?id=696432
This commit is contained in:
parent
f8ea825577
commit
390491b37a
@ -221,6 +221,8 @@ const DateMenuButton = new Lang.Class({
|
|||||||
this.menu.close();
|
this.menu.close();
|
||||||
|
|
||||||
let app = Gio.AppInfo.get_default_for_type('text/calendar', false);
|
let app = Gio.AppInfo.get_default_for_type('text/calendar', false);
|
||||||
|
if (app.get_id() == 'evolution')
|
||||||
|
app = Gio.DesktopAppInfo.new('evolution-calendar');
|
||||||
app.launch([], global.create_app_launch_context());
|
app.launch([], global.create_app_launch_context());
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user