[meld] Fix broken commit dialog (bgo#705146)



commit cbdfba77860eedbcb20969d201fdfa884f8481e1
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Fri Aug 2 06:16:34 2013 +1000

    Fix broken commit dialog (bgo#705146)

 meld/ui/vcdialogs.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/ui/vcdialogs.py b/meld/ui/vcdialogs.py
index 0014c4d..ae85521 100644
--- a/meld/ui/vcdialogs.py
+++ b/meld/ui/vcdialogs.py
@@ -91,7 +91,7 @@ class CommitDialog(gnomeglade.Component):
             buf = self.textview.get_buffer()
             msg = buf.get_text(*buf.get_bounds(), include_hidden_chars=False)
             # This is a dependent option because of the margin column
-            if prefs.set_show_right_margin and prefs.vc_break_commit_message:
+            if prefs.vc_show_commit_margin and prefs.vc_break_commit_message:
                 paragraphs = msg.split("\n\n")
                 msg = "\n\n".join(textwrap.fill(p, margin) for p in paragraphs)
             self.parent._command_on_selected(


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