Skip to content

Commit 98f711a

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy