1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-30 02:43:08 +00:00

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; const Util = imports.misc.util;
function main() { function main() {
let item = new PopupMenu.PopupMenuItem(Shell.AppSystem.get_default().get_app('liveinst.desktop').get_name()); let item = new PopupMenu.PopupMenuItem(Shell.AppSystem.get_default().get_app('anaconda.desktop').get_name());
item.connect('activate', function() { Util.spawnDesktop('liveinst'); }); item.connect('activate', function() { Util.spawnDesktop('anaconda'); });
Main.panel._statusmenu.menu.addMenuItem(item, Main.panel._statusmenu.menu._getMenuItems().length - 1); Main.panel._statusmenu.menu.addMenuItem(item, Main.panel._statusmenu.menu._getMenuItems().length - 1);
} }