OK, I found a working solution: if I replace 'evolution' with
'evolution.desktop' and 'evolution-calendar' with 'evolution-
calendar.desktop' in dateMenu.js, it works perfectly:

    _onOpenCalendarActivate: function() {
        this.menu.close();

        let app = Gio.AppInfo.get_default_for_type('text/calendar', false);
        if (app.get_id() == 'evolution.desktop')
            app = Gio.DesktopAppInfo.new('evolution-calendar.desktop');
        app.launch([], global.create_app_launch_context());
    },

Any idea why it behaves differently on my setup?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1165189

Title:
  Click open calendar -> evolution mail starts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1165189/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to