mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-24 12:13:08 +00:00
desktop: fix installer extension
We were using the wrong api so it didn't work.
This commit is contained in:
parent
eda88e846a
commit
907f463ac0
@ -60,7 +60,7 @@ const Util = imports.misc.util;
|
|||||||
function main() {
|
function main() {
|
||||||
let app = Shell.AppSystem.get_default().get_app('anaconda.desktop');
|
let app = Shell.AppSystem.get_default().get_app('anaconda.desktop');
|
||||||
let item = new PopupMenu.PopupMenuItem(app.get_name());
|
let item = new PopupMenu.PopupMenuItem(app.get_name());
|
||||||
item.connect('activate', function() { app.launch(); });
|
item.connect('activate', function() { app.activate(-1); });
|
||||||
|
|
||||||
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