diff --git a/src/prefs.ts b/src/prefs.ts index 7934482..b34777d 100644 --- a/src/prefs.ts +++ b/src/prefs.ts @@ -15,7 +15,6 @@ export default class RoundedWindowCornresPrefs extends ExtensionPreferences { // Classical GTK4 template ui need this to make translatable string works imports.gettext.textdomain (this.uuid) - this.initTranslations (this.uuid) } _load_css () { @@ -52,6 +51,13 @@ export default class RoundedWindowCornresPrefs extends ExtensionPreferences { this._load_css () } + + disable () { + _log ('Disconnect Signals') + connections.get ().disconnect_all () + connections.del () + uninit_settings () + } } declare const imports: {