Initialize the sensitivity of plugin widgets at startup.
button = (Button) builder.get_object (CLEAR_BUTTON);
button.clicked += this.on_clear_button_clicked;
this.widgets.add (button);
button = (Button) builder.get_object (CLEAR_BUTTON);
button.clicked += this.on_clear_button_clicked;
this.widgets.add (button);
+
+ // Initialize the sensitivity of all widgets
+ this.reset_widgets_sensitivity ();
}
public override void save () {
}
public override void save () {
this.pictures_check.active = config.get_bool (this.name,
PICTURES_KEY);
} catch (Error err) {}
this.pictures_check.active = config.get_bool (this.name,
PICTURES_KEY);
} catch (Error err) {}
+
+ // Initialize the sensitivity of all widgets
+ this.reset_widgets_sensitivity ();
}
public override void save () {
}
public override void save () {