From bdf0a6fd0b4e9a939e5a095e91f0cfc43961a8ac Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Thu, 13 Dec 2012 17:47:16 -0500 Subject: [PATCH] message-tray: use a style class for summary-mode actor We want to use the same style class for the message tray ghost. https://bugzilla.gnome.org/show_bug.cgi?id=690174 --- data/theme/gnome-shell.css | 8 ++++---- js/ui/messageTray.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index c0c6aa935..d14c3e89f 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -1309,6 +1309,10 @@ StScrollBar StButton#vhandle:active { outline: 1px solid rgba(128, 128, 128, 0.3); } +.message-tray-summary { + height: 72px; +} + .no-messages-label { font-family: cantarell, sans-serif; font-size: 11pt; @@ -1537,10 +1541,6 @@ StScrollBar StButton#vhandle:active { border-radius: 4px; } -#summary-mode { - height: 72px; -} - .summary-source-button { padding: 6px 3px 6px 3px; } diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index e72e959fc..ec93ce81e 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1412,7 +1412,7 @@ const MessageTray = new Lang.Class({ actor.grab_key_focus(); })); global.focus_manager.add_group(this.actor); - this._summary = new St.BoxLayout({ name: 'summary-mode', + this._summary = new St.BoxLayout({ style_class: 'message-tray-summary', reactive: true, track_hover: true, x_align: Clutter.ActorAlign.END,