Commit 9d7e4f15 authored by Kai Willadsen's avatar Kai Willadsen

filediff: Remove renderer properties set by common base

These are already set by MeldGutterRenderer.set_renderer_defaults,
except for xalign, which doesn't actually work.
parent fa71c577
......@@ -274,12 +274,6 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
window = Gtk.TextWindowType.LEFT
if direction == Gtk.TextDirection.RTL:
window = Gtk.TextWindowType.RIGHT
renderer.set_properties(
"alignment-mode", GtkSource.GutterRendererAlignmentMode.FIRST,
"yalign", 0.5,
"xalign", 1.0,
"xpad", 3,
)
renderer = GutterRendererChunkLines(
pane, pane - 1, self.linediffer)
gutter = t.get_gutter(window)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment