gex: add eslint, cleanup parsing of some stuff

This commit is contained in:
Luke D. Jones
2023-07-01 21:47:31 +12:00
parent b182fbd323
commit 13965b2261
15 changed files with 1750 additions and 881 deletions
@@ -14,12 +14,12 @@ export const IndicateMiniLed = GObject.registerClass(
// Create the icon for the indicator
this._indicator = this._addIndicator();
this._indicator.icon_name = 'selection-mode-symbolic';
this._indicator.icon_name = "selection-mode-symbolic";
// Showing the indicator when the feature is enabled
this._settings = ExtensionUtils.getSettings();
this._settings.bind('mini-led-enabled',
this._indicator, 'visible',
this._settings.bind("mini-led-enabled",
this._indicator, "visible",
Gio.SettingsBindFlags.DEFAULT);
// Add the indicator to the panel and the toggle to the menu