From 87b033d41d80588cd78f32905c0f11dd932abbf5 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 15 Oct 2010 04:36:13 +1100 Subject: [PATCH] Remove 'jumpto' and 'places' :dialog args. These are only available as addons now in Songbird. --HG-- extra : rebase_source : 27328afb30717da4533411912fe46be92cca5659 --- melodactyl/TODO | 1 + melodactyl/content/config.js | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/melodactyl/TODO b/melodactyl/TODO index b48acc60..8394d6ec 100644 --- a/melodactyl/TODO +++ b/melodactyl/TODO @@ -10,6 +10,7 @@ BUGS: - command-line option handling is broken in Melodactyl only - it used to work. FEATURES: +9 Bookmarks are now only supported in SB via an addon. 9 '?' - Reusing '/'. 8 Merge with SongBird's sanitizer implementation. 8 Playlist/SmartPlaylist operations & meta-data operations. diff --git a/melodactyl/content/config.js b/melodactyl/content/config.js index 21594d57..8c98222f 100644 --- a/melodactyl/content/config.js +++ b/melodactyl/content/config.js @@ -66,7 +66,6 @@ const Config = Module("config", ConfigBase, { Leave: "Triggered before exiting Songbird", }, - // TODO: remove those which don't make sense, can't be provided. dialogs: { about: ["About Songbird", function () { window.openDialog("chrome://songbird/content/xul/about.xul", "_blank", "chrome,dialog,modal,centerscreen"); }], @@ -84,16 +83,12 @@ const Config = Module("config", ConfigBase, { function () { try { window.inspectDOMDocument(content.document); } catch (e) { dactyl.echoerr("DOM Inspector extension not installed"); } }], downloads: ["Manage Downloads", function () { window.toOpenWindowByType("Download:Manager", "chrome://mozapps/content/downloads/downloads.xul", "chrome,dialog=no,resizable"); }], - jumpto: ["Jump to a media item", - function () { onJumpToFileKey(); }], newsmartplaylist: ["Open the file selector dialog", function () { SBNewSmartPlaylist(); }], openfile: ["Open the file selector dialog", function () { SBFileOpen(); }], pagesource: ["View page source", function () { window.BrowserViewSourceOfDocument(content.document); }], - places: ["Places Organizer: Manage your bookmarks and history", - function () { PlacesCommandHook.showPlacesOrganizer(ORGANIZER_ROOT_BOOKMARKS); }], preferences: ["Show Songbird preferences dialog", function () { window.openPreferences(); }], printsetup: ["Setup the page size and orientation before printing",