[gnome-shell] message-tray: use a style class for summary-mode actor
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] message-tray: use a style class for summary-mode actor
- Date: Thu, 13 Dec 2012 22:57:58 +0000 (UTC)
commit bdf0a6fd0b4e9a939e5a095e91f0cfc43961a8ac
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Dec 13 17:47:16 2012 -0500
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 c0c6aa9..d14c3e8 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 e72e959..ec93ce8 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]