| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2017 eyeo GmbH | 3 * Copyright (C) 2006-2017 eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 selectedItem = subscription; | 319 selectedItem = subscription; |
| 320 selectedPrefix = prefix; | 320 selectedPrefix = prefix; |
| 321 } | 321 } |
| 322 } | 322 } |
| 323 } | 323 } |
| 324 } | 324 } |
| 325 return selectedItem; | 325 return selectedItem; |
| 326 }, | 326 }, |
| 327 | 327 |
| 328 /** | 328 /** |
| 329 * DEPRECATED, do not use! | |
| 330 */ | |
| 331 yield: function() | |
| 332 { | |
| 333 }, | |
| 334 | |
| 335 /** | |
| 336 * Saves sidebar state before detaching/reattaching | 329 * Saves sidebar state before detaching/reattaching |
| 337 */ | 330 */ |
| 338 setParams: function(params) | 331 setParams: function(params) |
| 339 { | 332 { |
| 340 sidebarParams = params; | 333 sidebarParams = params; |
| 341 }, | 334 }, |
| 342 | 335 |
| 343 /** | 336 /** |
| 344 * Retrieves and removes sidebar state after detaching/reattaching | 337 * Retrieves and removes sidebar state after detaching/reattaching |
| 345 */ | 338 */ |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 Cu.reportError(e); | 730 Cu.reportError(e); |
| 738 // Expected, ctypes isn't supported in Gecko 1.9.2 | 731 // Expected, ctypes isn't supported in Gecko 1.9.2 |
| 739 return null; | 732 return null; |
| 740 } | 733 } |
| 741 }); | 734 }); |
| 742 | 735 |
| 743 if ("@mozilla.org/messenger/headerparser;1" in Cc) | 736 if ("@mozilla.org/messenger/headerparser;1" in Cc) |
| 744 XPCOMUtils.defineLazyServiceGetter(Utils, "headerParser", "@mozilla.org/messen
ger/headerparser;1", "nsIMsgHeaderParser"); | 737 XPCOMUtils.defineLazyServiceGetter(Utils, "headerParser", "@mozilla.org/messen
ger/headerparser;1", "nsIMsgHeaderParser"); |
| 745 else | 738 else |
| 746 Utils.headerParser = null; | 739 Utils.headerParser = null; |
| OLD | NEW |