[gnome-shell] [AppWell] Don't duplicate running+favorite
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] [AppWell] Don't duplicate running+favorite
- Date: Wed, 14 Oct 2009 19:36:45 +0000 (UTC)
commit 7bec02dcb1efabee08f8a83ca5765b7721d1848b
Author: Colin Walters <walters verbum org>
Date: Wed Oct 14 15:36:58 2009 -0400
[AppWell] Don't duplicate running+favorite
Regression introduced with previous patch.
js/ui/appDisplay.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 14f246b..47dd726 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -865,6 +865,8 @@ AppWell.prototype = {
for (let i = 0; i < running.length; i++) {
let app = running[i];
+ if (app.get_id() in favoriteIds)
+ continue;
let display = new RunningWellItem(app, false);
this._grid.actor.add_actor(display.actor);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]