libgimpwidgets: add GimpColorSelectorClass::icon_name
and deprecate its stock_id.
This commit is contained in:
@ -117,7 +117,7 @@ colorsel_cmyk_class_init (ColorselCmykClass *klass)
|
||||
|
||||
selector_class->name = _("CMYK");
|
||||
selector_class->help_id = "gimp-colorselector-cmyk";
|
||||
selector_class->stock_id = GTK_STOCK_PRINT; /* FIXME */
|
||||
selector_class->icon_name = GTK_STOCK_PRINT; /* FIXME */
|
||||
selector_class->set_color = colorsel_cmyk_set_color;
|
||||
selector_class->set_config = colorsel_cmyk_set_config;
|
||||
}
|
||||
|
@ -115,9 +115,9 @@ colorsel_water_class_init (ColorselWaterClass *klass)
|
||||
{
|
||||
GimpColorSelectorClass *selector_class = GIMP_COLOR_SELECTOR_CLASS (klass);
|
||||
|
||||
selector_class->name = _("Watercolor");
|
||||
selector_class->help_id = "gimp-colorselector-watercolor";
|
||||
selector_class->stock_id = GIMP_STOCK_TOOL_PAINTBRUSH;
|
||||
selector_class->name = _("Watercolor");
|
||||
selector_class->help_id = "gimp-colorselector-watercolor";
|
||||
selector_class->icon_name = GIMP_STOCK_TOOL_PAINTBRUSH;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -101,7 +101,7 @@ colorsel_wheel_class_init (ColorselWheelClass *klass)
|
||||
|
||||
selector_class->name = _("Wheel");
|
||||
selector_class->help_id = "gimp-colorselector-triangle";
|
||||
selector_class->stock_id = GIMP_STOCK_COLOR_TRIANGLE;
|
||||
selector_class->icon_name = GIMP_STOCK_COLOR_TRIANGLE;
|
||||
selector_class->set_color = colorsel_wheel_set_color;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user