* src/DisplayTabs.py: pychecker fixes

* src/EditMedia.py: Handle Note types properly
* src/EditPerson.py: minor cleanup
* src/EventEdit.py: pychecker fixes
* src/MediaView.py: Don't call NoteEditor, use EditMedia instead
* src/PageView.py: pychecker fixes
* src/PersonView.py: typo
* src/gramps.glade: Handle note types in media editor


svn: r5901
This commit is contained in:
Don Allingham
2006-02-08 21:13:05 +00:00
parent 200b8cc17d
commit 47091ad736
9 changed files with 82 additions and 48 deletions

View File

@ -20,8 +20,26 @@
# $Id$
#----------------------------------------------------------------
#
# python
#
#----------------------------------------------------------------
from gettext import gettext as _
#----------------------------------------------------------------
#
# gtk
#
#----------------------------------------------------------------
import gtk
import pango
#----------------------------------------------------------------
#
# GRAMPS
#
#----------------------------------------------------------------
import TreeTips
import GenericFilter
@ -386,7 +404,7 @@ class ListView(PageView):
order = gtk.SORT_ASCENDING
else:
if (self.columns[data].get_sort_order() == gtk.SORT_DESCENDING
or self.columns[data].get_sort_indicator() == False):
or not self.columns[data].get_sort_indicator()):
order = gtk.SORT_ASCENDING
else:
order = gtk.SORT_DESCENDING