[gnome-shell] dateMenu: Re-add special-casing of evolution-calendar



commit 390491b37a75a89cafeb73b37f3803fb40fcde49
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Mar 23 09:29:34 2013 +0100

    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

 js/ui/dateMenu.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index abd7da4..acb0418 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -221,6 +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');
         app.launch([], global.create_app_launch_context());
     },
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]