Bug 601255 - Hide the Private Browsing jumplist entry when inside permanent PB mode; r=dolske a=blocking-final+

This commit is contained in:
Ehsan Akhgari 2010-10-02 11:57:39 -04:00
parent 9c4c5593b1
commit a8f10cd5e3

View File

@ -166,8 +166,14 @@ var tasksCfg = [
},
args: "-private-toggle",
iconIndex: 0, // Fx app icon
open: true,
close: true,
get open() {
// Don't show when inside permanent private browsing mode
return !_privateBrowsingSvc.autoStarted;
},
get close() {
// Don't show when inside permanent private browsing mode
return !_privateBrowsingSvc.autoStarted;
},
},
];