Mercurial > geeqie
comparison src/utilops.c @ 1743:1cc12c4b841a
start_editor_from_filelist_full fixes
fixed return value from start_editor_from_filelist_full()
call editor_command_parse to detect possible problems early enough
author | nadvornik |
---|---|
date | Mon, 07 Sep 2009 20:44:29 +0000 |
parents | 672ee190869e |
children | 203404cc8e98 |
comparison
equal
deleted
inserted
replaced
1742:eb64f542341b | 1743:1cc12c4b841a |
---|---|
870 flags = start_editor_from_filelist(ud->external_command, ud->flist); | 870 flags = start_editor_from_filelist(ud->external_command, ud->flist); |
871 file_util_perform_ci_internal(ud); | 871 file_util_perform_ci_internal(ud); |
872 } | 872 } |
873 } | 873 } |
874 | 874 |
875 if (flags) | 875 if (EDITOR_ERRORS(flags)) |
876 { | 876 { |
877 gchar *text = g_strdup_printf(_("%s\nUnable to start external command.\n"), editor_get_error_str(flags)); | 877 gchar *text = g_strdup_printf(_("%s\nUnable to start external command.\n"), editor_get_error_str(flags)); |
878 file_util_warning_dialog(ud->messages.fail, text, GTK_STOCK_DIALOG_ERROR, NULL); | 878 file_util_warning_dialog(ud->messages.fail, text, GTK_STOCK_DIALOG_ERROR, NULL); |
879 g_free(text); | 879 g_free(text); |
880 } | 880 } |