* 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:
@ -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
|
||||
|
Reference in New Issue
Block a user