svn: r4421
This commit is contained in:
Don Allingham 2005-04-25 02:30:28 +00:00
parent f530e27275
commit 398338bda8
2 changed files with 17 additions and 8 deletions

View File

@ -1,3 +1,11 @@
Version 1.1.99 -- the "What... is your favourite colour?" release
* Bug fixes
* GEDCOM import fixes with parent/child relationships
* Improved signaling interface to keep all displays in sync
* Handle multiple selections in the Source View
* Handle runtime errors from gnomevfs
* translation improvements
Version 1.1.95 -- the "When danger reared its ugly head, he bravely
turned his tail and fled" release
* Explicit format selection in Save As, Open, and Import dialogs.

View File

@ -305,7 +305,7 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
self.spouse_combo= self.gtop.get_widget("spouse_combo")
self.spouse_tab = self.gtop.get_widget("spouse_tab")
self.undolabel = self.gtop.get_widget('undolabel')
self.redolabel = self.gtop.get_widget('redolabel')
#self.redolabel = self.gtop.get_widget('redolabel')
self.open_recent = self.gtop.get_widget('open_recent1')
self.child_model = gtk.ListStore(
@ -494,13 +494,14 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
label.set_use_underline(1)
def redo_callback(self,text):
self.redolabel.set_sensitive(bool(text))
label = self.redolabel.get_children()[0]
if text:
label.set_text(text)
else:
label.set_text(_("_Redo"))
label.set_use_underline(1)
return
#self.redolabel.set_sensitive(bool(text))
#label = self.redolabel.get_children()[0]
#if text:
# label.set_text(text)
#else:
# label.set_text(_("_Redo"))
#label.set_use_underline(1)
def undo(self,*args):
"""