cleanup: drop unnecessary call to initTranslations()

This commit is contained in:
Andy Holmes
2023-09-21 19:22:27 -07:00
parent 7bf1de0037
commit 05281ab7a0
2 changed files with 0 additions and 3 deletions

View File

@@ -56,8 +56,6 @@ export default class DashToPanelExtension extends Extension {
console.log(`Initiating ${this.uuid}`);
this._realHasOverview = Main.sessionMode.hasOverview;
this.initTranslations();
//create an object that persists until gnome-shell is restarted, even if the extension is disabled
PERSISTENTSTORAGE = {};

View File

@@ -2332,7 +2332,6 @@ const BuilderScope = GObject.registerClass({
export default class DashToPanelPreferences extends ExtensionPreferences {
fillPreferencesWindow(window) {
window._settings = this.getSettings('org.gnome.shell.extensions.dash-to-panel');
this.initTranslations();
// use default width or window
window.set_default_size(0, 740);