dateMenu: append .desktop to evolution strings

Since that is what the actual app_id's are.
This commit is contained in:
Tim Lunn 2013-04-26 16:35:22 +10:00
parent 96b76709e9
commit c9c1c89a27

View File

@ -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());
},