[Sugar-devel] [PATCH Read] Borders in the Bookmark Description entry SL #3561
Manuel Kaufmann
humitos at gmail.com
Thu May 31 11:44:32 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 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/readdialog.py b/readdialog.py
index e4081ef..4217a03 100644
--- a/readdialog.py
+++ b/readdialog.py
@@ -154,6 +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.RIGHT):
+ 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