backgroundMenu: Add a context menu on the background actor
Allow users to change their wallpaper and launch System Settings from it. https://bugzilla.gnome.org/show_bug.cgi?id=681540
This commit is contained in:
@ -10,6 +10,7 @@ const Meta = imports.gi.Meta;
|
||||
const Shell = imports.gi.Shell;
|
||||
const St = imports.gi.St;
|
||||
|
||||
const BackgroundMenu = imports.ui.backgroundMenu;
|
||||
const Components = imports.ui.components;
|
||||
const CtrlAltTab = imports.ui.ctrlAltTab;
|
||||
const EndSessionDialog = imports.ui.endSessionDialog;
|
||||
@ -141,6 +142,8 @@ function start() {
|
||||
windowAttentionHandler = new WindowAttentionHandler.WindowAttentionHandler();
|
||||
componentManager = new Components.ComponentManager();
|
||||
|
||||
BackgroundMenu.addBackgroundMenu(global.background_actor);
|
||||
|
||||
layoutManager.init();
|
||||
overview.init();
|
||||
|
||||
|
Reference in New Issue
Block a user