Tweaks to use inplace arithmetic

svn: r13191
This commit is contained in:
Gerald Britton
2009-09-10 18:49:48 +00:00
parent d5e48cda06
commit 941fff23ae
31 changed files with 56 additions and 60 deletions

View File

@ -275,9 +275,9 @@ class DisplayChart(ManagedWindow.ManagedWindow):
column.set_sort_column_id(model_index)
self.eventlist.append_column(column)
# This one numbers the tree columns: increment on new column
tree_index = tree_index + 1
tree_index += 1
# This one numbers the model columns: always increment
model_index = model_index + 1
model_index += 1
model = gtk.ListStore(*mylist)
self.eventlist.set_model(model)