mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 16:57:30 +09:00
Issue #991 Part 1: Pale Moon
This commit is contained in:
parent
c64dc935f9
commit
74e02af5af
7 changed files with 16 additions and 73 deletions
|
|
@ -18,12 +18,7 @@ function LOG(str) {
|
|||
var prefB = Cc["@mozilla.org/preferences-service;1"].
|
||||
getService(Ci.nsIPrefBranch);
|
||||
|
||||
var shouldLog = false;
|
||||
try {
|
||||
shouldLog = prefB.getBoolPref("feeds.log");
|
||||
}
|
||||
catch (ex) {
|
||||
}
|
||||
var shouldLog = prefB.getBoolPref("feeds.log", false);
|
||||
|
||||
if (shouldLog)
|
||||
dump("*** Feeds: " + str + "\n");
|
||||
|
|
@ -874,11 +869,7 @@ FeedWriter.prototype = {
|
|||
Cc["@mozilla.org/preferences-service;1"].
|
||||
getService(Ci.nsIPrefBranch);
|
||||
|
||||
var handler = "bookmarks";
|
||||
try {
|
||||
handler = prefs.getCharPref(getPrefReaderForType(feedType));
|
||||
}
|
||||
catch (ex) { }
|
||||
var handler = prefs.getCharPref(getPrefReaderForType(feedType), "bookmarks");
|
||||
|
||||
switch (handler) {
|
||||
case "web": {
|
||||
|
|
@ -1076,11 +1067,7 @@ FeedWriter.prototype = {
|
|||
.addEventListener("command", this, false);
|
||||
|
||||
// first-run ui
|
||||
var showFirstRunUI = true;
|
||||
try {
|
||||
showFirstRunUI = prefs.getBoolPref(PREF_SHOW_FIRST_RUN_UI);
|
||||
}
|
||||
catch (ex) { }
|
||||
var showFirstRunUI = prefs.getBoolPref(PREF_SHOW_FIRST_RUN_UI, true);
|
||||
if (showFirstRunUI) {
|
||||
var textfeedinfo1, textfeedinfo2;
|
||||
switch (feedType) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue