Your message dated Fri, 27 Jul 2012 09:30:16 +0200
with message-id 
<caagy_vn-ika6yuav1jhxo970oxo48c6guuykfzdju+v_yad...@mail.gmail.com>
and subject line closing some "old" bugs.
has caused the Debian Bug report #650693,
regarding gnome-shell-extensions: appList variable is not defined in apps-menu 
extension.js file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
650693: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650693
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gnome-shell-extensions
Version: 3.2.0-1
Severity: normal

Dear Maintainer,
apps-menu extension doesn't work.
appList variable in extension.js file is not defined.
I fixed it this way:

    _loadCategory: function(dir, menu) {
        var iter = dir.iter();
        var nextType;
        while ((nextType = iter.next()) != GMenu.TreeItemType.INVALID) {
            if (nextType == GMenu.TreeItemType.ENTRY) {
                var entry = iter.get_entry();
                var app = appsys.lookup_app_by_tree_entry(entry);
                menu.addMenuItem(new AppMenuItem(app));
            } else if (nextType == GMenu.TreeItemType.DIRECTORY) {
+                let dir = iter.get_directory();
+                let item = new PopupMenu.PopupSubMenuMenuItem(dir.get_name());
-                this._loadCategory(iter.get_directory(), appList);
+                this._loadCategory(iter.get_directory(), item.menu);
            }
        }
    },

and it seems to work.

Best Regards.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-shell-extensions depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.10.0-3
ii  gconf-gsettings-backend [gsettings-backend]  3.2.3-1 
ii  gir1.2-gtop-2.0                              2.28.4-1
ii  gnome-shell                                  3.2.1-5 

gnome-shell-extensions recommends no packages.

gnome-shell-extensions suggests no packages.

-- no debconf information

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




--- End Message ---
--- Begin Message ---
fixed 650693 3.4.0-2
fixed 648633 3.4.0-2
thanks

--- End Message ---

Reply via email to