* src/EventView.py (build_columns): Do not artificially create

an extra column.


svn: r4798
This commit is contained in:
Alex Roitman 2005-06-07 13:53:46 +00:00
parent b67a0d0e00
commit 16c906d7cb
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2005-06-07 Alex Roitman <shura@gramps-project.org>
* src/EventView.py (build_columns): Do not artificially create
an extra column.
2005-06-06 Alex Roitman <shura@gramps-project.org>
* src/AttrEdit.py: proper type selector support.
* src/AutoComp.py (by_value): Use locale-aware sorting.

View File

@ -113,15 +113,16 @@ class EventView:
for column in self.columns:
self.list.remove_column(column)
column = gtk.TreeViewColumn(_('Type'), self.renderer,text=0)
column.set_resizable(True)
column.set_min_width(225)
column.set_clickable(True)
column.connect('clicked',self.column_clicked,0)
self.list.append_column(column)
self.columns = [column]
## column = gtk.TreeViewColumn(_('Type'), self.renderer,text=0)
## column.set_resizable(True)
## column.set_min_width(225)
## column.set_clickable(True)
## column.connect('clicked',self.column_clicked,0)
## self.list.append_column(column)
## self.columns = [column]
self.columns = []
index = 1
index = 0
for pair in self.parent.db.get_event_column_order():
if not pair[0]:
continue