wireshark/plugins
Ahmad Fatoum b478df61f5 Qt: Provide both file save and open preferences
This is a breaking change.

prefs_register_filename_preference hasn't been differentiating
between files to be saved and ones to be opened.

On GTK, a neutral dialog is used, so no problems there.
On Qt, a save dialog has been always used, even in dissectors that
were reading configuration files without modification.

prefs_register_filename_preference now takes an argument to indicate
whether UI could be a save dialog with a warning on overwriting
a file, or whether it's a general purpose open file dialog.

Qt now does this. Previously no warning was shown on overwriting a file,
so it may be used for opening files too without irritating the user.
This has been changed, as non-destructive reads should now use
the open dialog.

Dissectors were changed accordingly.

Change-Id: I9087fefa5ee7ca58de0775d4fe2c0fdcfa3a3018
Reviewed-on: https://code.wireshark.org/review/21086
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2017-04-17 10:51:10 +00:00
..
docsis [DOCSIS] Fix typo in docsis_conf_code. 2017-04-16 16:19:59 +00:00
easy_codec Remove Makefile.common files 2016-06-30 11:04:17 +00:00
ethercat Get rid of some generated files with "make distclean". 2017-04-16 08:24:01 +00:00
gryphon Get rid of some generated files with "make distclean". 2017-04-16 08:24:01 +00:00
irda Get rid of some generated files with "make distclean". 2017-04-16 08:24:01 +00:00
m2m Get rid of some generated files with "make distclean". 2017-04-16 08:24:01 +00:00
mate Qt: Provide both file save and open preferences 2017-04-17 10:51:10 +00:00
opcua Get rid of some generated files with "make distclean". 2017-04-16 08:24:01 +00:00
pluginifdemo Get rid of some generated files with "make distclean". 2017-04-16 08:24:01 +00:00
profinet Get rid of some generated files with "make distclean". 2017-04-16 08:24:01 +00:00
stats_tree uat: add a reset callback. 2017-01-12 12:39:15 +00:00
tpg Combine Decode As and port preferences for tcp.port dissector table. 2016-10-08 02:44:53 +00:00
transum Get rid of unnecesary #includes. 2017-04-17 03:02:30 +00:00
unistim Get rid of some generated files with "make distclean". 2017-04-16 08:24:01 +00:00
wimax Get rid of some generated files with "make distclean". 2017-04-16 08:24:01 +00:00
wimaxasncp Get rid of some generated files with "make distclean". 2017-04-16 08:24:01 +00:00
wimaxmacphy Get rid of some generated files with "make distclean". 2017-04-16 08:24:01 +00:00
Custom.m4.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Custom.make.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.am Build TRANSUM plugin 2016-12-13 08:50:27 +00:00
Makefile.am.inc Remove Makefile.common files 2016-06-30 11:04:17 +00:00