Commit 69a9c222 authored by Rares Visalom's avatar Rares Visalom Committed by Florian Müllner
Browse files

search: Disable multiline descriptions

Having descriptions with multiple lines will clutter
the view and make it more confusing for the user. Apart
from that, it also makes the search result a lot bigger,
potentially losing general vertical alignment.

https://bugzilla.gnome.org/show_bug.cgi?id=749957
parent b3d74bdb
......@@ -125,7 +125,7 @@ const ListSearchResult = new Lang.Class({
},
_highlightTerms: function() {
let markup = this._resultsView.highlightTerms(this.metaInfo['description']);
let markup = this._resultsView.highlightTerms(this.metaInfo['description'].split('\n')[0]);
this._descriptionLabel.clutter_text.set_markup(markup);
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment