Closed Quicksaver closed 10 years ago
Correction, OmniSidebar's downloads sidebar broadcaster id changed for Firefox 26, not 29. I forgot this had nothing to do with Australis, sorry about that.
Corrected, thanks! I also switched to use broadcaster with AiOS: currently all works fine for me with All-in-One Sidebar 0.7.21 and OmniSidebar 1.3.2.
Test version: download_panel_tweaker-0.2.1pre5-fx.xpi (source).
Yep, it's working great! Thanks!
Hey Infocatcher,
There's a little problem when you change the "Hotkey for downloads (Ctrl+J)" option to "Toggle sidebar". Result: the keyboard shortcut will always open, but never close the sidebar.
I saw in the code that you're using OmniSidebar's menu item to do the command, but if in OmniSidebar you enable the option "Don't close the sidebar from drop-down menus" (which will be enabled by default in the next version), it will never close the downloads sidebar because, technically, it is the "menu item" that's doing the command.
The solution is simple: get the broadcaster instead of the menuitem and do the command from there. The broadcaster id changes for Australis (Firefox 29), but the menuitem id stays the same, so for backwards compatibility it'll probably be better to get it from the menuitem's "observes" attribute. Basically change:
to something like