2006-05-12  Alex Roitman  <shura@gramps-project.org>
	* src/UndoHistory.py (gtk_color_to_str): Better color to str.
	* src/QuestionDialog.py (QuestionDialog2.__init__): Use the
	underline for labels.
	* src/plugins/ChangeNames.py: Fix WM.
	* src/plugins/PatchNames.py: Fix WM.

In po:
	* gramps.pot: Update.


svn: r6630
This commit is contained in:
Alex Roitman
2006-05-12 18:46:26 +00:00
parent 75d6553294
commit 9e68a4b550
7 changed files with 661 additions and 438 deletions

View File

@ -90,11 +90,12 @@ class PatchNames(Tool.BatchTool, ManagedWindow.ManagedWindow):
def __init__(self, dbstate, uistate, options_class, name, callback=None):
self.label = _('Name and title extraction tool')
ManagedWindow.ManagedWindow.__init__(self,uistate,[],self.__class__)
self.set_window(gtk.Window(),gtk.Label(),'')
Tool.BatchTool.__init__(self, dbstate, options_class, name)
if self.fail:
return
ManagedWindow.ManagedWindow.__init__(self,uistate,[],self.__class__)
self.cb = callback
self.title_list = []
@ -161,6 +162,7 @@ class PatchNames(Tool.BatchTool, ManagedWindow.ManagedWindow):
self.display()
else:
self.progress.close()
self.close()
OkDialog(_('No modifications made'),
_("No titles or nicknames were found"))