dateMenu: append .desktop to evolution strings
Since that is what the actual app_id's are.
This commit is contained in:
parent
96b76709e9
commit
c9c1c89a27
@ -221,8 +221,8 @@ const DateMenuButton = new Lang.Class({
|
||||
this.menu.close();
|
||||
|
||||
let app = Gio.AppInfo.get_default_for_type('text/calendar', false);
|
||||
if (app.get_id() == 'evolution')
|
||||
app = Gio.DesktopAppInfo.new('evolution-calendar');
|
||||
if (app.get_id() == 'evolution.desktop')
|
||||
app = Gio.DesktopAppInfo.new('evolution-calendar.desktop');
|
||||
app.launch([], global.create_app_launch_context());
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user