change desktop file in menu to anaconda too

This is like the previous commit but for the menu,
not the dash.
This commit is contained in:
Ray Strode 2011-03-15 13:55:56 -04:00 committed by Matthias Clasen
parent 5d5d8fe116
commit 7613ad6ba1

View File

@ -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);
}