diff --git a/app/actions/brushes-actions.c b/app/actions/brushes-actions.c index dffbe95e33..4646ca3212 100644 --- a/app/actions/brushes-actions.c +++ b/app/actions/brushes-actions.c @@ -67,7 +67,7 @@ static const GimpActionEntry brushes_actions[] = G_CALLBACK (data_copy_location_cmd_callback), GIMP_HELP_BRUSH_COPY_LOCATION }, - { "brushes-show-in-file-manager", "gtk-directory", + { "brushes-show-in-file-manager", GIMP_STOCK_FILE_MANAGER, NC_("brushes-action", "Show in _File Manager"), NULL, NC_("brushes-action", "Show brush file location in the file manager"), G_CALLBACK (data_show_in_file_manager_cmd_callback), diff --git a/app/actions/dock-actions.c b/app/actions/dock-actions.c index dfc41d6b32..097dd67382 100644 --- a/app/actions/dock-actions.c +++ b/app/actions/dock-actions.c @@ -46,7 +46,7 @@ static const GimpActionEntry dock_actions[] = NC_("dock-action", "M_ove to Screen"), NULL, NULL, NULL, GIMP_HELP_DOCK_CHANGE_SCREEN }, - { "dock-close", "window-close", + { "dock-close", GIMP_STOCK_QUIT, NC_("dock-action", "Close Dock"), "", NULL, G_CALLBACK (window_close_cmd_callback), GIMP_HELP_DOCK_CLOSE }, diff --git a/app/actions/dockable-actions.c b/app/actions/dockable-actions.c index e0e20647f2..7ebe4fd8fd 100644 --- a/app/actions/dockable-actions.c +++ b/app/actions/dockable-actions.c @@ -57,7 +57,7 @@ static const GimpActionEntry dockable_actions[] = { "dockable-tab-style-menu", NULL, NC_("dockable-action", "_Tab Style") }, - { "dockable-close-tab", "window-close", + { "dockable-close-tab", GIMP_STOCK_QUIT, NC_("dockable-action", "_Close Tab"), "", NULL, G_CALLBACK (dockable_close_tab_cmd_callback), GIMP_HELP_DOCK_TAB_CLOSE }, diff --git a/app/actions/documents-actions.c b/app/actions/documents-actions.c index 350e59f148..c4b4991c4d 100644 --- a/app/actions/documents-actions.c +++ b/app/actions/documents-actions.c @@ -66,7 +66,7 @@ static const GimpActionEntry documents_actions[] = G_CALLBACK (documents_copy_location_cmd_callback), GIMP_HELP_DOCUMENT_COPY_LOCATION }, - { "documents-show-in-file-manager", "gtk-directory", + { "documents-show-in-file-manager", GIMP_STOCK_FILE_MANAGER, NC_("documents-action", "Show in _File Manager"), NULL, NC_("documents-action", "Show image location in the file manager"), G_CALLBACK (documents_show_in_file_manager_cmd_callback), diff --git a/app/actions/dynamics-actions.c b/app/actions/dynamics-actions.c index 074712a244..7b4c7d2e95 100644 --- a/app/actions/dynamics-actions.c +++ b/app/actions/dynamics-actions.c @@ -61,7 +61,7 @@ static const GimpActionEntry dynamics_actions[] = G_CALLBACK (data_copy_location_cmd_callback), GIMP_HELP_DYNAMICS_COPY_LOCATION }, - { "dynamics-show-in-file-manager", "gtk-directory", + { "dynamics-show-in-file-manager", GIMP_STOCK_FILE_MANAGER, NC_("dynamics-action", "Show in _File Manager"), NULL, NC_("dynamics-action", "Show dynamics file location in the file manager"), G_CALLBACK (data_show_in_file_manager_cmd_callback), diff --git a/app/actions/gradient-editor-actions.c b/app/actions/gradient-editor-actions.c index 1cbfc75787..50b173d496 100644 --- a/app/actions/gradient-editor-actions.c +++ b/app/actions/gradient-editor-actions.c @@ -48,14 +48,14 @@ static const GimpActionEntry gradient_editor_actions[] = { "gradient-editor-left-color-type", NULL, NC_("gradient-editor-action", "Left Color Type") }, - { "gradient-editor-load-left-color", "document-revert", + { "gradient-editor-load-left-color", GIMP_STOCK_REVERT, NC_("gradient-editor-action", "_Load Left Color From") }, { "gradient-editor-save-left-color", GIMP_STOCK_SAVE, NC_("gradient-editor-action", "_Save Left Color To") }, { "gradient-editor-right-color-type", NULL, NC_("gradient-editor-action", "Right Color Type") }, - { "gradient-editor-load-right-color", "document-revert", + { "gradient-editor-load-right-color", GIMP_STOCK_REVERT, NC_("gradient-editor-action", "Load Right Color Fr_om") }, { "gradient-editor-save-right-color", GIMP_STOCK_SAVE, NC_("gradient-editor-action", "Sa_ve Right Color To") }, diff --git a/app/actions/gradients-actions.c b/app/actions/gradients-actions.c index 04bafdba9c..b7083274ae 100644 --- a/app/actions/gradients-actions.c +++ b/app/actions/gradients-actions.c @@ -62,7 +62,7 @@ static const GimpActionEntry gradients_actions[] = G_CALLBACK (data_copy_location_cmd_callback), GIMP_HELP_GRADIENT_COPY_LOCATION }, - { "gradients-show-in-file-manager", "gtk-directory", + { "gradients-show-in-file-manager", GIMP_STOCK_FILE_MANAGER, NC_("gradients-action", "Show in _File Manager"), NULL, NC_("gradients-action", "Show gradient file location in the file manager"), G_CALLBACK (data_show_in_file_manager_cmd_callback), diff --git a/app/actions/mypaint-brushes-actions.c b/app/actions/mypaint-brushes-actions.c index 32f165bb5f..f8e3b0618d 100644 --- a/app/actions/mypaint-brushes-actions.c +++ b/app/actions/mypaint-brushes-actions.c @@ -61,7 +61,7 @@ static const GimpActionEntry mypaint_brushes_actions[] = G_CALLBACK (data_copy_location_cmd_callback), GIMP_HELP_MYPAINT_BRUSH_COPY_LOCATION }, - { "mypaint-brushes-show-in-file-manager", "gtk-directory", + { "mypaint-brushes-show-in-file-manager", GIMP_STOCK_FILE_MANAGER, NC_("mypaint-brushes-action", "Show in _File Manager"), NULL, NC_("mypaint-brushes-action", "Show MyPaint brush file location in the file manager"), G_CALLBACK (data_show_in_file_manager_cmd_callback), diff --git a/app/actions/palettes-actions.c b/app/actions/palettes-actions.c index 33c2c5a4fd..ebc0f359f4 100644 --- a/app/actions/palettes-actions.c +++ b/app/actions/palettes-actions.c @@ -74,7 +74,7 @@ static const GimpActionEntry palettes_actions[] = G_CALLBACK (data_copy_location_cmd_callback), GIMP_HELP_PALETTE_COPY_LOCATION }, - { "palettes-show-in-file-manager", "gtk-directory", + { "palettes-show-in-file-manager", GIMP_STOCK_FILE_MANAGER, NC_("palettes-action", "Show in _File Manager"), NULL, NC_("palettes-action", "Show palette file location in the file manager"), G_CALLBACK (data_show_in_file_manager_cmd_callback), diff --git a/app/actions/patterns-actions.c b/app/actions/patterns-actions.c index 2ce840cfc7..4b71b10e02 100644 --- a/app/actions/patterns-actions.c +++ b/app/actions/patterns-actions.c @@ -67,7 +67,7 @@ static const GimpActionEntry patterns_actions[] = G_CALLBACK (data_copy_location_cmd_callback), GIMP_HELP_PATTERN_COPY_LOCATION }, - { "patterns-show-in-file-manager", "gtk-directory", + { "patterns-show-in-file-manager", GIMP_STOCK_FILE_MANAGER, NC_("patterns-action", "Show in _File Manager"), NULL, NC_("patterns-action", "Show pattern file location in the file manager"), G_CALLBACK (data_show_in_file_manager_cmd_callback), diff --git a/app/actions/tool-options-actions.c b/app/actions/tool-options-actions.c index 548d98e539..f251f5591b 100644 --- a/app/actions/tool-options-actions.c +++ b/app/actions/tool-options-actions.c @@ -61,7 +61,7 @@ static const GimpActionEntry tool_options_actions[] = NC_("tool-options-action", "_Save Tool Preset"), "", NULL, NULL, GIMP_HELP_TOOL_OPTIONS_SAVE }, - { "tool-options-restore-preset-menu", "document-revert", + { "tool-options-restore-preset-menu", GIMP_STOCK_REVERT, NC_("tool-options-action", "_Restore Tool Preset"), "", NULL, NULL, GIMP_HELP_TOOL_OPTIONS_RESTORE }, diff --git a/app/actions/tool-presets-actions.c b/app/actions/tool-presets-actions.c index 66c5e28391..8417c9d141 100644 --- a/app/actions/tool-presets-actions.c +++ b/app/actions/tool-presets-actions.c @@ -64,13 +64,13 @@ static const GimpActionEntry tool_presets_actions[] = G_CALLBACK (data_copy_location_cmd_callback), GIMP_HELP_TOOL_PRESET_COPY_LOCATION }, - { "tool-presets-show-in-file-manager", "gtk-directory", + { "tool-presets-show-in-file-manager", GIMP_STOCK_FILE_MANAGER, NC_("tool-presets-action", "Show in _File Manager"), NULL, NC_("tool-presets-action", "Show tool preset file location in the file manager"), G_CALLBACK (data_show_in_file_manager_cmd_callback), GIMP_HELP_TOOL_PRESET_SHOW_IN_FILE_MANAGER }, - { "tool-presets-restore", "document-revert", + { "tool-presets-restore", GIMP_STOCK_REVERT, NC_("tool-presets-action", "_Restore Tool Preset"), NULL, NC_("tool-presets-action", "Restore this tool preset"), G_CALLBACK (tool_presets_restore_cmd_callback), diff --git a/app/actions/view-actions.c b/app/actions/view-actions.c index 5323fdf5dc..9e57083c6d 100644 --- a/app/actions/view-actions.c +++ b/app/actions/view-actions.c @@ -91,7 +91,7 @@ static const GimpActionEntry view_actions[] = G_CALLBACK (view_new_cmd_callback), GIMP_HELP_VIEW_NEW }, - { "view-close", "window-close", + { "view-close", GIMP_STOCK_QUIT, NC_("view-action", "_Close View"), "W", NC_("view-action", "Close the active image view"), G_CALLBACK (view_close_cmd_callback), diff --git a/app/widgets/gimpdataeditor.c b/app/widgets/gimpdataeditor.c index f1216ce61d..8152120863 100644 --- a/app/widgets/gimpdataeditor.c +++ b/app/widgets/gimpdataeditor.c @@ -219,7 +219,7 @@ gimp_data_editor_constructed (GObject *object) editor->revert_button = gimp_editor_add_button (GIMP_EDITOR (editor), - "document-revert", + GIMP_STOCK_REVERT, _("Revert"), NULL, G_CALLBACK (gimp_data_editor_revert_clicked), NULL, diff --git a/app/widgets/gimptooloptionseditor.c b/app/widgets/gimptooloptionseditor.c index 19fb081b83..803b6621bc 100644 --- a/app/widgets/gimptooloptionseditor.c +++ b/app/widgets/gimptooloptionseditor.c @@ -206,7 +206,7 @@ gimp_tool_options_editor_constructed (GObject *object) editor); editor->p->restore_button = - gimp_editor_add_button (GIMP_EDITOR (editor), "document-revert", + gimp_editor_add_button (GIMP_EDITOR (editor), GIMP_STOCK_REVERT, _("Restore Tool Preset..."), GIMP_HELP_TOOL_OPTIONS_RESTORE, G_CALLBACK (gimp_tool_options_editor_restore_clicked), diff --git a/icons/Color/16/gimp-revert.png b/icons/Color/16/gimp-revert.png new file mode 100644 index 0000000000..106bee69ba Binary files /dev/null and b/icons/Color/16/gimp-revert.png differ diff --git a/icons/Color/scalable/gimp-revert.svg b/icons/Color/scalable/gimp-revert.svg new file mode 100644 index 0000000000..54204d4585 --- /dev/null +++ b/icons/Color/scalable/gimp-revert.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + image/svg+xml + + + + + Klaus Staedtler + + + + + + + + + + + + + + + + + diff --git a/icons/Prototype/Color/16/gimp-refresh.png b/icons/Prototype/Color/16/gimp-refresh.png deleted file mode 100644 index fa8ec9d1ee..0000000000 Binary files a/icons/Prototype/Color/16/gimp-refresh.png and /dev/null differ diff --git a/icons/Prototype/Symbolic/16/gimp-refresh.png b/icons/Prototype/Symbolic/16/gimp-refresh.png deleted file mode 100644 index 2b6c7af5c3..0000000000 Binary files a/icons/Prototype/Symbolic/16/gimp-refresh.png and /dev/null differ diff --git a/icons/Symbolic/16/gimp-revert.png b/icons/Symbolic/16/gimp-revert.png new file mode 100644 index 0000000000..33502286b0 Binary files /dev/null and b/icons/Symbolic/16/gimp-revert.png differ diff --git a/icons/Symbolic/16/gimp-save-as.png b/icons/Symbolic/16/gimp-save-as.png index 487b42b7ba..441d9c5ff9 100644 Binary files a/icons/Symbolic/16/gimp-save-as.png and b/icons/Symbolic/16/gimp-save-as.png differ diff --git a/icons/Symbolic/scalable/gimp-revert.svg b/icons/Symbolic/scalable/gimp-revert.svg new file mode 100644 index 0000000000..c4c4ee54f7 --- /dev/null +++ b/icons/Symbolic/scalable/gimp-revert.svg @@ -0,0 +1,120 @@ + + + + + + + + + + + image/svg+xml + + + + + Klaus Staedtler + + + + + + + + + + + + + + + + diff --git a/icons/Symbolic/scalable/gimp-save-as.svg b/icons/Symbolic/scalable/gimp-save-as.svg index 4f097eb029..b2c3ae560d 100644 --- a/icons/Symbolic/scalable/gimp-save-as.svg +++ b/icons/Symbolic/scalable/gimp-save-as.svg @@ -24,8 +24,8 @@ inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:zoom="16" - inkscape:cx="14.900652" - inkscape:cy="17.081836" + inkscape:cx="9.5160701" + inkscape:cy="17.488086" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="true" @@ -69,7 +69,7 @@ Klaus Staedtler - + @@ -79,101 +79,47 @@ id="layer1" transform="translate(0,-1036.3622)"> + id="g4286"> - - - - - - - - - - - - - + transform="translate(-41.0002,617.3622)" /> - - - - - - + transform="translate(-101,389.3622)" + id="layer12"> + + + + + + diff --git a/libgimpwidgets/gimpfileentry.c b/libgimpwidgets/gimpfileentry.c index 56dc1f5c30..386530e4e0 100644 --- a/libgimpwidgets/gimpfileentry.c +++ b/libgimpwidgets/gimpfileentry.c @@ -138,7 +138,7 @@ gimp_file_entry_init (GimpFileEntry *entry) gtk_widget_set_sensitive (button, FALSE); - image = gtk_image_new_from_icon_name ("gtk-directory", GTK_ICON_SIZE_BUTTON); + image = gtk_image_new_from_icon_name (GIMP_STOCK_FILE_MANGER, GTK_ICON_SIZE_BUTTON); gtk_container_add (GTK_CONTAINER (button), image); gtk_widget_show (image); diff --git a/libgimpwidgets/gimpicons.c b/libgimpwidgets/gimpicons.c index b4ca0371d0..fbda3fa62a 100644 --- a/libgimpwidgets/gimpicons.c +++ b/libgimpwidgets/gimpicons.c @@ -76,6 +76,7 @@ static const GtkStockItem gimp_stock_items[] = { GIMP_STOCK_IMAGE_OPEN, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_IMAGE_RELOAD, NULL, 0, 0, LIBGIMP_DOMAIN }, + { GIMP_STOCK_REVERT, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_CLOSE_ALL, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_CLIPBOARD, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_FILE_MANAGER, NULL, 0, 0, LIBGIMP_DOMAIN }, diff --git a/libgimpwidgets/gimpicons.h b/libgimpwidgets/gimpicons.h index 7ced0ae612..c5dc202a8a 100644 --- a/libgimpwidgets/gimpicons.h +++ b/libgimpwidgets/gimpicons.h @@ -52,6 +52,7 @@ G_BEGIN_DECLS #define GIMP_STOCK_IMAGE_OPEN "gimp-image-open" #define GIMP_STOCK_IMAGE_RELOAD "gimp-image-reload" #define GIMP_STOCK_CLOSE_ALL "gimp-close-all" +#define GIMP_STOCK_REVERT "gimp-revert" #define GIMP_STOCK_CLIPBOARD "gimp-clipboard" #define GIMP_STOCK_FILE_MANAGER "gimp-file-manager"