Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#3905 closed defect (fixed)

View Source is broken

Reported by: erikos Owned by: erikos
Priority: Unspecified by Maintainer Milestone:
Component: Sugar Version: 0.97.x
Severity: Blocker Keywords:
Cc: Distribution/OS: OLPC
Bug Status: Assigned

Description

os2 from the 13.1.0 series

Change History (4)

comment:1 Changed 7 years ago by erikos

diff --git a/src/jarabe/view/viewsource.py b/src/jarabe/view/viewsource.py
index bdc47fb..d8b5e02 100644
--- a/src/jarabe/view/viewsource.py
+++ b/src/jarabe/view/viewsource.py
@@ -530,7 +530,7 @@ class SourceDisplay(Gtk.ScrolledWindow):
         self._buffer = GtkSource.Buffer()
         self._buffer.set_highlight_syntax(True)
 
-        self._source_view = GtkSource.View(self._buffer)
+        self._source_view = GtkSource.View(buffer=self._buffer)
         self._source_view.set_editable(False)
         self._source_view.set_cursor_visible(True)
         self._source_view.set_show_line_numbers(True)

Fixes it.

comment:2 Changed 7 years ago by erikos

Pushed: 5502400ffc7c372d2697a7dd0b3432ea0f262b1f

comment:3 Changed 7 years ago by erikos

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 6 years ago by dnarvaez

  • Milestone 0.98 deleted

Milestone 0.98 deleted

Note: See TracTickets for help on using tickets.