[meld] Set VC view top-level to active folder not VC root (closes bgo#683783)
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Set VC view top-level to active folder not VC root (closes bgo#683783)
- Date: Fri, 21 Sep 2012 21:50:23 +0000 (UTC)
commit 5904b6d05ea7f62127214d5a42f0b691b2c5aabd
Author: Kai Willadsen <kai willadsen gmail com>
Date: Wed Sep 19 06:15:08 2012 +1000
Set VC view top-level to active folder not VC root (closes bgo#683783)
meld/vcview.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/vcview.py b/meld/vcview.py
index f5fff43..1483408 100644
--- a/meld/vcview.py
+++ b/meld/vcview.py
@@ -294,7 +294,7 @@ class VcView(melddoc.MeldDoc, gnomeglade.Component):
def on_vc_change(self, cb):
if not cb.lock:
self.vc = cb.get_model()[cb.get_active_iter()][1]
- self._set_location(self.vc.root)
+ self._set_location(self.vc.location)
self.update_actions_sensitivity()
def set_location(self, location):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]