2006-09-24 Don Allingham <don@gramps-project.org>

* src/ViewManager.py: fix call to warning dialog
	* src/QuestionDialog.py: Don't do internal check on value



svn: r7328
This commit is contained in:
Don Allingham 2006-09-25 02:19:58 +00:00
parent dfb6fc2417
commit c07efc751a
3 changed files with 20 additions and 17 deletions

View File

@ -1,3 +1,7 @@
2006-09-24 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: fix call to warning dialog
* src/QuestionDialog.py: Don't do internal check on value
2006-09-24 Brian Matherly <brian@gramps-project.org> 2006-09-24 Brian Matherly <brian@gramps-project.org>
* src/plugins/AncestorReport.py: Fix generation numbers. * src/plugins/AncestorReport.py: Fix generation numbers.

View File

@ -259,7 +259,6 @@ class MessageHideDialog:
def __init__(self, title, message, key, parent=None): def __init__(self, title, message, key, parent=None):
if not Config.get(key):
glade_xml = gtk.glade.XML(const.gladeFile, "hide_dialog", "gramps") glade_xml = gtk.glade.XML(const.gladeFile, "hide_dialog", "gramps")
top = glade_xml.get_widget('hide_dialog') top = glade_xml.get_widget('hide_dialog')
dont_show = glade_xml.get_widget('dont_show') dont_show = glade_xml.get_widget('dont_show')

View File

@ -1055,7 +1055,7 @@ def check_for_portability_problems(filetype):
version = (sys.version_info[0],sys.version_info[1]) version = (sys.version_info[0],sys.version_info[1])
if version < (2, 5): if version < (2, 5) and Config.get(Config.PORT_WARN):
QuestionDialog.MessageHideDialog( QuestionDialog.MessageHideDialog(
_('Database is not portable'), _('Database is not portable'),
_('Your system is running an old version of python. This ' _('Your system is running an old version of python. This '