libgimpwidgets: add GimpColorDisplayClass::icon_name
and deprecate its stock_id.
This commit is contained in:
@ -255,7 +255,7 @@ cdisplay_colorblind_class_init (CdisplayColorblindClass *klass)
|
||||
|
||||
display_class->name = _("Color Deficient Vision");
|
||||
display_class->help_id = "gimp-colordisplay-colorblind";
|
||||
display_class->stock_id = GIMP_STOCK_DISPLAY_FILTER_COLORBLIND;
|
||||
display_class->icon_name = GIMP_STOCK_DISPLAY_FILTER_COLORBLIND;
|
||||
|
||||
display_class->convert_buffer = cdisplay_colorblind_convert_buffer;
|
||||
display_class->configure = cdisplay_colorblind_configure;
|
||||
|
@ -126,7 +126,7 @@ cdisplay_gamma_class_init (CdisplayGammaClass *klass)
|
||||
|
||||
display_class->name = _("Gamma");
|
||||
display_class->help_id = "gimp-colordisplay-gamma";
|
||||
display_class->stock_id = GIMP_STOCK_DISPLAY_FILTER_GAMMA;
|
||||
display_class->icon_name = GIMP_STOCK_DISPLAY_FILTER_GAMMA;
|
||||
|
||||
display_class->convert_buffer = cdisplay_gamma_convert_buffer;
|
||||
display_class->configure = cdisplay_gamma_configure;
|
||||
|
@ -126,7 +126,7 @@ cdisplay_contrast_class_init (CdisplayContrastClass *klass)
|
||||
|
||||
display_class->name = _("Contrast");
|
||||
display_class->help_id = "gimp-colordisplay-contrast";
|
||||
display_class->stock_id = GIMP_STOCK_DISPLAY_FILTER_CONTRAST;
|
||||
display_class->icon_name = GIMP_STOCK_DISPLAY_FILTER_CONTRAST;
|
||||
|
||||
display_class->convert_buffer = cdisplay_contrast_convert_buffer;
|
||||
display_class->configure = cdisplay_contrast_configure;
|
||||
|
@ -133,7 +133,7 @@ cdisplay_lcms_class_init (CdisplayLcmsClass *klass)
|
||||
|
||||
display_class->name = _("Color Management");
|
||||
display_class->help_id = "gimp-colordisplay-lcms";
|
||||
display_class->stock_id = GIMP_STOCK_DISPLAY_FILTER_LCMS;
|
||||
display_class->icon_name = GIMP_STOCK_DISPLAY_FILTER_LCMS;
|
||||
|
||||
display_class->configure = cdisplay_lcms_configure;
|
||||
display_class->convert_buffer = cdisplay_lcms_convert_buffer;
|
||||
|
@ -142,7 +142,7 @@ cdisplay_proof_class_init (CdisplayProofClass *klass)
|
||||
|
||||
display_class->name = _("Color Proof");
|
||||
display_class->help_id = "gimp-colordisplay-proof";
|
||||
display_class->stock_id = GIMP_STOCK_DISPLAY_FILTER_PROOF;
|
||||
display_class->icon_name = GIMP_STOCK_DISPLAY_FILTER_PROOF;
|
||||
|
||||
display_class->convert_buffer = cdisplay_proof_convert_buffer;
|
||||
display_class->configure = cdisplay_proof_configure;
|
||||
|
Reference in New Issue
Block a user