load dataset defaults to datadir
This commit is contained in:
parent
01ef4bdedd
commit
fa4604dbe5
|
@ -256,6 +256,7 @@ class NavigatorMenu(gtk.Menu):
|
||||||
dialog.set_action(gtk.FILE_CHOOSER_ACTION_OPEN)
|
dialog.set_action(gtk.FILE_CHOOSER_ACTION_OPEN)
|
||||||
dialog.add_buttons(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OPEN, gtk.RESPONSE_OK)
|
dialog.add_buttons(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OPEN, gtk.RESPONSE_OK)
|
||||||
dialog.set_select_multiple(True)
|
dialog.set_select_multiple(True)
|
||||||
|
dialog.set_current_folder(main.options.datadir)
|
||||||
retval = dialog.run()
|
retval = dialog.run()
|
||||||
if retval in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]:
|
if retval in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]:
|
||||||
pass
|
pass
|
||||||
|
|
Reference in New Issue