[gnome-shell] dateMenu: add a style class for the clock label
- From: Jonh Wendell <jwendell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] dateMenu: add a style class for the clock label
- Date: Thu, 8 Aug 2013 18:30:18 +0000 (UTC)
commit a7bcc4c00dbac26afc988cff3787a85d51ad48a2
Author: Jonh Wendell <jonh wendell intel com>
Date: Wed Aug 7 15:35:56 2013 -0300
dateMenu: add a style class for the clock label
it's useful if we need to tweak only the clock's label css.
https://bugzilla.gnome.org/show_bug.cgi?id=705634
js/ui/dateMenu.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index 85a0ade..3898606 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -51,6 +51,7 @@ const DateMenuButton = new Lang.Class({
this._clockDisplay = new St.Label();
this.actor.add_actor(this._clockDisplay);
+ this.actor.add_style_class_name ('clock-display');
hbox = new St.BoxLayout({name: 'calendarArea' });
this.menu.addActor(hbox);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]