1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-08 08:19:59 +02:00

chore: Made container specific essentials the default, b=no-bug, c=workspaces, common, tests

This commit is contained in:
Mr. M 2025-06-26 20:49:55 +02:00
parent f0169277a0
commit 69f60b7066
No known key found for this signature in database
GPG key ID: 6292C4C8F8652B18
8 changed files with 14 additions and 13 deletions

View file

@ -742,19 +742,13 @@ var gZenWorkspacesSettings = {
};
Services.prefs.addObserver('zen.tab-unloader.enabled', tabsUnloaderPrefListener);
Services.prefs.addObserver('zen.glance.enabled', tabsUnloaderPrefListener); // We can use the same listener for both prefs
Services.prefs.addObserver(
'zen.workspaces.container-specific-essentials-enabled',
tabsUnloaderPrefListener
);
Services.prefs.addObserver('zen.workspaces.separate-essentials', tabsUnloaderPrefListener);
Services.prefs.addObserver('zen.glance.activation-method', tabsUnloaderPrefListener);
window.addEventListener('unload', () => {
Services.prefs.removeObserver('zen.tab-unloader.enabled', tabsUnloaderPrefListener);
Services.prefs.removeObserver('zen.glance.enabled', tabsUnloaderPrefListener);
Services.prefs.removeObserver('zen.glance.activation-method', tabsUnloaderPrefListener);
Services.prefs.removeObserver(
'zen.workspaces.container-specific-essentials-enabled',
tabsUnloaderPrefListener
);
Services.prefs.removeObserver('zen.workspaces.separate-essentials', tabsUnloaderPrefListener);
});
},
};
@ -1153,7 +1147,7 @@ Preferences.addAll([
default: true,
},
{
id: 'zen.workspaces.container-specific-essentials-enabled',
id: 'zen.workspaces.separate-essentials',
type: 'bool',
default: false,
},