summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPietro Battiston <toobaz@email.it>2009-07-16 19:13:19 +0200
committerGian Mario Tagliaretti <gianmt@gnome.org>2009-07-17 19:30:24 -0500
commit5e4d735e8db6053cc8aa84e0cbaaf239754395a6 (patch)
tree66c51f1c69a90db2eece6c5af8b2e3aceeb0b366 /examples
parent13f3e39cb542fa681c5784c077765dc6c254e3f3 (diff)
downloadpygtk-5e4d735e8db6053cc8aa84e0cbaaf239754395a6.tar.gz
Fixed invocation of FileChooserDialog in print-editor demo
Diffstat (limited to 'examples')
-rw-r--r--examples/pygtk-demo/demos/print_editor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pygtk-demo/demos/print_editor.py b/examples/pygtk-demo/demos/print_editor.py
index 7b7ae106..6ed7f8d5 100644
--- a/examples/pygtk-demo/demos/print_editor.py
+++ b/examples/pygtk-demo/demos/print_editor.py
@@ -133,8 +133,8 @@ def save_file(save_filename):
def do_save_as(action):
dialog = gtk.FileChooserDialog("Select file",
main_window,
- (gtk.FILE_CHOOSER_ACTION_SAVE,
- gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
+ gtk.FILE_CHOOSER_ACTION_SAVE,
+ (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
gtk.STOCK_SAVE, gtk.RESPONSE_OK))
dialog.set_default_response(gtk.RESPONSE_OK)
response = dialog.run()