* src/GrampsCfg.py: added support for tip of the day

* src/data/tips.xml: tip data
* src/TipOfDay.py: support for tip of the day
* src/gramps_main.py: support for tip of the day
* src/const.py: support for tip of the day
* src/gramps.glade: support for tip of the day


svn: r3178
This commit is contained in:
Don Allingham
2004-05-18 07:00:34 +00:00
parent 05edb76bbc
commit 351ae558dd
9 changed files with 375 additions and 6 deletions

View File

@@ -68,6 +68,7 @@ import GrampsCfg
import EditPerson
import Find
import DbPrompter
import TipOfDay
from QuestionDialog import *
@@ -114,8 +115,6 @@ class Gramps:
self.c_details = 6
self.cl = 0
gtk.rc_parse(const.gtkrcFile)
if os.getuid() == 0:
WarningDialog(_("GRAMPS is being run as the 'root' user."),
_("This account is not meant for normal appication use. "
@@ -139,6 +138,9 @@ class Gramps:
self.relationship = self.RelClass(self.db)
self.init_interface()
if GrampsCfg.usetips:
TipOfDay.TipOfDay()
if args:
import ArgHandler
ArgHandler.ArgHandler(self,args)