[polari] appNotifications: Add line wrap for simple notifications
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] appNotifications: Add line wrap for simple notifications
- Date: Fri, 23 Sep 2016 11:31:58 +0000 (UTC)
commit 7bd56fa9901042cb8907f4334d1da263593c3fb7
Author: Efe Gürkan YALAMAN <efeyalaman gmail com>
Date: Fri Sep 23 13:18:02 2016 +0300
appNotifications: Add line wrap for simple notifications
When a command output is too long, they are not readable on smaller
screens. For example when you type /TOPIC command on a channel with
a very long topic, the notification is printed as one line and not
readable. Adding lineWrap to the notification labels properties makes
the label printed out as multiple lines and all of the output is
readable this way.
https://bugzilla.gnome.org/show_bug.cgi?id=721763
src/appNotifications.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/appNotifications.js b/src/appNotifications.js
index c94348e..d1a6654 100644
--- a/src/appNotifications.js
+++ b/src/appNotifications.js
@@ -126,7 +126,8 @@ const SimpleOutput = new Lang.Class({
let label = new Gtk.Label({ label: text,
vexpand: true,
- visible: true });
+ visible: true,
+ wrap: true });
this.add(label);
this.show_all();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]