[node-patches] Change in ovirt-node[master]: Workaround: Drop unicode chars from scrollbar

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Apr 24 15:48:17 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: Workaround: Drop unicode chars from scrollbar
......................................................................

Workaround: Drop unicode chars from scrollbar

Change-Id: I19a08142017c14fbe16d189c1ee1249c9d1e384c
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/ui/widgets.py
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/14/14214/1

diff --git a/src/ovirt/node/ui/widgets.py b/src/ovirt/node/ui/widgets.py
index 29d6a11..50d3892 100644
--- a/src/ovirt/node/ui/widgets.py
+++ b/src/ovirt/node/ui/widgets.py
@@ -246,13 +246,13 @@
                 self.__columns.set_focus_column(0)
                 return rt
 
-            blocks_above = u'\u2592' * self.above_knob
-            blocks_below = u'\u2592' * (rows - self.above_knob - 2 -
+            blocks_above = u' ' * self.above_knob
+            blocks_below = u' ' * (rows - self.above_knob - 2 -
                                  self.truncate(self.knob_height))
 
-            self.__text.set_text([('edit', u"▲"), blocks_above +
-                                  u"\u2588" * (self.truncate(self.knob_height))
-                                  + blocks_below, ('edit', u"▼")])
+            self.__text.set_text([('edit', u" "), blocks_above +
+                                  u"#" * (self.truncate(self.knob_height))
+                                  + blocks_below, ('edit', u" ")])
 
             (self.__rows, self._offset, self.__list_size) = (rows, offset,
                                                            list_size)


--
To view, visit http://gerrit.ovirt.org/14214
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I19a08142017c14fbe16d189c1ee1249c9d1e384c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list