Bug 452689: fix opening RSS feeds in external apps, r=mano

This commit is contained in:
Gavin Sharp 2008-09-03 20:14:08 -04:00
Родитель 6eb295f797
Коммит 98e03a4eeb
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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";