meld r1235 - trunk
- From: vincele svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1235 - trunk
- Date: Sun, 8 Mar 2009 23:01:40 +0000 (UTC)
Author: vincele
Date: Sun Mar 8 23:01:40 2009
New Revision: 1235
URL: http://svn.gnome.org/viewvc/meld?rev=1235&view=rev
Log:
Don't use "set()" as function name, as it is a builtin.
Rename it to setcol().
Modified:
trunk/vcview.py
Modified: trunk/vcview.py
==============================================================================
--- trunk/vcview.py (original)
+++ trunk/vcview.py Sun Mar 8 23:01:40 2009
@@ -513,13 +513,13 @@
def _update_item_state(self, it, vcentry, location):
e = vcentry
self.model.set_state( it, 0, e.state, e.isdir )
- def set(col, val):
- self.model.set_value( it, self.model.column_index(col,0), val)
- set( COL_LOCATION, location )
- set( COL_STATUS, e.get_status())
- set( COL_REVISION, e.rev)
- set( COL_TAG, e.tag)
- set( COL_OPTIONS, e.options)
+ def setcol(col, val):
+ self.model.set_value(it, self.model.column_index(col, 0), val)
+ setcol(COL_LOCATION, location)
+ setcol(COL_STATUS, e.get_status())
+ setcol(COL_REVISION, e.rev)
+ setcol(COL_TAG, e.tag)
+ setcol(COL_OPTIONS, e.options)
def on_file_changed(self, filename):
it = self.find_iter_by_name(filename)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]