summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRory MacQueen <rorymacqueen@gmail.com>2014-01-20 17:58:24 -0800
committerRory MacQueen <rorymacqueen@gmail.com>2014-01-20 17:58:24 -0800
commita73b1caf87043cb3bcca683c03d2218584216bdf (patch)
treea148d3c38dfd03e2eb137ec73f2b275d7ad9f7fc
parent0262abc9e17d26a21131fa56abec8c3136bfa7de (diff)
parent1d4da0f44c0f02a482fa4850567cebac9212e180 (diff)
Merge pull request #501 from endlessm/issues/500
Article list titles should be in normal case
-rw-r--r--wikipedia/widgets/ListTextButton.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/wikipedia/widgets/ListTextButton.js b/wikipedia/widgets/ListTextButton.js
index b676b8c..7a2c7ec 100644
--- a/wikipedia/widgets/ListTextButton.js
+++ b/wikipedia/widgets/ListTextButton.js
@@ -6,7 +6,7 @@ const Pango = imports.gi.Pango;
// This is an approximate number of characters that will keep the label from
// going over its specified width
-const ARTICLE_LABEL_MAX_WIDTH_CHARS = 22;
+const ARTICLE_LABEL_MAX_WIDTH_CHARS = 30;
const ListTextButton = new Lang.Class({
Name: 'EndlessListTextButton',
@@ -30,7 +30,7 @@ const ListTextButton = new Lang.Class({
});
this._label = new Gtk.Label({
- label: label_text.toUpperCase(),
+ label: label_text,
max_width_chars: ARTICLE_LABEL_MAX_WIDTH_CHARS,
ellipsize: Pango.EllipsizeMode.END
});