Deprecate stock items for good and change all icon defines to GIMP_ICON_*
Try to sort all GIMP_ICON_* defines into FDO categories like in https://specifications.freedesktop.org/icon-naming-spec/latest/ar01s04.html Add defines for all icons we override, rename some icons to their FDO standard names, and mark the ones we duplicate with a comment so we don't forget to rename those to standard names in 3.0.
This commit is contained in:
@ -83,7 +83,7 @@ gradient_editor_left_color_cmd_callback (GtkAction *action,
|
||||
gimp_color_dialog_new (GIMP_VIEWABLE (gradient),
|
||||
GIMP_DATA_EDITOR (editor)->context,
|
||||
_("Left Endpoint Color"),
|
||||
GIMP_STOCK_GRADIENT,
|
||||
GIMP_ICON_GRADIENT,
|
||||
_("Gradient Segment's Left Endpoint Color"),
|
||||
GTK_WIDGET (editor),
|
||||
gimp_dialog_factory_get_singleton (),
|
||||
@ -237,7 +237,7 @@ gradient_editor_right_color_cmd_callback (GtkAction *action,
|
||||
gimp_color_dialog_new (GIMP_VIEWABLE (gradient),
|
||||
GIMP_DATA_EDITOR (editor)->context,
|
||||
_("Right Endpoint Color"),
|
||||
GIMP_STOCK_GRADIENT,
|
||||
GIMP_ICON_GRADIENT,
|
||||
_("Gradient Segment's Right Endpoint Color"),
|
||||
GTK_WIDGET (editor),
|
||||
gimp_dialog_factory_get_singleton (),
|
||||
@ -474,7 +474,7 @@ gradient_editor_replicate_cmd_callback (GtkAction *action,
|
||||
gimp_viewable_dialog_new (GIMP_VIEWABLE (data_editor->data),
|
||||
data_editor->context,
|
||||
title, "gimp-gradient-segment-replicate",
|
||||
GIMP_STOCK_GRADIENT, desc,
|
||||
GIMP_ICON_GRADIENT, desc,
|
||||
GTK_WIDGET (editor),
|
||||
gimp_standard_help_func,
|
||||
GIMP_HELP_GRADIENT_EDITOR_REPLICATE,
|
||||
@ -576,7 +576,7 @@ gradient_editor_split_uniformly_cmd_callback (GtkAction *action,
|
||||
gimp_viewable_dialog_new (GIMP_VIEWABLE (data_editor->data),
|
||||
data_editor->context,
|
||||
title, "gimp-gradient-segment-split-uniformly",
|
||||
GIMP_STOCK_GRADIENT, desc,
|
||||
GIMP_ICON_GRADIENT, desc,
|
||||
GTK_WIDGET (editor),
|
||||
gimp_standard_help_func,
|
||||
GIMP_HELP_GRADIENT_EDITOR_SPLIT_UNIFORM,
|
||||
|
Reference in New Issue
Block a user