Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15080613bc | ||
|
|
2383462a60 | ||
|
|
c0920301b4 | ||
|
|
5a46645948 | ||
|
|
7c247e6b84 |
8
NEWS
8
NEWS
@@ -1,3 +1,11 @@
|
||||
3.18.4
|
||||
======
|
||||
* apps-menu: Ignore .desktop entries from legacy dirs
|
||||
|
||||
3.18.3
|
||||
======
|
||||
* apps-menu: Fix .desktop entries in subdirectories
|
||||
|
||||
3.18.2
|
||||
======
|
||||
* Fix classic style issues
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
AC_PREREQ(2.63)
|
||||
AC_INIT([gnome-shell-extensions],[3.18.2],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
|
||||
AC_INIT([gnome-shell-extensions],[3.18.4],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_AUX_DIR([config])
|
||||
|
||||
@@ -397,18 +397,15 @@ const ApplicationsButton = new Lang.Class({
|
||||
while ((nextType = iter.next()) != GMenu.TreeItemType.INVALID) {
|
||||
if (nextType == GMenu.TreeItemType.ENTRY) {
|
||||
let entry = iter.get_entry();
|
||||
let appInfo = entry.get_app_info();
|
||||
let id;
|
||||
try {
|
||||
id = appInfo.get_id(); // catch non-UTF8 filenames
|
||||
id = entry.get_desktop_file_id(); // catch non-UTF8 filenames
|
||||
} catch(e) {
|
||||
continue;
|
||||
}
|
||||
let app = appSys.lookup_app(id);
|
||||
if (appInfo.should_show()) {
|
||||
let menu_id = dir.get_menu_id();
|
||||
if (app && app.get_app_info().should_show())
|
||||
this.applicationsByCategory[categoryId].push(app);
|
||||
}
|
||||
} else if (nextType == GMenu.TreeItemType.DIRECTORY) {
|
||||
let subdir = iter.get_directory();
|
||||
if (!subdir.get_is_nodisplay())
|
||||
|
||||
Reference in New Issue
Block a user