[meld/VersionControlRework: 122/123] vcview: Always expand the top directory
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/VersionControlRework: 122/123] vcview: Always expand the top directory
- Date: Sun, 19 Apr 2015 20:16:15 +0000 (UTC)
commit 49208683e5e8165acbd072881b3964ad4ca0cbd5
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Apr 19 07:51:57 2015 +1000
vcview: Always expand the top directory
Even if there's no changes, it looks weird if we don't.
meld/vcview.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/meld/vcview.py b/meld/vcview.py
index db4651e..f26c927 100644
--- a/meld/vcview.py
+++ b/meld/vcview.py
@@ -387,8 +387,7 @@ class VcView(melddoc.MeldDoc, gnomeglade.Component):
elif any(e.state != tree.STATE_NORMAL for e in entries):
self.treeview.expand_to_path(treepath)
- if flattened:
- self.treeview.expand_row(Gtk.TreePath.new_first(), False)
+ self.treeview.expand_row(Gtk.TreePath.new_first(), False)
# TODO: This doesn't fire when the user selects a shortcut folder
def on_fileentry_file_set(self, fileentry):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]