[Fedora-spins] [spin-kickstarts] change desktop file in menu to anaconda too

Matthias Clasen mclasen at fedoraproject.org
Tue Mar 15 17:57:45 UTC 2011


commit 7613ad6ba1cea604d302c6d6596e1ceeb459e7ba
Author: Ray Strode <rstrode at redhat.com>
Date:   Tue Mar 15 13:55:56 2011 -0400

    change desktop file in menu to anaconda too
    
    This is like the previous commit but for the menu,
    not the dash.

 fedora-live-desktop.ks |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index 7a1b9eb..677c8c4 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -51,8 +51,8 @@ const Main = imports.ui.main;
 const Util = imports.misc.util;
 
 function main() {
-    let item = new PopupMenu.PopupMenuItem(Shell.AppSystem.get_default().get_app('liveinst.desktop').get_name());
-    item.connect('activate', function() { Util.spawnDesktop('liveinst'); });
+    let item = new PopupMenu.PopupMenuItem(Shell.AppSystem.get_default().get_app('anaconda.desktop').get_name());
+    item.connect('activate', function() { Util.spawnDesktop('anaconda'); });
 
     Main.panel._statusmenu.menu.addMenuItem(item, Main.panel._statusmenu.menu._getMenuItems().length - 1);
 }


More information about the spins mailing list