svn: r8064

This commit is contained in:
Don Allingham 2007-02-07 02:31:46 +00:00
parent a4a831f880
commit 77ae228939
2 changed files with 7 additions and 3 deletions

View File

@ -68,7 +68,7 @@
2 FORM jpeg
2 FILE O0.jpg
1 BIRT Edwin Michael Smith's Birth event
2 DATE 24 MAY 1961
2 DATE EST 24 MAY 1961
2 PLAC San Jose, Santa Clara Co., CA
3 FORM city, county, state
2 FAMC @F02@
@ -78,7 +78,7 @@
2 DATE BET. 1979 - 1984
2 PLAC UC Berkeley
1 RESI
2 DATE 1 JAN 1985
2 DATE CAL 1 JAN 1985
2 ADDR Address Line 0
3 ADR1 Adr1 line
3 ADR2 Adr2 line

View File

@ -41,6 +41,7 @@ import gtk
#-------------------------------------------------------------------------
from GrampsWidgets import SimpleButton
from _GrampsTab import GrampsTab
import Errors
#-------------------------------------------------------------------------
#
@ -124,7 +125,10 @@ class ButtonTab(GrampsTab):
the Edit button handler is called
"""
if event.type == gtk.gdk._2BUTTON_PRESS and event.button == 1:
try:
self.edit_button_clicked(obj)
except Errors.WindowActiveError:
pass
def add_button_clicked(self, obj):
"""