diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index e37431033..99783f323 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -4,6 +4,7 @@ 2006-05-02 Alex Roitman * src/GrampsWidgets.py (IconButton): Replace event box with button. + * src/GrampsWidgets.py (WarnButton.__init__): * configure.in: Generate new Makefiles. * src/GenericFilters.py: Remove. diff --git a/gramps2/src/GrampsWidgets.py b/gramps2/src/GrampsWidgets.py index 465c92022..66c4283d0 100644 --- a/gramps2/src/GrampsWidgets.py +++ b/gramps2/src/GrampsWidgets.py @@ -91,9 +91,9 @@ class IconButton(gtk.Button): if func: self.connect('button-press-event', func, handle) -class WarnButton(gtk.EventBox): +class WarnButton(gtk.Button): def __init__(self): - gtk.EventBox.__init__(self) + gtk.Button.__init__(self) image = gtk.Image() # Some versions of FreeBSD don't seem to have STOCK_INFO @@ -104,6 +104,7 @@ class WarnButton(gtk.EventBox): image.show() self.add(image) + self.set_relief(gtk.RELIEF_NONE) self.show() self.func = None self.hide()