* src/AddrEdit.py: remove already_exist check in favor of exception
* src/AttrEdit.py: remove already_exist check in favor of exception * src/DisplayState.py: remove already_exist variable * src/DisplayTabs.py: handle exception * src/EditEventRef.py: remove already_exist check in favor of exception * src/EditFamily.py: update to derive from EditPrimary * src/EditMedia.py: update to derive from EditPrimary * src/EditMediaRef.py: remove already_exist check in favor of exception * src/EditPerson.py: update to derive from EditPrimary * src/EditPlace.py: update to derive from EditPrimary * src/EditRepository.py:update to derive from EditPrimary * src/EditSource.py: update to derive from EditPrimary * src/EditSourceRef.py: remove already_exist check in favor of exception * src/Errors.py: new exception * src/EventEdit.py: update to derive from EditPrimary * src/EventView.py: catch exception of window already exists * src/FamilyList.py: catch exception of window already exists * src/FamilyView.py: catch exception of window already exists * src/GrampsWidgets.py: typos * src/NameEdit.py: remove already_exist check in favor of exception * src/PedView.py: catch exception of window already exists * src/PersonView.py: catch exception of window already exists * src/PlaceView.py: catch exception of window already exists * src/Plugins.py: catch exception of window already exists * src/UrlEdit.py: remove already_exist check in favor of exception * src/const.py.in: dynamically determine path * src/gramps.glade: name changes * src/gramps.py: set path svn: r6014
This commit is contained in:
@@ -22,6 +22,14 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import os
|
||||
from gettext import gettext as _
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Standard GRAMPS Websites
|
||||
@@ -31,14 +39,6 @@ url_homepage = "http://gramps-project.org/"
|
||||
url_mailinglist = "http://sourceforge.net/mail/?group_id=25770"
|
||||
url_burtracker = "http://sourceforge.net/tracker/?group_id=25770&atid=385137"
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import os
|
||||
from gettext import gettext as _
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Mime Types
|
||||
@@ -88,14 +88,8 @@ no_gconf = False
|
||||
# this one, and that the plugins directory is in a directory below this.
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
if os.environ.has_key('GRAMPSDIR'):
|
||||
rootDir = os.environ['GRAMPSDIR']
|
||||
else:
|
||||
rootDir = os.getcwd()
|
||||
|
||||
good_xpm = os.path.join(rootDir,"good.png")
|
||||
bad_xpm = os.path.join(rootDir,"bad.png")
|
||||
caution_xpm = os.path.join(rootDir,"caution.png")
|
||||
rootDir = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
system_filters = os.path.join(rootDir,"system_filters.xml")
|
||||
custom_filters = "~/.gramps/custom_filters.xml"
|
||||
|
Reference in New Issue
Block a user