2020-09-17 09:39:07 +01:00
|
|
|
diff --git i/data/org.gnome.Shell.Extensions.GSConnect.desktop.in w/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
|
2018-09-20 21:31:51 +01:00
|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
[Desktop Entry]
|
|
|
|
Type=Application
|
|
|
|
Name=GSConnect
|
|
|
|
-Exec=gapplication launch org.gnome.Shell.Extensions.GSConnect %U
|
|
|
|
+Exec=@gapplication@ launch org.gnome.Shell.Extensions.GSConnect %U
|
|
|
|
Terminal=false
|
|
|
|
NoDisplay=true
|
|
|
|
Icon=org.gnome.Shell.Extensions.GSConnect
|
2020-09-17 09:39:07 +01:00
|
|
|
diff --git i/src/extension.js w/src/extension.js
|
|
|
|
index 5f32aa68..872c0c61 100644
|
|
|
|
--- i/src/extension.js
|
|
|
|
+++ w/src/extension.js
|
2018-09-20 21:31:51 +01:00
|
|
|
@@ -1,5 +1,7 @@
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
+'@typelibPath@'.split(':').forEach(path => imports.gi.GIRepository.Repository.prepend_search_path(path));
|
|
|
|
+
|
|
|
|
const Gio = imports.gi.Gio;
|
2020-09-17 09:39:07 +01:00
|
|
|
const GObject = imports.gi.GObject;
|
2018-09-20 21:31:51 +01:00
|
|
|
const Gtk = imports.gi.Gtk;
|
2020-09-17 09:39:07 +01:00
|
|
|
diff --git i/src/prefs.js w/src/prefs.js
|
|
|
|
index 07e93099..1c166710 100644
|
|
|
|
--- i/src/prefs.js
|
|
|
|
+++ w/src/prefs.js
|
2018-09-20 21:31:51 +01:00
|
|
|
@@ -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;
|