diff options
| author | Matthias Melcher <git@matthiasm.com> | 2021-12-09 02:43:57 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2021-12-09 02:48:40 +0100 |
| commit | 4f2febd801eadce214189f119090cbe0bb9c05b1 (patch) | |
| tree | f34dfcaedd4304c73013e7568e85ab9024ab0c4e /fluid/Fl_Type.cxx | |
| parent | 1be158a840922aa03682d39926dc60ecb487063b (diff) | |
Fluid STR 3460.D: Shell commands are now saved in the .fl file (user option)
The shell properties toolbox is completely redesigned:
This dialog box offers a field for a command line and three check buttons
to generate and save various files before the command is run.
If the fourth checkbox, "use settings in .fl design files" is checked,
all shell settings will be store in the current .fl file, and they will
be read and restored when the .fl is loaded again.
Fluid will save different shell settings for different operating system as
it is common that a different OS requires a different shell command.
Fluid comes with default shell settings. Pressing the "save as default" button
will store the current setting in the Fluid app settings and are used for new
designs, or if the "use settings..." box is not checked.
Fluid app settings are saved per user and per machine.
Diffstat (limited to 'fluid/Fl_Type.cxx')
| -rw-r--r-- | fluid/Fl_Type.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fluid/Fl_Type.cxx b/fluid/Fl_Type.cxx index cda6b7601..ad89d3bf2 100644 --- a/fluid/Fl_Type.cxx +++ b/fluid/Fl_Type.cxx @@ -39,6 +39,7 @@ copied or otherwise examined. #include "code.h" #include "undo.h" #include "pixmaps.h" +#include "shell_command.h" #include <FL/Fl.H> #include <FL/Fl_Browser_.H> @@ -167,8 +168,10 @@ void delete_all(int selected_only) { if(!selected_only) { include_H_from_C=1; use_FL_COMMAND=0; + // reset the setting for the external shell command + shell_prefs_get(); + shell_settings_write(); } - selection_changed(0); } |
