summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f5931c6)
raw | patch | inline | side by side (parent: f5931c6)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 9 Mar 2009 00:38:46 +0000 (00:38 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 9 Mar 2009 00:38:46 +0000 (00:38 +0000) |
src/ui/widget/filter-effect-chooser.cpp | patch | blob | history | |
src/ui/widget/object-composite-settings.cpp | patch | blob | history |
index 78ddbaa876bd3d27f790e089130a84325bbe9432..9aaa642202ab6304fd6617d75091f7ddb1b9b1ac 100644 (file)
_lb_blur.set_use_underline();
_lb_blur.set_mnemonic_widget(_blur.get_scale());
_blend.signal_changed().connect(signal_blend_blur_changed());
+ _blur.set_update_policy(Gtk::UPDATE_DELAYED);
_blur.signal_value_changed().connect(signal_blend_blur_changed());
}
diff --git a/src/ui/widget/object-composite-settings.cpp b/src/ui/widget/object-composite-settings.cpp
index 3e6683c64431519c8fc30eaf37a55429a20f5eb5..bfc291bc02a3e69435a2219e31a2b9ffbaf02b03 100644 (file)
_opacity_hbox.pack_start(_opacity_hscale, true, true, 4);
_opacity_hbox.pack_start(_opacity_spin_button, false, false, 0);
_opacity_hscale.set_draw_value(false);
+ _opacity_hscale.set_update_policy(Gtk::UPDATE_DELAYED);
_opacity_adjustment.signal_value_changed().connect(sigc::mem_fun(*this, &ObjectCompositeSettings::_opacityValueChanged));
show_all_children();
_blocked = true;
// FIXME: fix for GTK breakage, see comment in SelectedStyle::on_opacity_changed; here it results in crash 1580903
- sp_canvas_force_full_redraw_after_interruptions(sp_desktop_canvas(desktop), 0);
+ //sp_canvas_force_full_redraw_after_interruptions(sp_desktop_canvas(desktop), 0);
Geom::OptRect bbox = _subject->getBounds(SPItem::GEOMETRIC_BBOX);
double radius;
_("Change blur"));
// resume interruptibility
- sp_canvas_end_forced_full_redraws(sp_desktop_canvas(desktop));
+ //sp_canvas_end_forced_full_redraws(sp_desktop_canvas(desktop));
_blocked = false;
}
// FIXME: fix for GTK breakage, see comment in SelectedStyle::on_opacity_changed; here it results in crash 1580903
// UPDATE: crash fixed in GTK+ 2.10.7 (bug 374378), remove this as soon as it's reasonably common
// (though this only fixes the crash, not the multiple change events)
- sp_canvas_force_full_redraw_after_interruptions(sp_desktop_canvas(desktop), 0);
+ //sp_canvas_force_full_redraw_after_interruptions(sp_desktop_canvas(desktop), 0);
SPCSSAttr *css = sp_repr_css_attr_new ();
_("Change opacity"));
// resume interruptibility
- sp_canvas_end_forced_full_redraws(sp_desktop_canvas(desktop));
+ //sp_canvas_end_forced_full_redraws(sp_desktop_canvas(desktop));
_blocked = false;
}