Mercurial > geeqie
comparison src/main.c @ 742:a336b5545af6
Pass ConfOptions * to save_options() and load_options().
author | zas_ |
---|---|
date | Thu, 22 May 2008 23:22:12 +0000 |
parents | 9b0ac8d58c89 |
children | e73d30e0c896 |
comparison
equal
deleted
inserted
replaced
741:0e8b802e54d5 | 742:a336b5545af6 |
---|---|
542 remote_close(remote_connection); | 542 remote_close(remote_connection); |
543 | 543 |
544 collect_manager_flush(); | 544 collect_manager_flush(); |
545 | 545 |
546 sync_options_with_current_state(options); | 546 sync_options_with_current_state(options); |
547 save_options(); | 547 save_options(options); |
548 keys_save(); | 548 keys_save(); |
549 | 549 |
550 path = g_build_filename(homedir(), GQ_RC_DIR, "accels", NULL); | 550 path = g_build_filename(homedir(), GQ_RC_DIR, "accels", NULL); |
551 pathl = path_from_utf8(path); | 551 pathl = path_from_utf8(path); |
552 gtk_accel_map_save(pathl); | 552 gtk_accel_map_save(pathl); |
651 #endif | 651 #endif |
652 parse_command_line_for_debug_option(argc, argv); | 652 parse_command_line_for_debug_option(argc, argv); |
653 | 653 |
654 options = init_options(NULL); | 654 options = init_options(NULL); |
655 setup_default_options(options); | 655 setup_default_options(options); |
656 load_options(); | 656 load_options(options); |
657 | 657 |
658 parse_command_line(argc, argv, &cmd_path, &cmd_file, &cmd_list, &collection_list, &geometry); | 658 parse_command_line(argc, argv, &cmd_path, &cmd_file, &cmd_list, &collection_list, &geometry); |
659 | 659 |
660 gtk_init(&argc, &argv); | 660 gtk_init(&argc, &argv); |
661 | 661 |