save also call on_response_ok. Fixes #1843

This commit is contained in:
Yann Leboulanger 2006-04-10 21:15:44 +00:00
parent 47d3a2f813
commit 1241da51f2
1 changed files with 1 additions and 0 deletions

View File

@ -656,6 +656,7 @@ class FileChooserDialog(gtk.FileChooserDialog):
buttons = self.action_area.get_children()
possible_responses = {gtk.STOCK_OPEN: on_response_ok,
gtk.STOCK_SAVE: on_response_ok,
gtk.STOCK_CANCEL: on_response_cancel}
for b in buttons:
for response in possible_responses: