Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
gnome-shell-extensions
sle-classic-favorites-menu-at-end.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sle-classic-favorites-menu-at-end.patch of Package gnome-shell-extensions
Index: gnome-shell-extensions-3.20.1/extensions/apps-menu/extension.js =================================================================== --- gnome-shell-extensions-3.20.1.orig/extensions/apps-menu/extension.js +++ gnome-shell-extensions-3.20.1/extensions/apps-menu/extension.js @@ -20,6 +20,8 @@ const Pango = imports.gi.Pango; const Gettext = imports.gettext.domain('gnome-shell-extensions'); const _ = Gettext.gettext; +const SLEClassicExt = imports.ui.SLEClassicExt; + const ExtensionUtils = imports.misc.extensionUtils; const Me = ExtensionUtils.getCurrentExtension(); const Convenience = Me.imports.convenience; @@ -609,8 +611,6 @@ const ApplicationsButton = new Lang.Clas let tree = new GMenu.Tree({ menu_basename: 'applications.menu' }); tree.load_sync(); let root = tree.get_root_directory(); - let categoryMenuItem = new CategoryMenuItem(this, null); - this.categoriesBox.add_actor(categoryMenuItem.actor); let iter = root.iter(); let nextType; while ((nextType = iter.next()) != GMenu.TreeItemType.INVALID) { @@ -628,6 +628,10 @@ const ApplicationsButton = new Lang.Clas } } + let categoryMenuItem = new CategoryMenuItem(this, null); + this.categoriesBox.insert_child_at_index(categoryMenuItem.actor, + SLEClassicExt.isSLEClassicMode() ? -1 : 0); + //Load applications this._displayButtons(this._listApplications(null));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor