8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
31 lines
934 B
Diff
31 lines
934 B
Diff
--- a/data/org.gnome.Shell.Extensions.GSConnect.desktop
|
|
+++ b/data/org.gnome.Shell.Extensions.GSConnect.desktop
|
|
@@ -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
|
|
--- a/src/extension.js
|
|
+++ b/src/extension.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;
|
|
--- 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;
|