From e65eba514353071011459d10d6ac44acaefc276b Mon Sep 17 00:00:00 2001 From: Hamid Noroozi 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