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:
parent
5d5d8fe116
commit
7613ad6ba1
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user