Skip to content

Commit

Permalink
Updates to address gnome extensions review
Browse files Browse the repository at this point in the history
  • Loading branch information
toolstack committed Feb 10, 2024
1 parent 1a52cf3 commit ea6209a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/prefs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit ea6209a

Please sign in to comment.