зеркало из https://github.com/mozilla/gecko-dev.git
Bug 452689: fix opening RSS feeds in external apps, r=mano
This commit is contained in:
Родитель
6eb295f797
Коммит
98e03a4eeb
|
@ -1296,14 +1296,14 @@ FeedWriter.prototype = {
|
|||
else {
|
||||
switch (selectedItem.id) {
|
||||
case "selectedAppMenuItem":
|
||||
prefs.setCharPref(getPrefReaderForType(feedType), "client");
|
||||
prefs.setComplexValue(getPrefAppForType(feedType), Ci.nsILocalFile,
|
||||
this._selectedApp);
|
||||
prefs.setCharPref(getPrefReaderForType(feedType), "client");
|
||||
break;
|
||||
case "defaultHandlerMenuItem":
|
||||
prefs.setCharPref(getPrefReaderForType(feedType), "client");
|
||||
prefs.setComplexValue(getPrefAppForType(feedType), Ci.nsILocalFile,
|
||||
this._defaultSystemReader);
|
||||
prefs.setCharPref(getPrefReaderForType(feedType), "client");
|
||||
break;
|
||||
case "liveBookmarksMenuItem":
|
||||
defaultHandler = "bookmarks";
|
||||
|
|
Загрузка…
Ссылка в новой задаче