~isak-karlsson/+junk/syncany-deamonize-gui

« back to all changes in this revision

Viewing changes to syncany/bin/native.py

  • Committer: Philipp Heckel
  • Date: 2011-06-05 20:08:25 UTC
  • Revision ID: philipp.heckel@gmail.com-20110605200825-m7861e3gsfdmbdra
tray icon on linux; python script

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
                title = "Select folder"
130
130
                                
131
131
        # Init chooser and show it
132
 
        dialog = gtk.FileChooserDialog(title=title, parent=None, action=gtk.FILE_CHOOSER_ACTION_OPEN, 
 
132
        dialog = gtk.FileChooserDialog(title=title, parent=None, action=action, 
133
133
                buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OPEN, gtk.RESPONSE_OK))
134
134
 
135
135
        dialog.set_default_response(gtk.RESPONSE_OK)