[gnome-shell] dateMenu: open calendar specifically when opening evolution



commit 90f15b3c5abdb26da1b465f64b4f5891e3c50e01
Author: Dan Winship <danw gnome org>
Date:   Mon Mar 14 09:05:59 2011 -0400

    dateMenu: open calendar specifically when opening evolution
    
    https://bugzilla.gnome.org/show_bug.cgi?id=641504

 js/ui/dateMenu.js |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index 8d35bbc..6af0b68 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -205,8 +205,7 @@ DateMenuButton.prototype = {
 
     _onOpenCalendarActivate: function() {
         this.menu.close();
-        // TODO: pass '-c calendar' (to force the calendar at startup)
         // TODO: pass the selected day
-        Util.spawnDesktop('evolution');
-    },
+        Util.spawn(['evolution', '-c', 'calendar']);
+    }
 };



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