* src/gramps_main.py: Use new welcome key for the welcome dialog.

svn: r4538
This commit is contained in:
Alex Roitman 2005-05-10 20:04:59 +00:00
parent 3588e5e795
commit d4dfdd4c2d
2 changed files with 5 additions and 4 deletions

View File

@ -6,6 +6,7 @@
* src/po/ru.po: Update.
* src/gramps.glade: Remove unused widget.
* src/gramps_main.py: Use new welcome key for the welcome dialog.
2005-05-10 Julio Sanchez <jsanchez@users.sourceforge.net>
* src/po/es.po: Updated translation

View File

@ -146,7 +146,7 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
try:
GrampsCfg.loadConfig()
self.beta_warn()
self.welcome()
self.RelClass = PluginMgr.relationship_class
self.relationship = self.RelClass(self.db)
self.gtop = gtk.glade.XML(const.gladeFile, "gramps", "gramps")
@ -204,8 +204,8 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
self.db.set_researcher(GrampsCfg.get_researcher())
def beta_warn(self):
if not GrampsKeys.get_betawarn() != 2:
def welcome(self):
if GrampsKeys.get_welcome() >= 200:
return
glade = gtk.glade.XML(const.gladeFile,'scrollmsg')
@ -245,7 +245,7 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
top.run()
top.destroy()
GrampsKeys.save_betawarn(2)
GrampsKeys.save_welcome(200)
GrampsKeys.sync()
def date_format_key_update(self,client,cnxn_id,entry,data):