def on_reset_clicked(self, widget, colorbutton): color = gtk.gdk.Color(32767, 32767, 32767) colorbutton.set_color(color) TweakSettings.set_toolbar_color(color.to_string())
def on_color_set(self, widget): TweakSettings.set_toolbar_color(widget.get_color().to_string())