[PATCH] Handle dummy_toolbar_diffmap the same way as dummy_toolbar_linkmap
- From: Christoph Brill <egore911 gmail com>
- To: meld-list gnome org
- Subject: [PATCH] Handle dummy_toolbar_diffmap the same way as dummy_toolbar_linkmap
- Date: Sat, 26 Jul 2014 20:01:12 +0200
I'm not sure if this is neccessary, useful or even correct. At least it
does not show any regressions.
---
meld/filediff.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/meld/filediff.py b/meld/filediff.py
index be3f6c8..1d25afb 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -183,7 +183,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
"linkmap", "msgarea_mgr", "readonlytoggle",
"scrolledwindow", "selector_hbox", "textview", "vbox",
"dummy_toolbar_linkmap", "filelabel_toolitem", "filelabel",
- "fileentry_toolitem",
+ "fileentry_toolitem", "dummy_toolbar_diffmap"
]
self.map_widgets_into_lists(widget_lists)
@@ -1887,12 +1887,14 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
self.num_panes = n
for widget in (
self.vbox[:n] + self.file_toolbar[:n] + self.diffmap[:n] +
- self.linkmap[:n - 1] + self.dummy_toolbar_linkmap[:n - 1]):
+ self.linkmap[:n - 1] + self.dummy_toolbar_linkmap[:n - 1] +
+ self.dummy_toolbar_diffmap[:n - 1]):
widget.show()
for widget in (
self.vbox[n:] + self.file_toolbar[n:] + self.diffmap[n:] +
- self.linkmap[n - 1:] + self.dummy_toolbar_linkmap[n - 1:]):
+ self.linkmap[n - 1:] + self.dummy_toolbar_linkmap[n - 1:] +
+ self.dummy_toolbar_diffmap[n - 1:]):
widget.hide()
self.actiongroup.get_action("MakePatch").set_sensitive(n > 1)
--
2.0.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]