diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-06-04 19:37:04 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-06-04 19:37:04 +0000 |
commit | 5caadafaca39e13a58c7dbe48344aa7da92f81dc (patch) | |
tree | 9dc461caa20e9d211edc701dc190cc4768b0fc8e /ui/gtk/file_dlg.h | |
parent | 0955936403be216fafa1441383c4614218cdb12c (diff) |
And do the same with the color filter import and export dialogs (which
really don't belong here - they have nothing to do with capture files).
Absorb the test for the target file's existence into
file_target_exist_ui().
svn path=/trunk/; revision=43077
Diffstat (limited to 'ui/gtk/file_dlg.h')
-rw-r--r-- | ui/gtk/file_dlg.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/gtk/file_dlg.h b/ui/gtk/file_dlg.h index 5e32d2da4b..0ec46e5a8d 100644 --- a/ui/gtk/file_dlg.h +++ b/ui/gtk/file_dlg.h @@ -86,9 +86,11 @@ extern gboolean file_selection_set_current_folder(GtkWidget *fs, const gchar *fi extern void file_selection_set_extra_widget(GtkWidget *fs, GtkWidget *extra); #ifndef _WIN32 -/* Pop up and run the UI asking the user whether they want to - * overwrite a file and, if it's user-immutable or not writable, - * whether they want to overwrite it anyway. +/** If the specified file doesn't exist, return TRUE. + * If it does exist, pop up and run the UI asking the user whether + * they want to overwrite a file and, if it's user-immutable or not + * writable, whether they want to overwrite it anyway, and return + * TRUE if the file should be overwritten and FALSE otherwise. * * @param chooser_w the GtkFileChooser used to select the file in question * @param cf_name the current name chosen |