summaryrefslogtreecommitdiff
path: root/SoftwareProperties/SoftwareProperties.py
diff options
context:
space:
mode:
authorMichael Vogt <egon@top>2005-12-12 11:56:46 +0100
committerMichael Vogt <egon@top>2005-12-12 11:56:46 +0100
commit333fa1f25afbfa3e634baaa1da5936ee6dd6a83d (patch)
treef29358526ae687310be7c8c35efeedd23fabd85a /SoftwareProperties/SoftwareProperties.py
parentea1b15e8b5ebc46ccb93924e02af40f2b96dc6ad (diff)
downloadpython-apt-333fa1f25afbfa3e634baaa1da5936ee6dd6a83d.tar.gz
* [codecleanup] treeview1 -> treeview_sources
Diffstat (limited to 'SoftwareProperties/SoftwareProperties.py')
-rw-r--r--SoftwareProperties/SoftwareProperties.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py
index e1faec07..6f053e35 100644
--- a/SoftwareProperties/SoftwareProperties.py
+++ b/SoftwareProperties/SoftwareProperties.py
@@ -89,7 +89,7 @@ class SoftwareProperties(SimpleGladeApp):
def init_sourceslist(self):
self.source_store = gtk.ListStore(str, bool, gobject.TYPE_PYOBJECT)
- self.treeview1.set_model(self.source_store)
+ self.treeview_sources.set_model(self.source_store)
tr = gtk.CellRendererText()
tr.set_property("xpad", 10)
@@ -98,7 +98,7 @@ class SoftwareProperties(SimpleGladeApp):
source_col = gtk.TreeViewColumn("Description", tr, markup=LIST_MARKUP)
source_col.set_max_width(500)
- self.treeview1.append_column(source_col)
+ self.treeview_sources.append_column(source_col)
self.sourceslist = aptsources.SourcesList()
self.matcher = aptsources.SourceEntryMatcher()
@@ -184,7 +184,7 @@ class SoftwareProperties(SimpleGladeApp):
self.modified = True
def on_edit_clicked(self, widget):
- sel = self.treeview1.get_selection()
+ sel = self.treeview_sources.get_selection()
(model, iter) = sel.get_selected()
if not iter:
return
@@ -196,7 +196,7 @@ class SoftwareProperties(SimpleGladeApp):
self.modified = True
def on_remove_clicked(self, widget):
- sel = self.treeview1.get_selection()
+ sel = self.treeview_sources.get_selection()
(model, iter) = sel.get_selected()
if iter:
source = model.get_value(iter, LIST_ENTRY_OBJ)