diff options
Diffstat (limited to 'pkgs/desktops/gnome/extensions/gsconnect/fix-paths.patch')
-rw-r--r-- | pkgs/desktops/gnome/extensions/gsconnect/fix-paths.patch | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/pkgs/desktops/gnome/extensions/gsconnect/fix-paths.patch b/pkgs/desktops/gnome/extensions/gsconnect/fix-paths.patch index 58c02a92eb2ef..d742a0d3bf5a4 100644 --- a/pkgs/desktops/gnome/extensions/gsconnect/fix-paths.patch +++ b/pkgs/desktops/gnome/extensions/gsconnect/fix-paths.patch @@ -1,7 +1,7 @@ -diff --git i/data/org.gnome.Shell.Extensions.GSConnect.desktop.in w/data/org.gnome.Shell.Extensions.GSConnect.desktop.in +diff --git a/data/org.gnome.Shell.Extensions.GSConnect.desktop.in b/data/org.gnome.Shell.Extensions.GSConnect.desktop.in index ffb23342..b405c73b 100644 ---- i/data/org.gnome.Shell.Extensions.GSConnect.desktop.in -+++ w/data/org.gnome.Shell.Extensions.GSConnect.desktop.in +--- a/data/org.gnome.Shell.Extensions.GSConnect.desktop.in ++++ b/data/org.gnome.Shell.Extensions.GSConnect.desktop.in @@ -1,7 +1,7 @@ [Desktop Entry] Type=Application @@ -11,10 +11,10 @@ index ffb23342..b405c73b 100644 Terminal=false NoDisplay=true Icon=org.gnome.Shell.Extensions.GSConnect -diff --git i/src/extension.js w/src/extension.js -index 5f32aa68..872c0c61 100644 ---- i/src/extension.js -+++ w/src/extension.js +diff --git a/src/extension.js b/src/extension.js +index e7fd971a..8474bb3b 100644 +--- a/src/extension.js ++++ b/src/extension.js @@ -1,5 +1,7 @@ 'use strict'; @@ -23,15 +23,15 @@ index 5f32aa68..872c0c61 100644 const Gio = imports.gi.Gio; const GObject = imports.gi.GObject; const Gtk = imports.gi.Gtk; -diff --git i/src/prefs.js w/src/prefs.js -index 07e93099..1c166710 100644 ---- i/src/prefs.js -+++ w/src/prefs.js +diff --git a/src/prefs.js b/src/prefs.js +index 922ea60c..2cd62eb5 100644 +--- a/src/prefs.js ++++ b/src/prefs.js @@ -1,5 +1,7 @@ 'use strict'; +'@typelibPath@'.split(':').forEach(path => imports.gi.GIRepository.Repository.prepend_search_path(path)); + - const Gio = imports.gi.Gio; - const GLib = imports.gi.GLib; - const Gtk = imports.gi.Gtk; + const {Gio, GLib, Adw} = imports.gi; + + // Bootstrap |