Use meta_window_is_skip_taskbar() directly

Rather than going through ShellWindowTracker, we can just clean up
the code to use the underlying MetaWindow property directly.

https://bugzilla.gnome.org/show_bug.cgi?id=723308
This commit is contained in:
Florian Müllner
2014-01-30 18:04:18 +01:00
parent d44f40d105
commit b4680a5c25
4 changed files with 6 additions and 8 deletions

View File

@ -1532,7 +1532,7 @@ const AppIconMenu = new Lang.Class({
this.removeAll();
let windows = this._source.app.get_windows().filter(function(w) {
return Shell.WindowTracker.is_window_interesting(w);
return !w.skip_taskbar;
});
// Display the app windows menu items and the separator between windows