Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Menu Applet - fix Administration category not being displayed. #1167

Merged
merged 1 commit into from

2 participants

@mtwebster
Collaborator

No description provided.

@clefebvre clefebvre merged commit 4567b87 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +3 −2 files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js
View
5 files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js
@@ -1274,7 +1274,7 @@ MyApplet.prototype = {
if (nextType == GMenu.TreeItemType.ENTRY) {
var entry = iter.get_entry();
if (!entry.get_app_info().get_nodisplay()) {
- var app = appsys.lookup_app_by_tree_entry(entry);
+ var app = appsys.lookup_app_by_tree_entry(entry);
if (!app)
app = appsys.lookup_settings_app_by_tree_entry(entry);
dupe = this.find_dupe(app);
@@ -1292,8 +1292,9 @@ MyApplet.prototype = {
this._applicationsButtons[i].category.push(dir.get_menu_id());
}
}
+ this.applicationsByCategory[dir.get_menu_id()].push(app.get_name());
}
- }
+ }
} else if (nextType == GMenu.TreeItemType.DIRECTORY) {
subdir = iter.get_directory();
this.applicationsByCategory[subdir.get_menu_id()] = new Array();
Something went wrong with that request. Please try again.