diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2019-02-14 18:07:10 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-02-18 21:18:27 +0000 |
| commit | 048f621426810434a90baf16dc318296f5f31874 (patch) | |
| tree | d39559314e3c2bf285b46bd99efdd61c3aa70204 /src | |
| parent | Add apply functions (diff) | |
| download | inkscape-048f621426810434a90baf16dc318296f5f31874.tar.gz inkscape-048f621426810434a90baf16dc318296f5f31874.zip | |
Add switch icon to fix broken image
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/livepatheffect-add.cpp | 12 | ||||
| -rw-r--r-- | src/ui/dialog/livepatheffect-add.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/dialog/livepatheffect-add.cpp b/src/ui/dialog/livepatheffect-add.cpp index 5415272fc..5edcb691f 100644 --- a/src/ui/dialog/livepatheffect-add.cpp +++ b/src/ui/dialog/livepatheffect-add.cpp @@ -116,7 +116,7 @@ LivePathEffectAdd::LivePathEffectAdd() _builder->get_widget("LPESelectorEffectInfoPop", _LPESelectorEffectInfoPop); _builder->get_widget("LPEFilter", _LPEFilter); _builder->get_widget("LPEInfo", _LPEInfo); - _builder->get_widget("LPEExperimentals", _LPEExperimentals); + _builder->get_widget("LPEExperimental", _LPEExperimental); _builder->get_widget("LPEScrolled", _LPEScrolled); _builder->get_widget("LPESelectorEffectEventFavShow", _LPESelectorEffectEventFavShow); _builder->get_widget("LPESelectorEffectInfoEventBox", _LPESelectorEffectInfoEventBox); @@ -199,7 +199,7 @@ LivePathEffectAdd::LivePathEffectAdd() _LPESelectorEffectInfoEventBox->signal_leave_notify_event().connect(sigc::bind<GtkWidget *>(sigc::mem_fun(*this, &LivePathEffectAdd::mouseout), GTK_WIDGET(_LPESelectorEffectInfoEventBox->gobj()))); _LPESelectorFlowBox->set_sort_func(sigc::mem_fun(*this, &LivePathEffectAdd::on_sort)); _LPESelectorFlowBox->set_filter_func(sigc::mem_fun(*this, &LivePathEffectAdd::on_filter)); - _LPEExperimentals->property_active().signal_changed().connect(sigc::mem_fun(*this, &LivePathEffectAdd::reload_effect_list)); + _LPEExperimental->property_active().signal_changed().connect(sigc::mem_fun(*this, &LivePathEffectAdd::reload_effect_list)); _LPEDialogSelector->show_all_children(); int width; int height; @@ -359,7 +359,7 @@ bool LivePathEffectAdd::on_filter(Gtk::FlowBoxChild *child) } Gtk::ToggleButton *experimental = dynamic_cast<Gtk::ToggleButton *>(contents[3]); if (experimental) { - if (experimental->get_active() && _LPEExperimentals->get_active()) { + if (experimental->get_active() && _LPEExperimental->get_active()) { return false; } } @@ -389,10 +389,10 @@ bool LivePathEffectAdd::on_filter(Gtk::FlowBoxChild *child) void LivePathEffectAdd::reload_effect_list() { - /* if(_LPEExperimentals->get_active()) { - _LPEExperimentals->get_style_context()->add_class("active"); + /* if(_LPEExperimental->get_active()) { + _LPEExperimental->get_style_context()->add_class("active"); } else { - _LPEExperimentals->get_style_context()->remove_class("active"); + _LPEExperimental->get_style_context()->remove_class("active"); } */ _visiblelpe = 0; _LPESelectorFlowBox->invalidate_filter(); diff --git a/src/ui/dialog/livepatheffect-add.h b/src/ui/dialog/livepatheffect-add.h index 49c11170a..28c2c8b5b 100644 --- a/src/ui/dialog/livepatheffect-add.h +++ b/src/ui/dialog/livepatheffect-add.h @@ -97,7 +97,7 @@ private: Gtk::Popover *_LPESelectorEffectInfoPop; Gtk::EventBox *_LPESelectorEffectEventFavShow; Gtk::EventBox *_LPESelectorEffectInfoEventBox; - Gtk::Switch * _LPEExperimentals; + Gtk::Switch *_LPEExperimental; Gtk::SearchEntry *_LPEFilter; Gtk::ScrolledWindow *_LPEScrolled; Gtk::Label *_LPEInfo; |
