Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

load dataset defaults to datadir

This commit is contained in:
Arnar Flatberg 2007-08-22 14:05:51 +00:00
parent 01ef4bdedd
commit fa4604dbe5
1 changed files with 1 additions and 0 deletions

View File

@ -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