app, libgimpwidgets: add 2 new icon macros.
New libgimpwidgets icon macros: GIMP_ICON_LAYER_LINK_LAYER and GIMP_ICON_LAYER_VECTOR_LAYER. Note that the actual icons still need to be done so I use temporary actual icon designs for now. Also adding some TODOs for these. Fix run warning: > WARNING: icon theme has no icon 'gimp-vector-layer'.
This commit is contained in:
parent
3d62759fe7
commit
7c7f7b4898
3 changed files with 7 additions and 1 deletions
|
|
@ -185,6 +185,7 @@ gimp_link_layer_class_init (GimpLinkLayerClass *klass)
|
|||
|
||||
gimp_object_class->get_memsize = gimp_link_layer_get_memsize;
|
||||
|
||||
/* TODO: make a custom icon "gimp-link-layer". */
|
||||
viewable_class->default_icon_name = "emblem-symbolic-link";
|
||||
viewable_class->default_name = _("Link Layer");
|
||||
|
||||
|
|
|
|||
|
|
@ -156,7 +156,8 @@ gimp_vector_layer_class_init (GimpVectorLayerClass *klass)
|
|||
|
||||
gimp_object_class->get_memsize = gimp_vector_layer_get_memsize;
|
||||
|
||||
viewable_class->default_icon_name = "gimp-vector-layer";
|
||||
/* TODO: make a custom icon "gimp-vector-layer". */
|
||||
viewable_class->default_icon_name = "gimp-tool-path";
|
||||
viewable_class->default_name = _("Vector Layer");
|
||||
|
||||
layer_class->translate = gimp_vector_layer_translate;
|
||||
|
|
|
|||
|
|
@ -290,10 +290,14 @@ G_BEGIN_DECLS
|
|||
#define GIMP_ICON_LAYER "gimp-layer"
|
||||
#define GIMP_ICON_LAYER_ANCHOR "gimp-anchor"
|
||||
#define GIMP_ICON_LAYER_FLOATING_SELECTION "gimp-floating-selection"
|
||||
/* TODO: create "gimp-link-layer" */
|
||||
#define GIMP_ICON_LAYER_LINK_LAYER "emblem-symbolic-link"
|
||||
#define GIMP_ICON_LAYER_MASK "gimp-layer-mask"
|
||||
#define GIMP_ICON_LAYER_MERGE_DOWN "gimp-merge-down"
|
||||
#define GIMP_ICON_LAYER_TEXT_LAYER "gimp-text-layer"
|
||||
#define GIMP_ICON_LAYER_TO_IMAGESIZE "gimp-layer-to-imagesize"
|
||||
/* TODO: create "gimp-vector-layer" */
|
||||
#define GIMP_ICON_LAYER_VECTOR_LAYER "gimp-tool-path"
|
||||
|
||||
#define GIMP_ICON_LIST "gimp-list"
|
||||
#define GIMP_ICON_LIST_ADD "list-add"
|
||||
|
|
|
|||
Loading…
Reference in a new issue