summaryrefslogtreecommitdiff
path: root/wikipedia
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2013-08-06 16:10:04 -0700
committerPhilip Chimento <philip@endlessm.com>2013-08-06 18:18:38 -0700
commit0f809737c9a70cdd2f50f800054073788c6f1fcf (patch)
treea4ce6d3df8d640d3a795520c581bb382c1d11162 /wikipedia
parentf1f7ebe477c2b72b55bd6a267f42e672e66cccfc (diff)
Set Benton Sans on title font
The proper Benton Sans was not showing up. The title label didn't have the proper CSS class. [endlessm/eos-sdk#228]
Diffstat (limited to 'wikipedia')
-rw-r--r--wikipedia/views/title_label_view.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/wikipedia/views/title_label_view.js b/wikipedia/views/title_label_view.js
index e91e671..15b3085 100644
--- a/wikipedia/views/title_label_view.js
+++ b/wikipedia/views/title_label_view.js
@@ -36,6 +36,9 @@ const TitleLabelView = new Lang.Class({
});
this._image = new Gtk.Image();
+ let context = this._label.get_style_context()
+ context.add_class(EndlessWikipedia.STYLE_CLASS_TITLE);
+
this.parent(props);
this.add(this._image);