зеркало из 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 {
|
else {
|
||||||
switch (selectedItem.id) {
|
switch (selectedItem.id) {
|
||||||
case "selectedAppMenuItem":
|
case "selectedAppMenuItem":
|
||||||
prefs.setCharPref(getPrefReaderForType(feedType), "client");
|
|
||||||
prefs.setComplexValue(getPrefAppForType(feedType), Ci.nsILocalFile,
|
prefs.setComplexValue(getPrefAppForType(feedType), Ci.nsILocalFile,
|
||||||
this._selectedApp);
|
this._selectedApp);
|
||||||
|
prefs.setCharPref(getPrefReaderForType(feedType), "client");
|
||||||
break;
|
break;
|
||||||
case "defaultHandlerMenuItem":
|
case "defaultHandlerMenuItem":
|
||||||
prefs.setCharPref(getPrefReaderForType(feedType), "client");
|
|
||||||
prefs.setComplexValue(getPrefAppForType(feedType), Ci.nsILocalFile,
|
prefs.setComplexValue(getPrefAppForType(feedType), Ci.nsILocalFile,
|
||||||
this._defaultSystemReader);
|
this._defaultSystemReader);
|
||||||
|
prefs.setCharPref(getPrefReaderForType(feedType), "client");
|
||||||
break;
|
break;
|
||||||
case "liveBookmarksMenuItem":
|
case "liveBookmarksMenuItem":
|
||||||
defaultHandler = "bookmarks";
|
defaultHandler = "bookmarks";
|
||||||
|
|
Загрузка…
Ссылка в новой задаче