* src/gramps.glade: new scrollable message dialog

* src/gramps_main.py: add new upgrading information message
* src/template.po: new translatable string


svn: r4528
This commit is contained in:
Don Allingham 2005-05-10 04:48:49 +00:00
parent b1485df25f
commit 023f9a37e6
4 changed files with 3465 additions and 1018 deletions

View File

@ -1,4 +1,7 @@
2005-05-09 Don Allingham <don@gramps-project.org>
* src/gramps.glade: new scrollable message dialog
* src/gramps_main.py: add new upgrading information message
* src/template.po: new translatable string
* src/StartupDialog.py: Added Alex's configuration upgrade, but
wrapped in gconf detection

File diff suppressed because it is too large Load Diff

View File

@ -205,15 +205,47 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
self.db.set_researcher(GrampsCfg.get_researcher())
def beta_warn(self):
if not GrampsKeys.get_betawarn() != 2:
return
if not GrampsKeys.get_betawarn():
return
WarningDialog("Use at your own risk",
"This is an unstable development version of GRAMPS. "
"It is intended as a technology preview. Do not trust your "
"family database to this development version. This version may "
"contain bugs which could corrupt your database.")
GrampsKeys.save_betawarn(1)
glade = gtk.glade.XML(const.gladeFile,'scrollmsg')
top = glade.get_widget('scrollmsg')
msg = glade.get_widget('msg')
msg.get_buffer().set_text(
_("Welcome to the 2.0.x series of GRAMPS!\n"
"\n"
"This version drastically differs from the 1.0.x branch\n"
"in a few ways. Please read carefully, as this may affect\n"
"the way you are using the program.\n"
"\n"
"1. This version works with the Berkeley database backend.\n"
" Because of this, changes are written to disk immediately.\n"
" There is NO Save function anymore!\n"
"2. The Media object files are not managed by GRAMPS.\n"
" There is no concept of local objects, all objects\n"
" are external. You are in charge of keeping track of\n"
" your files. If you delete the image file from disk,\n"
" it will be lost!\n"
"3. The version control provided by previous GRAMPS\n"
" versions has been removed. You may set up the versioning\n"
" system on your own if you'd like, but it will have to be\n"
" outside of GRAMPS.\n"
"4. It is possible to directly open GRAMPS XML databases\n"
" (used by previous versions) as well as GEDCOM files.\n"
" However, any changes will be written to the disk when\n"
" you quit GRAMPS. In case of GEDCOM files, this may lead\n"
" to a data loss because some GEDCOM files contain data\n"
" that does not comply with the GEDCOM standard and cannot\n"
" be parsed by GRAMPS. If unsure, set up an empty grdb\n"
" database (new GRAMPS format) and import GEDCOM into it.\n"
" This will keep the original GEDCOM untouched.\n"
"\n"
"Enjoy!\n"
"The GRAMPS project\n"))
top.run()
top.destroy()
GrampsKeys.save_betawarn(2)
GrampsKeys.sync()
def date_format_key_update(self,client,cnxn_id,entry,data):

File diff suppressed because it is too large Load Diff