* src/gramps_main.py (undo_callback): Enable underscore in a label.

* src/NameDisplay (display_name): Return empty string for None.
* src/NameEdit.py (__init__): Compare displayed name with empty string,
(update_group_as): Only query grouping for existing name.


svn: r4093
This commit is contained in:
Alex Roitman
2005-02-25 17:06:04 +00:00
parent b44960ff77
commit 6f290afb24
4 changed files with 29 additions and 7 deletions

View File

@ -459,6 +459,7 @@ class Gramps:
if text == None:
self.undolabel.set_sensitive(0)
self.undolabel.get_children()[0].set_text(_("_Undo"))
self.undolabel.get_children()[0].set_use_underline(1)
else:
self.undolabel.set_sensitive(1)
label = self.undolabel.get_children()[0]