From d4dfdd4c2d858fab386fa1591f3f3095d49f34cc Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 10 May 2005 20:04:59 +0000 Subject: [PATCH] * src/gramps_main.py: Use new welcome key for the welcome dialog. svn: r4538 --- gramps2/ChangeLog | 1 + gramps2/src/gramps_main.py | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index f7715ec5d..91d653c52 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -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 * src/po/es.po: Updated translation diff --git a/gramps2/src/gramps_main.py b/gramps2/src/gramps_main.py index f5f873272..3152f1aa8 100755 --- a/gramps2/src/gramps_main.py +++ b/gramps2/src/gramps_main.py @@ -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):