FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Set default folder for the save window to ~ · bpython/bpython@98f711a · GitHub

Commit 98f711a

Browse files
committed
Set default folder for the save window to ~
1 parent f72a90f commit 98f711a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎bpython/gtk_.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ def file_prompt(self, s):
288288
buttons=(gtk.STOCK_CANCEL,gtk.RESPONSE_CANCEL,gtk.STOCK_OPEN,gtk.RESPONSE_OK))
289289
chooser.set_default_response(gtk.RESPONSE_OK)
290290
chooser.set_current_name('test.py')
291+
chooser.set_current_folder(os.path.expanduser('~'))
291292

292293
pyfilter = gtk.FileFilter()
293294
pyfilter.set_name("Python files")

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL