turn some prints to dbg()s

This commit is contained in:
Chris Jones 2008-11-17 00:51:11 +00:00
parent 104206b0eb
commit ba34813f54
1 changed files with 2 additions and 2 deletions

View File

@ -260,7 +260,7 @@ class ProfileEditor:
for property in values: for property in values:
try: try:
if self.source_get_value(property) != values[property]: if self.source_get_value(property) != values[property]:
print "%s changed from %s to %s" % (property, self.source_get_value(property), values[property]) dbg("%s changed from %s to %s" % (property, self.source_get_value(property), values[property]))
source.values[property] = values[property] source.values[property] = values[property]
has_changed = True has_changed = True
changed.append(property) changed.append(property)
@ -308,7 +308,7 @@ class ProfileEditor:
continue continue
(keyval, mask) = tkbobj._parsebinding (value) (keyval, mask) = tkbobj._parsebinding (value)
liststore.append ([binding, keyval, mask, True]) liststore.append ([binding, keyval, mask, True])
print "Appended row: %s, %s, %s" % (binding, keyval, mask) dbg("Appended row: %s, %s, %s" % (binding, keyval, mask))
treeview = gtk.TreeView(liststore) treeview = gtk.TreeView(liststore)
cell = gtk.CellRendererText() cell = gtk.CellRendererText()