mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
libgimpwidgets, widgets: Fix icons on Path locks
The visibility lock icon and help ID was accidentally left off the PathsTreeView set-up. The Path Attributes also used the wrong icon to indicate the paths were locked (compared to the one shown in the Path Attributes dialogue).
This commit is contained in:
parent
443f27b6ed
commit
f036812a94
5 changed files with 24 additions and 19 deletions
|
@ -104,8 +104,8 @@ path_options_dialog_new (GimpImage *image,
|
||||||
parent, title, role,
|
parent, title, role,
|
||||||
icon_name, desc, help_id,
|
icon_name, desc, help_id,
|
||||||
_("Path _name:"),
|
_("Path _name:"),
|
||||||
GIMP_ICON_LOCK_CONTENT,
|
GIMP_ICON_LOCK_PATH,
|
||||||
_("Lock path _strokes"),
|
_("Lock p_ath"),
|
||||||
_("Lock path _position"),
|
_("Lock path _position"),
|
||||||
_("Lock path _visibility"),
|
_("Lock path _visibility"),
|
||||||
path_name,
|
path_name,
|
||||||
|
|
|
@ -280,6 +280,7 @@
|
||||||
#define GIMP_HELP_PATH_COLOR_TAG "gimp-path-color-tag"
|
#define GIMP_HELP_PATH_COLOR_TAG "gimp-path-color-tag"
|
||||||
#define GIMP_HELP_PATH_LOCK_STROKES "gimp-path-lock-strokes"
|
#define GIMP_HELP_PATH_LOCK_STROKES "gimp-path-lock-strokes"
|
||||||
#define GIMP_HELP_PATH_LOCK_POSITION "gimp-path-lock-position"
|
#define GIMP_HELP_PATH_LOCK_POSITION "gimp-path-lock-position"
|
||||||
|
#define GIMP_HELP_PATH_LOCK_VISIBILITY "gimp-path-lock-visibility"
|
||||||
#define GIMP_HELP_PATH_SELECTION_REPLACE "gimp-path-selection-replace"
|
#define GIMP_HELP_PATH_SELECTION_REPLACE "gimp-path-selection-replace"
|
||||||
#define GIMP_HELP_PATH_SELECTION_ADD "gimp-path-selection-add"
|
#define GIMP_HELP_PATH_SELECTION_ADD "gimp-path-selection-add"
|
||||||
#define GIMP_HELP_PATH_SELECTION_SUBTRACT "gimp-path-selection-subtract"
|
#define GIMP_HELP_PATH_SELECTION_SUBTRACT "gimp-path-selection-subtract"
|
||||||
|
|
|
@ -107,12 +107,15 @@ gimp_path_tree_view_class_init (GimpPathTreeViewClass *klass)
|
||||||
iv_class->lower_bottom_action = "vectors-lower-to-bottom";
|
iv_class->lower_bottom_action = "vectors-lower-to-bottom";
|
||||||
iv_class->duplicate_action = "vectors-duplicate";
|
iv_class->duplicate_action = "vectors-duplicate";
|
||||||
iv_class->delete_action = "vectors-delete";
|
iv_class->delete_action = "vectors-delete";
|
||||||
iv_class->lock_content_icon_name = GIMP_ICON_TOOL_PATH;
|
iv_class->lock_content_icon_name = GIMP_ICON_LOCK_PATH;
|
||||||
iv_class->lock_content_tooltip = _("Lock path");
|
iv_class->lock_content_tooltip = _("Lock path strokes");
|
||||||
iv_class->lock_content_help_id = GIMP_HELP_PATH_LOCK_STROKES;
|
iv_class->lock_content_help_id = GIMP_HELP_PATH_LOCK_STROKES;
|
||||||
iv_class->lock_position_icon_name = GIMP_ICON_TOOL_MOVE;
|
iv_class->lock_position_icon_name = GIMP_ICON_LOCK_POSITION;
|
||||||
iv_class->lock_position_tooltip = _("Lock path position");
|
iv_class->lock_position_tooltip = _("Lock path position");
|
||||||
iv_class->lock_position_help_id = GIMP_HELP_PATH_LOCK_POSITION;
|
iv_class->lock_position_help_id = GIMP_HELP_PATH_LOCK_POSITION;
|
||||||
|
iv_class->lock_visibility_icon_name = GIMP_ICON_LOCK_VISIBILITY;
|
||||||
|
iv_class->lock_visibility_tooltip = _("Lock path visibility");
|
||||||
|
iv_class->lock_position_help_id = GIMP_HELP_PATH_LOCK_VISIBILITY;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit d129d52bf837f217b034947738fedf44a8dddc51
|
Subproject commit c23a30befeec8862504d4a9b992b932d0af41e5a
|
|
@ -183,6 +183,7 @@ G_BEGIN_DECLS
|
||||||
#define GIMP_ICON_LOCK "gimp-lock"
|
#define GIMP_ICON_LOCK "gimp-lock"
|
||||||
#define GIMP_ICON_LOCK_ALPHA "gimp-lock-alpha"
|
#define GIMP_ICON_LOCK_ALPHA "gimp-lock-alpha"
|
||||||
#define GIMP_ICON_LOCK_CONTENT "gimp-lock-content"
|
#define GIMP_ICON_LOCK_CONTENT "gimp-lock-content"
|
||||||
|
#define GIMP_ICON_LOCK_PATH "gimp-lock-path"
|
||||||
#define GIMP_ICON_LOCK_POSITION "gimp-lock-position"
|
#define GIMP_ICON_LOCK_POSITION "gimp-lock-position"
|
||||||
#define GIMP_ICON_LOCK_VISIBILITY "gimp-lock-visibility"
|
#define GIMP_ICON_LOCK_VISIBILITY "gimp-lock-visibility"
|
||||||
#define GIMP_ICON_LOCK_MULTI "gimp-lock-multi"
|
#define GIMP_ICON_LOCK_MULTI "gimp-lock-multi"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue