[meld] filediff: Remove renderer properties set by common base



commit 9d7e4f155b4462f63f83c712078ce81e08d08274
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Thu Dec 21 06:36:10 2017 +1000

    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.

 meld/filediff.py | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index e17868ce..b97b59b6 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]