systemMonitor: don't propagate clicks up

Otherwise you get gnome-system-monitor and a message tray menu.
This commit is contained in:
Giovanni Campagna
2013-06-18 21:36:41 +02:00
parent b66824c500
commit 858e67d33e

View File

@@ -34,6 +34,7 @@ const Indicator = new Lang.Class({
this.drawing_area.connect('button-press-event', function() {
let app = Shell.AppSystem.get_default().lookup_app('gnome-system-monitor.desktop');
app.open_new_window(-1);
return true;
});
this.actor = new St.Bin({ style_class: "extension-systemMonitor-indicator-area",