[Sugar-devel] [PATCH Read] Borders in the Bookmark Description entry SL #3561
Manuel Kaufmann
humitos at gmail.com
Thu May 31 11:38:17 EDT 2012
Show 2 pixels borders in the TextView entry that is shown when the user click to add or
edit a bookmark.
These borders are not rounded as the Title Entry.
Signed-off-by: Manuel Kaufmann <humitos at gmail.com>
---
readdialog.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/readdialog.py b/readdialog.py
index e4081ef..0268c89 100644
--- a/readdialog.py
+++ b/readdialog.py
@@ -154,7 +154,9 @@ class BookmarkDialog(BaseReadDialog):
self._content_entry = Gtk.TextView()
self._content_entry.set_wrap_mode(Gtk.WrapMode.WORD)
-
+ for side in (Gtk.TextWindowType.BOTTOM, Gtk.TextWindowType.TOP,
+ Gtk.TextWindowType.LEFT, Gtk.TextWindowType.RIGTH):
+ self._content_entry.set_border_window_size(side, 2)
sw.add(self._content_entry)
sw.set_shadow_type(Gtk.ShadowType.ETCHED_IN)
--
1.7.10
More information about the Sugar-devel
mailing list