Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/journal/expandedentry.py
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-09-12 19:54:41 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-09-12 20:07:49 (GMT)
commit4148530413c6fc447f5a81ca595c94011d66130b (patch)
tree29b656687ee201a087d2442e8577e3b148ad922e /src/jarabe/journal/expandedentry.py
parent3faef8041c2178837af2b96b31eb43202d185fbc (diff)
Restore the border in the Journal text entries - SL #3892
Use scrolled_window.set_shadow_type which is the proper solution because the theme takes care of this, see ticket #3561 when we fixed this for Read dialog. The previous one using set_border_width is not working in the current theme. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'src/jarabe/journal/expandedentry.py')
-rw-r--r--src/jarabe/journal/expandedentry.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/journal/expandedentry.py b/src/jarabe/journal/expandedentry.py
index 1d5a928..21a3c5f 100644
--- a/src/jarabe/journal/expandedentry.py
+++ b/src/jarabe/journal/expandedentry.py
@@ -331,7 +331,7 @@ class ExpandedEntry(Gtk.EventBox):
scrolled_window = Gtk.ScrolledWindow()
scrolled_window.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
- scrolled_window.set_border_width(style.LINE_WIDTH)
+ scrolled_window.set_shadow_type(Gtk.ShadowType.ETCHED_IN)
text_buffer = Gtk.TextBuffer()
text_view = Gtk.TextView()
text_view.set_buffer(text_buffer)