projects
/
findit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
90d875b
)
fixing proglem - TypeError: value is of wrong type for this column in self.liststore...
author
“Alexandr
<“popov2al@gmail.com”>
Sat, 4 Apr 2009 11:07:57 +0000
(15:07 +0400)
committer
“Alexandr
<“popov2al@gmail.com”>
Sat, 4 Apr 2009 11:07:57 +0000
(15:07 +0400)
src/outtable.py
patch
|
blob
|
history
diff --git
a/src/outtable.py
b/src/outtable.py
index
66de8b9
..
416e0b5
100644
(file)
--- a/
src/outtable.py
+++ b/
src/outtable.py
@@
-3,6
+3,7
@@
# vim: sw=4 ts=4 expandtab ai
import gtk
# vim: sw=4 ts=4 expandtab ai
import gtk
+import gobject
class Out_Table_Control(object):
def __init__(self, config):
class Out_Table_Control(object):
def __init__(self, config):
@@
-33,7
+34,7
@@
class Out_Table_Presentation(gtk.Window):
scrollwind.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
# Определяем переменную в которой будет храниться выводимый список
scrollwind.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
# Определяем переменную в которой будет храниться выводимый список
- self.liststore = gtk.ListStore(str, str, int)
+ self.liststore = gtk.ListStore(str, str, gobject.TYPE_INT64)
self.treeview = gtk.TreeView(self.liststore)
# На таблетке не отображаються заголовки столбцов по умолчанию -
# след строка заставляет их отображаться принудительно
self.treeview = gtk.TreeView(self.liststore)
# На таблетке не отображаються заголовки столбцов по умолчанию -
# след строка заставляет их отображаться принудительно