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
This commit is contained in:
Jonh Wendell 2013-08-07 15:35:56 -03:00
parent 58ca6ec6aa
commit a7bcc4c00d

View File

@ -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);