0001925: fixed closing via title bar close button launched help
svn: r10262
This commit is contained in:
parent
7a7bd257d4
commit
f801dfceba
@ -159,9 +159,9 @@ class GrampletWindow(ManagedWindow.ManagedWindow):
|
||||
self.window.show()
|
||||
|
||||
def handle_response(self, object, response):
|
||||
if response == gtk.RESPONSE_CLOSE:
|
||||
if response in [gtk.RESPONSE_CLOSE, gtk.STOCK_CLOSE]:
|
||||
self.close()
|
||||
else:
|
||||
elif response == gtk.RESPONSE_HELP:
|
||||
# translated name:
|
||||
GrampsDisplay.help('gramplet', WIKI_HELP_PAGE,
|
||||
self.gramplet.tname.replace(" ", "_"))
|
||||
|
Loading…
Reference in New Issue
Block a user