* src/gramps_main.py: Use new welcome key for the welcome dialog.
svn: r4538
This commit is contained in:
parent
3588e5e795
commit
d4dfdd4c2d
@ -6,6 +6,7 @@
|
|||||||
* src/po/ru.po: Update.
|
* src/po/ru.po: Update.
|
||||||
|
|
||||||
* src/gramps.glade: Remove unused widget.
|
* 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>
|
2005-05-10 Julio Sanchez <jsanchez@users.sourceforge.net>
|
||||||
* src/po/es.po: Updated translation
|
* src/po/es.po: Updated translation
|
||||||
|
@ -146,7 +146,7 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
|
|||||||
try:
|
try:
|
||||||
GrampsCfg.loadConfig()
|
GrampsCfg.loadConfig()
|
||||||
|
|
||||||
self.beta_warn()
|
self.welcome()
|
||||||
self.RelClass = PluginMgr.relationship_class
|
self.RelClass = PluginMgr.relationship_class
|
||||||
self.relationship = self.RelClass(self.db)
|
self.relationship = self.RelClass(self.db)
|
||||||
self.gtop = gtk.glade.XML(const.gladeFile, "gramps", "gramps")
|
self.gtop = gtk.glade.XML(const.gladeFile, "gramps", "gramps")
|
||||||
@ -204,8 +204,8 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
|
|||||||
|
|
||||||
self.db.set_researcher(GrampsCfg.get_researcher())
|
self.db.set_researcher(GrampsCfg.get_researcher())
|
||||||
|
|
||||||
def beta_warn(self):
|
def welcome(self):
|
||||||
if not GrampsKeys.get_betawarn() != 2:
|
if GrampsKeys.get_welcome() >= 200:
|
||||||
return
|
return
|
||||||
|
|
||||||
glade = gtk.glade.XML(const.gladeFile,'scrollmsg')
|
glade = gtk.glade.XML(const.gladeFile,'scrollmsg')
|
||||||
@ -245,7 +245,7 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
|
|||||||
top.run()
|
top.run()
|
||||||
top.destroy()
|
top.destroy()
|
||||||
|
|
||||||
GrampsKeys.save_betawarn(2)
|
GrampsKeys.save_welcome(200)
|
||||||
GrampsKeys.sync()
|
GrampsKeys.sync()
|
||||||
|
|
||||||
def date_format_key_update(self,client,cnxn_id,entry,data):
|
def date_format_key_update(self,client,cnxn_id,entry,data):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user