aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/file_dlg.h
AgeCommit message (Collapse)AuthorFilesLines
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-02-25Remove trailing whitespaceBill Meier1-4/+4
Change-Id: I8116f63ff88687c8db3fd6e8e23b22ab2f759af0 Reviewed-on: https://code.wireshark.org/review/385 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2013-10-11Remove GTK+ and global cfile dependencies from file_dlg_win32.c.Gerald Combs1-7/+0
Move the declaration of set_last_open_dir() to ui/util.h. It still has separate GTK+ and Qt implemenations. We might want to move it to ui/util.c at some point. Remove a lot of unnecessary GTK+ includes. Remove most of the references to the global cfile while we're at it. svn path=/trunk/; revision=52542
2013-05-14Give file_selection_new() an argument to specify the parent window ofGuy Harris1-3/+5
the file selection dialog. Call gtk_file_chooser_set_do_overwrite_confirmation() in file_selection_new() for FILE_SELECTION_SAVE file selection dialogs, rather than doing it in the individual callers of file_selection_new(). Use gtk_dialog_set_alternative_button_order() in file_selection_new() to set the alternative button order, rather than using #ifdefs. Use file_selection_new() and file_selection_run() in the graph analysis code. (We should clean up other code that uses file_selection_new() to use file_selection_run(), and clean up other code that uses gtk_file_chooser_dialog_new() to use file_selection_new() and file_selection_run().) svn path=/trunk/; revision=49308
2013-04-26Fix a whole bunch of doxygen warnings, mostly typos or renamed parameters.Evan Huus1-1/+1
svn path=/trunk/; revision=49053
2013-02-25it's ==> its & its ==> it's as needed.Bill Meier1-1/+1
In a few cases: Fix spelling; Clean up whitespace and formatting style. svn path=/trunk/; revision=47889
2012-07-16Move most of file_open_cmd to gtk_open_file. Make gtk_open_fileGerald Combs1-0/+9
and win32_open_file behave similarly. _snwprintf is "banned". Use StringCchPrintf instead. Tested on Windows. I'll test on OS X shortly. svn path=/trunk/; revision=43756
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-21Move a bunch of common code in the file chooser dialog loops into aGuy Harris1-0/+9
routine to run a file chooser dialog. On Windows, add to that code to resolve shell links ("shortcuts"), adopted from the Sylpheed mail reader. (That code requires a pile of OLE stuff, so link with the OLE library.) Make it a bit easier to configure ui/gtk/capture_file_dlg.c to use GTK+ dialogs on Windows, but continue to default to using the Win32 dialogs, at least for now. svn path=/trunk/; revision=43439
2012-06-19The GTK+ file chooser already *includes* UI code to ask the user whetherGuy Harris1-5/+5
they want to overwrite an existing file; just use that. (The Win32 file chooser also does that itself.) Just do UI for "do you want to overwrite this {user-immutable,unwritable} file?". svn path=/trunk/; revision=43381
2012-06-04And do the same with the color filter import and export dialogs (whichGuy Harris1-3/+5
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
2012-06-04file_target_exist_ui() is used only on UN*Xes; on Win32, we'd use theGuy Harris1-0/+2
Windows file dialog, which has its own built-in version of the "do you want to overwrite that file?" dialog, and Notepad and WordPad, at least, just appear to error out if you try to overwrite a file with the read-only flag set, rather than asking whether you want to override that. svn path=/trunk/; revision=43072
2012-06-04Make the "Export Selected Packets As..." code path more like the "SaveGuy Harris1-0/+9
As..." code path. Extract the code for the "do you want to overwrite this file" and "OK, you do - are you aware it's {user-immutable, read-only}?" code paths into a common routine for use by both of those and, potentially, other save/export/etc. code paths in the future. For "Save As", allow us to save atop the current capture file, as that's just what "Save" does if there are unsaved changes, and "safe save" makes that work. *Don't* allow that for "Export Selected Packets As...", however. The file chooser is run as a modal dialog, so we don't need to worry about creating more than one of them or about the number of marked packets etc. being changed out from under us. Get rid of a bunch of static variables. svn path=/trunk/; revision=43060
2012-01-18Restructure the recent file code so that recent.c is GUI-independent;Guy Harris1-6/+0
move it to the top-level source directory for now, and move ui/gtk/recent.h to the ui directory. svn path=/trunk/; revision=40561
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-0/+115
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518