1.1 --- a/src/gui/callbacks.c Sun Apr 30 01:51:29 2006 +0000
1.2 +++ b/src/gui/callbacks.c Tue Jun 27 09:34:27 2006 +0000
1.5 - * $Id: callbacks.c,v 1.14 2006-04-30 01:51:29 nkeynes Exp $
1.6 + * $Id: callbacks.c,v 1.15 2006-06-19 11:00:42 nkeynes Exp $
1.8 * All GTK callbacks go here (stubs are autogenerated by Glade)
1.11 on_open1_activate (GtkMenuItem *menuitem,
1.14 - open_file_dialog( "Open...", file_load_magic, NULL, NULL );
1.15 + const gchar *dir = dreamcast_get_config_value(CONFIG_DEFAULT_PATH);
1.16 + open_file_dialog( "Open...", file_load_magic, NULL, NULL, dir );
1.21 on_load_btn_clicked (GtkButton *button,
1.24 - open_file_dialog( "Open...", gdrom_mount_image, NULL, NULL );
1.25 + const gchar *dir = dreamcast_get_config_value(CONFIG_DEFAULT_PATH);
1.26 + open_file_dialog( "Open...", gdrom_mount_image, NULL, NULL, dir );
1.31 on_loadstate_button_clicked (GtkToolButton *toolbutton,
1.34 - open_file_dialog( "Load state...", dreamcast_load_state, "*.dst", "DreamOn Save State (*.dst)" );
1.35 + const gchar *dir = dreamcast_get_config_value(CONFIG_SAVE_PATH);
1.36 + open_file_dialog( "Load state...", dreamcast_load_state, "*.dst", "DreamOn Save State (*.dst)", dir );
1.41 on_savestate_button_clicked (GtkToolButton *toolbutton,
1.44 - save_file_dialog( "Save state...", dreamcast_save_state, "*.dst", "DreamOn Save State (*.dst)" );
1.45 + const gchar *dir = dreamcast_get_config_value(CONFIG_SAVE_PATH);
1.46 + save_file_dialog( "Save state...", dreamcast_save_state, "*.dst", "DreamOn Save State (*.dst)", dir );