[gnome-shell] dateMenu: append .desktop to evolution strings



commit c9c1c89a27563037d9ea1beab86ba95c7ee637a9
Author: Tim Lunn <tim feathertop org>
Date:   Fri Apr 26 16:35:22 2013 +1000

    dateMenu: append .desktop to evolution strings
    
    Since that is what the actual app_id's are.

 js/ui/dateMenu.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index acb0418..2613e58 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -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());
     },
 


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