Handle applications without descriptions
ClutterText doesn't accept NULL for text, so pass in "" explicitly if the description is null or undefined. (Mentioned in Bug 573404)
This commit is contained in:
parent
cb4ad9a963
commit
3066f60efc
@ -149,7 +149,7 @@ GenericDisplayItem.prototype = {
|
||||
font_name: "Sans 12px",
|
||||
width: text_width,
|
||||
ellipsize: Pango.EllipsizeMode.END,
|
||||
text: descriptionText,
|
||||
text: descriptionText ? descriptionText : "",
|
||||
x: this._name.x,
|
||||
y: this._name.height + 4 });
|
||||
this.actor.add_actor(this._description);
|
||||
|
Loading…
Reference in New Issue
Block a user