24 lines
1.2 KiB
Diff
24 lines
1.2 KiB
Diff
diff --git a/system-monitor@paradoxxx.zero.gmail.com/extension.js b/system-monitor@paradoxxx.zero.gmail.com/extension.js
|
|
index b4b7f15..d139135 100644
|
|
--- a/system-monitor@paradoxxx.zero.gmail.com/extension.js
|
|
+++ b/system-monitor@paradoxxx.zero.gmail.com/extension.js
|
|
@@ -18,6 +18,9 @@
|
|
|
|
// Author: Florian Mounier aka paradoxxxzero
|
|
|
|
+imports.gi.GIRepository.Repository.prepend_search_path('@gtop_path@');
|
|
+imports.gi.GIRepository.Repository.prepend_search_path('@glib_net_path@');
|
|
+
|
|
/* Ugly. This is here so that we don't crash old libnm-glib based shells unnecessarily
|
|
* by loading the new libnm.so. Should go away eventually */
|
|
const libnm_glib = imports.gi.GIRepository.Repository.get_default().is_registered("NMClient", "1.0");
|
|
@@ -386,7 +389,7 @@ const smMountsMonitor = new Lang.Class({
|
|
connected: false,
|
|
_init: function () {
|
|
this._volumeMonitor = Gio.VolumeMonitor.get();
|
|
- let sys_mounts = ['/home', '/tmp', '/boot', '/usr', '/usr/local'];
|
|
+ let sys_mounts = ['/home', '/tmp', '/boot'];
|
|
this.base_mounts = ['/'];
|
|
sys_mounts.forEach(Lang.bind(this, function (sMount) {
|
|
if (this.is_sys_mount(sMount + '/')) {
|