Main window initialization functions and objects.
More...
Go to the source code of this file.
Main window initialization functions and objects.
Definition in file mainWinInit.js.
window addEventListener |
( |
"load" |
, |
|
|
mainWinInit. |
onLoad, |
|
|
false |
|
|
) |
| |
function addSmartPlaylist |
( |
|
aItem | ) |
|
function createDefaultSmartPlaylists |
( |
| ) |
|
Components utils import |
( |
"resource://app/jsmodules/sbSmartMediaListColumnSpecUpdater.jsm" |
| ) |
|
function resetMinMaxCallback |
( |
| ) |
|
function SBDoFirstRun |
( |
| ) |
|
function SBFirstRunImportLibrary |
( |
| ) |
|
function SBFirstRunScanDirectories |
( |
| ) |
|
function SBFirstRunSmartPlaylists |
( |
| ) |
|
function SBInitialize |
( |
| ) |
|
Initialize the main window.
- Note
- Do not call more than once.
Definition at line 93 of file mainWinInit.js.
function SBPostOverlayLoad |
( |
| ) |
|
function SBUninitialize |
( |
| ) |
|
Uninitialize the main window.
- Note
- Do not call more than once.
Definition at line 119 of file mainWinInit.js.
function setMinMaxCallback |
( |
|
evt | ) |
|
Initial value:= function()
{
if (
mainWinInit.init_once++) { dump(
"WARNING: mainWinInit double init!!\n");
return; }
}
{
if (
mainWinInit.deinit_once++) { dump(
"WARNING: mainWinInit double deinit!!\n");
return; }
}
function checkFirstRun()
{
var firstRunDoImportLibrary =
Application.prefs.getValue(
"songbird.firstrun.do_import_library",
false);
if (firstRunDoImportLibrary) {
Application.prefs.setValue(
"songbird.firstrun.skip_load_default_page",
true);
}
}
checkFirstRun()
function SBPostOverlayLoad()
function SBUninitialize()
Uninitialize the main window.
function SBInitialize()
Initialize the main window.
Definition at line 50 of file mainWinInit.js.