2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/PageView.py: import sgettext instead of gettext * src/DataViews.py: rename Family List View to Families View svn: r9927
This commit is contained in:
parent
840ffdb85d
commit
a26c5dab24
@ -1,3 +1,7 @@
|
|||||||
|
2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
|
||||||
|
* src/PageView.py: import sgettext instead of gettext
|
||||||
|
* src/DataViews.py: rename Family List View to Families View
|
||||||
|
|
||||||
2008-01-24 Peter landgren <peter.talken@telia.com>
|
2008-01-24 Peter landgren <peter.talken@telia.com>
|
||||||
* src/plugin/rel_sv.py: Works also for kinship report now.
|
* src/plugin/rel_sv.py: Works also for kinship report now.
|
||||||
|
|
||||||
|
@ -20,12 +20,9 @@
|
|||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""
|
"""
|
||||||
FamilyList View
|
FamilyList View.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = "Don Allingham"
|
|
||||||
__revision__ = "$Revision: 9598 $"
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# gramps modules
|
# gramps modules
|
||||||
@ -85,7 +82,7 @@ class FamilyListView(PageView.ListView):
|
|||||||
}
|
}
|
||||||
|
|
||||||
PageView.ListView.__init__(
|
PageView.ListView.__init__(
|
||||||
self, _('Family List'), dbstate, uistate,
|
self, _('Families'), dbstate, uistate,
|
||||||
FamilyListView.COLUMN_NAMES, len(FamilyListView.COLUMN_NAMES),
|
FamilyListView.COLUMN_NAMES, len(FamilyListView.COLUMN_NAMES),
|
||||||
DisplayModels.FamilyModel,
|
DisplayModels.FamilyModel,
|
||||||
signal_map, dbstate.db.get_family_bookmarks(),
|
signal_map, dbstate.db.get_family_bookmarks(),
|
||||||
@ -101,7 +98,7 @@ class FamilyListView(PageView.ListView):
|
|||||||
import ColumnOrder
|
import ColumnOrder
|
||||||
|
|
||||||
ColumnOrder.ColumnOrder(
|
ColumnOrder.ColumnOrder(
|
||||||
_('Select Family List Columns'),
|
_('Select Family Columns'),
|
||||||
self.uistate,
|
self.uistate,
|
||||||
self.dbstate.db.get_family_list_column_order(),
|
self.dbstate.db.get_family_list_column_order(),
|
||||||
FamilyListView.COLUMN_NAMES,
|
FamilyListView.COLUMN_NAMES,
|
||||||
@ -157,9 +154,7 @@ class FamilyListView(PageView.ListView):
|
|||||||
</ui>'''
|
</ui>'''
|
||||||
|
|
||||||
def define_actions(self):
|
def define_actions(self):
|
||||||
"""
|
"""Add the Forward action group to handle the Forward button."""
|
||||||
add the Forward action group to handle the Forward button
|
|
||||||
"""
|
|
||||||
|
|
||||||
PageView.ListView.define_actions(self)
|
PageView.ListView.define_actions(self)
|
||||||
self._add_action('ColumnEdit', gtk.STOCK_PROPERTIES,
|
self._add_action('ColumnEdit', gtk.STOCK_PROPERTIES,
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
# $Id$
|
# $Id:PageView.py 9912 2008-01-22 09:17:46Z acraphae $
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Provide the base classes for GRAMPS' DataView classes
|
Provide the base classes for GRAMPS' DataView classes
|
||||||
@ -29,7 +29,6 @@ Provide the base classes for GRAMPS' DataView classes
|
|||||||
# python modules
|
# python modules
|
||||||
#
|
#
|
||||||
#----------------------------------------------------------------
|
#----------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
|
||||||
import cPickle as pickle
|
import cPickle as pickle
|
||||||
|
|
||||||
#----------------------------------------------------------------
|
#----------------------------------------------------------------
|
||||||
@ -52,6 +51,7 @@ import Errors
|
|||||||
from Filters import SearchBar
|
from Filters import SearchBar
|
||||||
import Utils
|
import Utils
|
||||||
import const
|
import const
|
||||||
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
NAVIGATION_NONE = -1
|
NAVIGATION_NONE = -1
|
||||||
NAVIGATION_PERSON = 0
|
NAVIGATION_PERSON = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user