Unverified Commit 0fd2db47 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

gnomeExtensions: auto-update (#493095)

parents 6bcbb551 f78d5ba8
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -7,6 +7,10 @@
    "Applications_Menu@rmy.pobox.com",
    "apps-menu@gnome-shell-extensions.gcampax.github.com"
  ],
  "auto-select-headset": [
    "autoselectheadset@Anduril97.github.com",
    "autoselectheadset@josephlbarnett.github.com"
  ],
  "battery-time": [
    "batime@martin.zurowietz.de",
    "battery-time@eetumos.github.com",
@@ -24,6 +28,10 @@
    "lockkeys@febueldo.test",
    "lockkeys@vaina.lt"
  ],
  "memento-mori": [
    "memento-mori@paveloom",
    "memento-mori@vedeshpadal"
  ],
  "mouse-follows-focus": [
    "mouse-follows-focus@crisidev.org",
    "mousefollowsfocus@matthes.biz"
@@ -32,6 +40,14 @@
    "nepali-calendar-gs-extension@subashghimire.info.np",
    "nepali-date@biplab"
  ],
  "net-speed": [
    "netspeed@alynx.one",
    "netspeed@shivamksharma.github.io"
  ],
  "night-light-toggle": [
    "night-light-toggle@egoistpizza.github.com",
    "nightlighttoggle@sam"
  ],
  "persian-calendar": [
    "PersianCalendar@oxygenws.com",
    "persian-calendar@iamrezamousavi.gmail.com"
+7 −0
Original line number Diff line number Diff line
@@ -258,4 +258,11 @@ lib.trivial.pipe super [
      rm utilities-teatime.svg
    '';
  })

  (patchExtension "named-workspaces@a31.at" {
    postPatch = ''
      # remove duplicate schema file
      rm schemas/org.gnome.shell.extensions.workspace-name.gschema.xml
    '';
  })
]
+10 −11
Original line number Diff line number Diff line
@@ -40,21 +40,20 @@ index 4fae9ef..5127eff 100644
             fileItem.unsetSelected();
             xdgEmailCommand.push('--attach');
diff --git a/app/preferences.js b/app/preferences.js
index c6517a3..1379a0e 100644
index 94ec3c7..823dd5c 100644
--- a/app/preferences.js
+++ b/app/preferences.js
@@ -46,9 +46,12 @@ var prefsWindow;
@@ -46,9 +46,11 @@ var prefsWindow;
  */
 function init(path) {
     let schemaSource = GioSSS.get_default();
-    let schemaGtk = schemaSource.lookup(Enums.SCHEMA_GTK, true);
     const schemaSource = GioSSS.get_default();
-    const schemaGtk = schemaSource.lookup(Enums.SCHEMA_GTK, true);
+    const schemaSourceGtk = Gio.SettingsSchemaSource.new_from_directory('@gtk3_gsettings_path@', Gio.SettingsSchemaSource.get_default(), true);
+    let schemaGtk = schemaSourceGtk.lookup(Enums.SCHEMA_GTK, true);
+    console.log('schemaGtk: ' + schemaGtk);
     gtkSettings = new Gio.Settings({settings_schema: schemaGtk});
-    let schemaObj = schemaSource.lookup(Enums.SCHEMA_NAUTILUS, true);
-    const schemaObj = schemaSource.lookup(Enums.SCHEMA_NAUTILUS, true);
+    const schemaSourceNautilus = Gio.SettingsSchemaSource.new_from_directory('@nautilus_gsettings_path@', Gio.SettingsSchemaSource.get_default(), true);
+    let schemaObj = schemaSourceNautilus.lookup(Enums.SCHEMA_NAUTILUS, true);
+    const schemaObj = schemaSourceNautilus.lookup(Enums.SCHEMA_NAUTILUS, true);
     if (!schemaObj) {
         nautilusSettings = null;
     } else {
@@ -68,7 +67,7 @@ index c6517a3..1379a0e 100644
         nautilusCompression = null;
     } else {
diff --git a/extension.js b/extension.js
index 774fbef..3f2023b 100644
index 0f8a317..c768649 100644
--- a/extension.js
+++ b/extension.js
@@ -17,6 +17,7 @@
@@ -79,7 +78,7 @@ index 774fbef..3f2023b 100644
 import GLib from 'gi://GLib'
 import Gio from 'gi://Gio'
 import Meta from 'gi://Meta'
@@ -391,9 +392,9 @@ export default class DING extends Extension {
@@ -396,9 +397,9 @@ export default class DING extends Extension {
                     contents += String.fromCharCode(readData[i]);
                 }
             }
+20 −6
Original line number Diff line number Diff line
@@ -27,21 +27,35 @@
  "mousefollowsfocus@matthes.biz" = "mouse-follows-focus";
  "mouse-follows-focus@crisidev.org" = "mouse-follows-focus-2";

  "power-profile-indicator@laux.wtf" = "power-profile-indicator";
  "power-profile@fthx" = "power-profile-indicator-2";

  "fullscreen-to-empty-workspace@aiono.dev" = "fullscreen-to-empty-workspace";
  "fullscreen-to-empty-workspace2@corgijan.dev" = "fullscreen-to-empty-workspace-2";

  "eur-usd-gshell@vezza.github.com" = "eur-usd";
  "usd-mxn-gshell@kinduff.github.com" = "usd-mxn";

  "lockkeys@febueldo.test" = "lock-keys";
  "lockkeys@vaina.lt" = "lock-keys-2";

  "memento-mori@paveloom" = "memento-mori";
  "memento-mori@vedeshpadal" = "memento-mori-2";

  "netspeed@alynx.one" = "net-speed";
  "netspeed@shivamksharma.github.io" = "net-speed-2";

  "night-light-toggle@egoistpizza.github.com" = "night-light-toggle";
  "nightlighttoggle@sam" = "night-light-toggle-2";

  "activitywatch-status@cweiske.de" = "activitywatch-status";
  "aw-status@brayo.dev" = "aw-status";

  "autoselectheadset@josephlbarnett.github.com" = "auto-select-headset";
  "autoselectheadset@Anduril97.github.com" = "auto-select-headset-2";

  # ############################################################################
  # These extensions no longer collide. We preserve the old attribute name for backwards compatibility.
  "floatingDock@sun.wxg@gmail.com" = "floating-dock-2";
  "true-color-window-invert@lynet101" = "true-color-window-invert";
  "volume_scroller@francislavoie.github.io" = "volume-scroller-2";
  "openweather-extension@penguin-teal.github.io" = "openweather-refined";
  "fullscreen-to-empty-workspace2@corgijan.dev" = "fullscreen-to-empty-workspace-2";
  "power-profile@fthx" = "power-profile-indicator-2";

  # ############################################################################
  # Overrides for extensions that were manually packaged in the past but are gradually
+1679 −780

File changed.

Preview size limit exceeded, changes collapsed.