Hi all,

I'm writing this email to thank you guys for doing such a great job in
development and maintenance of such a helpful tool.

Also, I wanted to give suggestion as a daily user of Meld.

When I'm doing heavy merges, usually the list of files could be very
long, which makes me want to sort them based on "Name" or "Location" or
"Status".

I just created a patch (attached to this email) handling the sort based
on "Status" which solves my issue. However, since I'm not a developer,
you might want to do it in another fashion.

Thank you again & keep up the good work.

--
Regards,
Hamid

From e65eba514353071011459d10d6ac44acaefc276b Mon Sep 17 00:00:00 2001
From: Hamid Noroozi <[email protected]>
Date: Fri, 21 Aug 2015 16:16:41 +0200
Subject: [PATCH] Columns are able to be sorted based on Status.

---
 meld/vcview.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meld/vcview.py b/meld/vcview.py
index 655c6b5..10832f1 100644
--- a/meld/vcview.py
+++ b/meld/vcview.py
@@ -200,6 +200,11 @@ class VcView(melddoc.MeldDoc, gnomeglade.Component):
         self.location_column.bind_property(
             'visible', self.actiongroup.get_action("VcFlatten"), 'active')
 
+        self.name_column.set_sort_column_id(True)
+        self.location_column.set_sort_column_id(True)
+        self.status_column.set_sort_column_id(True)
+        self.extra_column.set_sort_column_id(True)
+
         self.consolestream = ConsoleStream(self.consoleview)
         self.location = None
         self.vc = None
-- 
2.4.3

_______________________________________________
meld-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to