mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
cleanup: drop unnecessary call to initTranslations()
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
1
prefs.js
1
prefs.js
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user