make error report versions closer to Help=>About ones
This commit is contained in:
parent
2f8bc559e8
commit
13b5680692
@ -174,26 +174,31 @@ class ErrorReportAssistant(ManagedWindow, Gtk.Assistant):
|
|||||||
operatingsystem = sys.platform
|
operatingsystem = sys.platform
|
||||||
distribution = " "
|
distribution = " "
|
||||||
|
|
||||||
return "Python version: %s \n"\
|
sqlite = ''
|
||||||
|
if __debug__:
|
||||||
|
sqlite = "sqlite version: %s (%s) \n" % (sqlite3_version_str,
|
||||||
|
sqlite3_py_version_str)
|
||||||
|
|
||||||
|
return "Gramps version: %s \n"\
|
||||||
|
"Python version: %s \n"\
|
||||||
"BSDDB version: %s \n"\
|
"BSDDB version: %s \n"\
|
||||||
"sqlite version: %s (%s) \n"\
|
"%s"\
|
||||||
"Gramps version: %s \n"\
|
|
||||||
"LANG: %s\n"\
|
"LANG: %s\n"\
|
||||||
"OS: %s\n"\
|
"OS: %s\n"\
|
||||||
"Distribution: %s\n\n"\
|
"Distribution: %s\n\n"\
|
||||||
"GTK version : %s\n"\
|
"GTK version : %s\n"\
|
||||||
"gobject version: %s\n"\
|
"gobject version: %s\n"\
|
||||||
"cairo version : %s"\
|
"cairo version : %s"\
|
||||||
% (str(sys.version).replace('\n',''),
|
% (str(VERSION),
|
||||||
|
str(sys.version).replace('\n',''),
|
||||||
BSDDB_STR,
|
BSDDB_STR,
|
||||||
sqlite3_version_str,
|
sqlite,
|
||||||
sqlite3_py_version_str,
|
|
||||||
str(VERSION),
|
|
||||||
get_env_var('LANG',''),
|
get_env_var('LANG',''),
|
||||||
operatingsystem,
|
operatingsystem,
|
||||||
distribution,
|
distribution,
|
||||||
'%d.%d.%d' % (Gtk.get_major_version(),
|
'%d.%d.%d' % (Gtk.get_major_version(),
|
||||||
Gtk.get_minor_version(), Gtk.get_micro_version()),
|
Gtk.get_minor_version(),
|
||||||
|
Gtk.get_micro_version()),
|
||||||
'%d.%d.%d' % GObject.pygobject_version,
|
'%d.%d.%d' % GObject.pygobject_version,
|
||||||
cairo.version_info)
|
cairo.version_info)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user