2007-08-30 Don Allingham <don@gramps-project.org>

* src/BasicUtils/_UpdateCallback.py: add support for text in progressbar
	* src/ExportAssistant.py: add support for text in progressbar
	* src/ExportOptions.py: add support for text in progressbar
	* src/GrampsDbUtils/_WriteGedcom.py: add support for text in progressbar
	
2007-08-30  Don Allingham  <don@gramps-project.org>
	* src/GrampsDb/_GrampsDBDir.py: use types.InstanceType
	* src/RelLib/_SourceBase.py: use types.InstanceType
	* src/RelLib/_Source.py: use types.InstanceType
	* src/RelLib/_MediaObject.py: use types.InstanceType
	* src/RelLib/_Person.py: use types.InstanceType
	* src/RelLib/_DateBase.py: use types.InstanceType
	* src/RelLib/_ChildRef.py: use types.InstanceType
	* src/RelLib/_Family.py: use types.InstanceType
	* src/RelLib/_Place.py: use types.InstanceType
	* src/RelLib/_RepoRef.py: use types.InstanceType
	* src/RelLib/_Note.py: use types.InstanceType
	* src/RelLib/_EventRef.py: use types.InstanceType
	* src/RelLib/_Repository.py: use types.InstanceType
	* src/RelLib/_Event.py: use types.InstanceType



svn: r8900
This commit is contained in:
Don Allingham
2007-08-31 03:18:38 +00:00
parent 3bcaf36d57
commit 27aa4ec6a2
5 changed files with 37 additions and 50 deletions

View File

@@ -578,9 +578,9 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
while gtk.events_pending():
gtk.main_iteration()
def pulse_progressbar(self, value):
def pulse_progressbar(self, value, text):
self.progressbar.set_fraction(min(value/100.0, 1.0))
self.progressbar.set_text("%d%%" % value)
self.progressbar.set_text("%s: %d%%" % (text, value))
while gtk.events_pending():
gtk.main_iteration()