diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-12-20 23:11:30 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-12-20 23:11:30 +0000 |
| commit | cabdde6554a95e6d0fee5ab39f850f7645df3cbb (patch) | |
| tree | f85847d899169d369929df0f570e40c871c5c361 /src/extension/execution-env.h | |
| parent | Effects: make "Working..." dialog transient for preferences dialog (diff) | |
| download | inkscape-cabdde6554a95e6d0fee5ab39f850f7645df3cbb.tar.gz inkscape-cabdde6554a95e6d0fee5ab39f850f7645df3cbb.zip | |
Make script warnings transient for "Working..." dialog
This turned out to be a bit of a mess due to the interplay between
the classes Script / ExecutionEnv / Effect / PrefDialog.
(Basically they don't talk to each other much but all want to
contribute to the GUI)
Likely "Script" (and possibly "ExecutionEnv") should be refactored
to let the other classes handle UI exclusively and throw errors
where suitable.
Diffstat (limited to 'src/extension/execution-env.h')
| -rw-r--r-- | src/extension/execution-env.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extension/execution-env.h b/src/extension/execution-env.h index a57c7b8c9..199e3a5e2 100644 --- a/src/extension/execution-env.h +++ b/src/extension/execution-env.h @@ -98,6 +98,9 @@ public: /** \brief Wait for the effect to complete if it hasn't. */ bool wait (void); + /** \brief Return reference to working dialog (if any) */ + Gtk::Dialog *get_working_dialog (void) { return _visibleDialog; }; + private: void runComplete (void); void createPrefsDialog (Gtk::Widget * controls); |
