meld r1283 - trunk
- From: vincele svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1283 - trunk
- Date: Tue, 24 Mar 2009 00:11:39 +0000 (UTC)
Author: vincele
Date: Tue Mar 24 00:11:38 2009
New Revision: 1283
URL: http://svn.gnome.org/viewvc/meld?rev=1283&view=rev
Log:
Set vcview self.location after having chosen a VC plugin,
because that can change from the initial location, and
the vcview tab title would then be wrong.
Modified:
trunk/vcview.py
Modified: trunk/vcview.py
==============================================================================
--- trunk/vcview.py (original)
+++ trunk/vcview.py Tue Mar 24 00:11:38 2009
@@ -222,10 +222,10 @@
self._set_location(self.vc.root)
def set_location(self, location):
- self.location = location = os.path.abspath(location or ".")
- self.choose_vc(vc.get_vcs(location))
+ self.choose_vc(vc.get_vcs(os.path.abspath(location or ".")))
def _set_location(self, location):
+ self.location = location
self.model.clear()
self.fileentry.gtk_entry.set_text(location)
it = self.model.add_entries( None, [location] )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]