Fix 2112320: "Change 'Grab' button in the Gradient Editor". Renamed the 'Grab' butto...
[synfig.git] / synfig-studio / trunk / src / gtkmm / dialog_gradient.h
index 7daa4ac..c681dac 100644 (file)
@@ -86,6 +86,7 @@ class Dialog_Gradient : public Gtk::Dialog
 
        Widget_Gradient* widget_gradient;
        Widget_ColorEdit* widget_color;
+       Gtk::Button *grab_button;
 
        void on_changed();
 
@@ -97,6 +98,8 @@ public:
 
        const synfig::Gradient& get_gradient()const { return widget_gradient->get_value(); }
 
+       void grab_button_set_sensitive(bool sensitive) { grab_button->set_sensitive(sensitive); }
+
        void reset();