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