[gnome-shell] [AppSwitcher] Fix hiding the arrow on application change.
- From: Steve Frécinaux <sfre src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] [AppSwitcher] Fix hiding the arrow on application change.
- Date: Thu, 8 Oct 2009 15:04:52 +0000 (UTC)
commit 8929f43ad9cf718eb5066971ece6f0910abbc0e9
Author: Steve Frécinaux <code istique net>
Date: Thu Oct 8 13:14:15 2009 +0200
[AppSwitcher] Fix hiding the arrow on application change.
The down arrow is shown when an application with more than one
window is selected, but the window list is not always displayed.
This patch fixes the fact that the arrow was not hidden when one
focus an app with a single window when coming from an app with
multiple windows, if the window list was not displayed.
https://bugzilla.gnome.org/show_bug.cgi?id=597791
js/ui/altTab.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index 90e7562..600e1cc 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -248,9 +248,11 @@ AltTabPopup.prototype = {
},
_select : function(app, window, noTimeout) {
- if ((app != this._currentApp || !window) && this._thumbnails) {
- this._thumbnails.actor.destroy();
- this._thumbnails = null;
+ if (app != this._currentApp || !window) {
+ if (this._thumbnails) {
+ this._thumbnails.actor.destroy();
+ this._thumbnails = null;
+ }
this._appSwitcher.showArrow(-1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]