system-monitor: Adjust to renamed .desktop file

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/302>
This commit is contained in:
Florian Müllner
2024-02-06 20:47:44 +01:00
parent 86761952c3
commit fb52f89cc5
+1 -1
View File
@@ -431,7 +431,7 @@ class Indicator extends PanelMenu.Button {
_updateSystemMonitorApp() {
const appSystem = Shell.AppSystem.get_default();
this._systemMonitorApp =
appSystem.lookup_app('gnome-system-monitor.desktop');
appSystem.lookup_app('org.gnome.SystemMonitor.desktop');
this._placeholder.gicon = this._systemMonitorApp?.icon ?? null;
this.visible = this._systemMonitorApp != null;
}