[gnome-shell] overview: don't clone the whole message tray when layouting
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] overview: don't clone the whole message tray when layouting
- Date: Thu, 13 Dec 2012 22:58:03 +0000 (UTC)
commit e89ce7358aad7acfd7cf60e350a188111a355bc2
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Dec 13 17:49:06 2012 -0500
overview: don't clone the whole message tray when layouting
The message tray actor also includes notifications themselves. We want
our ghost to be sized as the base part of the tray instead.
Just make sure to use the same style class as the base actor then, as
its height is specified by the CSS.
https://bugzilla.gnome.org/show_bug.cgi?id=690174
js/ui/overview.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 40f4acf..5ece49d 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -243,7 +243,7 @@ const Overview = new Lang.Class({
expand: true });
// Then account for message tray
- this._messageTrayGhost = new St.Bin({ child: new Clutter.Clone({ source: Main.messageTray.actor }),
+ this._messageTrayGhost = new St.Bin({ style_class: 'message-tray-summary',
reactive: false,
opacity: 0,
x_fill: true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]