diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-10-01 13:24:52 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-10-01 13:24:52 +0000 |
| commit | 2375422a16eba1307d51847220acc6a15035524f (patch) | |
| tree | 466ad24fc96cda4cc9a34540ffe6b9c618420cf4 /src/ui/dialog/livepatheffect-add.cpp | |
| parent | Fix tests after adding xml:lang. (diff) | |
| download | inkscape-2375422a16eba1307d51847220acc6a15035524f.tar.gz inkscape-2375422a16eba1307d51847220acc6a15035524f.zip | |
Make funtion that add classes to top level windows in diallogs callable from non dialogs windows
Diffstat (limited to 'src/ui/dialog/livepatheffect-add.cpp')
| -rw-r--r-- | src/ui/dialog/livepatheffect-add.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/dialog/livepatheffect-add.cpp b/src/ui/dialog/livepatheffect-add.cpp index fa1571be6..4c86189db 100644 --- a/src/ui/dialog/livepatheffect-add.cpp +++ b/src/ui/dialog/livepatheffect-add.cpp @@ -9,10 +9,11 @@ * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ +#include "livepatheffect-add.h" #include "desktop.h" +#include "dialog.h" #include "io/resource.h" #include "live_effects/effect.h" -#include "livepatheffect-add.h" #include "object/sp-item-group.h" #include "object/sp-path.h" #include "object/sp-shape.h" @@ -246,6 +247,9 @@ LivePathEffectAdd::LivePathEffectAdd() _LPESelectorEffectRadioList->set_active(); viewChanged(2); } + Gtk::Widget *widg = dynamic_cast<Gtk::Widget *>(_LPEDialogSelector); + INKSCAPE.signal_change_theme.connect(sigc::bind(sigc::ptr_fun(sp_add_top_window_classes), widg)); + sp_add_top_window_classes(widg); } const LivePathEffect::EnumEffectData<LivePathEffect::EffectType> *LivePathEffectAdd::getActiveData() { |
