[gimp] icons: Bug 759904
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] icons: Bug 759904
- Date: Fri, 10 Jun 2016 11:56:16 +0000 (UTC)
commit 1199a7e6fba966b9239c96e0c703038b417163ba
Author: klausstaedtler <staedtler-przyborski web de>
Date: Wed Jun 8 22:04:30 2016 +0200
icons: Bug 759904
add
gimp-document-recent
patch: replace "document-open-recent" by "gimp-document-recent" (or GIMP_STOCK_DOCUMENT_RECENT)
gimp/app/dialogs/dialogs.c: N_("History"), N_("Document History"), "document-open-recent",
gimp/app/actions/documents-actions.c: { "documents-popup", "document-open-recent",
gimp/app/actions/dialogs-actions.c: { "dialogs-document-history", "document-open-recent",
patch
gimpicons.c
gimpicons.h
app/actions/dialogs-actions.c | 2 +-
app/actions/documents-actions.c | 2 +-
app/dialogs/dialogs.c | 2 +-
icons/Color/16/gimp-document-recent.png | Bin 0 -> 618 bytes
icons/Color/scalable/gimp-document-recent.svg | 147 ++++++++++++++++++++
icons/Prototype/Color/16/gimp-document-index.png | Bin 838 -> 0 bytes
.../Prototype/Symbolic/16/gimp-document-index.png | Bin 621 -> 0 bytes
icons/Symbolic/16/gimp-document-recent.png | Bin 0 -> 405 bytes
icons/Symbolic/scalable/gimp-document-recent.svg | 126 +++++++++++++++++
icons/icon-list.mk | 2 +
libgimpwidgets/gimpicons.c | 3 +
libgimpwidgets/gimpicons.h | 1 +
12 files changed, 282 insertions(+), 3 deletions(-)
---
diff --git a/app/actions/dialogs-actions.c b/app/actions/dialogs-actions.c
index a05e564..a16b6b6 100644
--- a/app/actions/dialogs-actions.c
+++ b/app/actions/dialogs-actions.c
@@ -217,7 +217,7 @@ const GimpStringActionEntry dialogs_dockable_actions[] =
"gimp-image-list|gimp-image-grid",
GIMP_HELP_IMAGE_DIALOG },
- { "dialogs-document-history", "document-open-recent",
+ { "dialogs-document-history", GIMP_STOCK_DOCUMENT_RECENT,
NC_("dialogs-action", "Document Histor_y"), "",
NC_("dialogs-action", "Open the document history dialog"),
"gimp-document-list|gimp-document-grid",
diff --git a/app/actions/documents-actions.c b/app/actions/documents-actions.c
index cc6284b..f83dd95 100644
--- a/app/actions/documents-actions.c
+++ b/app/actions/documents-actions.c
@@ -38,7 +38,7 @@
static const GimpActionEntry documents_actions[] =
{
- { "documents-popup", "document-open-recent",
+ { "documents-popup", GIMP_STOCK_DOCUMENT_RECENT,
NC_("documents-action", "Documents Menu"), NULL, NULL, NULL,
GIMP_HELP_DOCUMENT_DIALOG },
diff --git a/app/dialogs/dialogs.c b/app/dialogs/dialogs.c
index b262433..36d3229 100644
--- a/app/dialogs/dialogs.c
+++ b/app/dialogs/dialogs.c
@@ -346,7 +346,7 @@ static const GimpDialogFactoryEntry entries[] =
N_("Buffers"), NULL, GIMP_STOCK_BUFFER,
GIMP_HELP_BUFFER_DIALOG, GIMP_VIEW_SIZE_MEDIUM),
LISTGRID (document, document,
- N_("History"), N_("Document History"), "document-open-recent",
+ N_("History"), N_("Document History"), GIMP_STOCK_DOCUMENT_RECENT,
GIMP_HELP_DOCUMENT_DIALOG, GIMP_VIEW_SIZE_LARGE),
LISTGRID (template, template,
N_("Templates"), N_("Image Templates"), GIMP_STOCK_TEMPLATE,
diff --git a/icons/Color/16/gimp-document-recent.png b/icons/Color/16/gimp-document-recent.png
new file mode 100644
index 0000000..2b99f1b
Binary files /dev/null and b/icons/Color/16/gimp-document-recent.png differ
diff --git a/icons/Color/scalable/gimp-document-recent.svg b/icons/Color/scalable/gimp-document-recent.svg
new file mode 100644
index 0000000..99264d8
--- /dev/null
+++ b/icons/Color/scalable/gimp-document-recent.svg
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="16"
+ height="16"
+ viewBox="0 0 16 16"
+ id="svg30571"
+ version="1.1"
+ inkscape:version="0.92pre1 unknown"
+ sodipodi:docname="gimp-document-recent.svg">
+ <defs
+ id="defs30573" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="27.26151"
+ inkscape:cx="15.940656"
+ inkscape:cy="11.643387"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ units="px"
+ inkscape:snap-page="true"
+ inkscape:snap-bbox="true"
+ inkscape:bbox-paths="true"
+ inkscape:bbox-nodes="true"
+ inkscape:snap-bbox-edge-midpoints="true"
+ inkscape:snap-bbox-midpoints="true"
+ inkscape:object-paths="true"
+ inkscape:snap-intersection-paths="true"
+ inkscape:object-nodes="true"
+ inkscape:snap-smooth-nodes="true"
+ inkscape:snap-midpoints="true"
+ inkscape:snap-object-midpoints="true"
+ inkscape:snap-center="true"
+ inkscape:snap-text-baseline="true"
+ showborder="false"
+ inkscape:window-width="1920"
+ inkscape:window-height="1016"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:window-maximized="1"
+ inkscape:snap-global="false"
+ showguides="true">
+ <inkscape:grid
+ type="xygrid"
+ id="grid4253" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata30576">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>
+ image/svg+xml
+ </dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>Klaus Staedtler </dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <dc:title />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,-1036.3622)">
+ <g
+ id="g3955"
+ transform="matrix(1.0245539,0,0,1.0189104,-0.20220792,-19.772315)">
+ <g
+ transform="matrix(1.1313232,0,0,0.99887966,0.19305194,2.0228594)"
+ id="g3954">
+ <path
+
style="opacity:1;fill:#eeeeee;fill-opacity:1;stroke:none;stroke-width:0.30670676;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 10.241139,1035.6707 3.502209,3.9373 H 3.0346144 l -3.03080472,-3.9373 z"
+ id="rect3946-6"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" />
+ <g
+ id="g3997"
+ transform="matrix(0,0.92849574,-1.3747391,0,1432.3008,1064.2865)">
+ <g
+ id="g3967">
+ <path
+
style="opacity:1;fill:#eeeeee;fill-opacity:1;stroke:none;stroke-width:0.27147084;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m -22.386928,1034.4127 4.240423,-2.5476 v 7.7897 l -4.240423,2.2046 z"
+ id="rect3946-2"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" />
+ <path
+
style="opacity:0.5;fill:#e69614;fill-opacity:1;stroke:none;stroke-width:0.27147084;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m -22.385737,1034.4065 -4.240423,-2.5476 v 7.7897 l 4.240423,2.2046 z"
+ id="rect3946-0"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" />
+ <path
+
style="opacity:0.5;fill:#e69614;fill-opacity:1;stroke:none;stroke-width:0.27147084;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m -13.888204,1034.3747 -4.240425,-2.5475 v 7.7896 l 4.240425,2.2047 z"
+ id="rect3946-3"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" />
+ <path
+
style="opacity:1;fill:#555753;fill-opacity:1;stroke:none;stroke-width:0.08151923;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m -29.761319,1034.3375 2.116415,-1.2552 0.02023,6.2757 -2.13665,1.2551 z"
+ id="rect3946"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" />
+ </g>
+ </g>
+ <path
+
style="opacity:1;fill:#555753;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 10.356655,1044.5136 1.725475,1.9651 H 3.4547582 l -1.7254742,-1.9651 z"
+ id="rect3946-35"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" />
+ <path
+
style="opacity:1;fill:#555753;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 10.356655,1042.5485 1.725475,-1.9651 H 3.4547582 l -1.6887769,1.9651 z"
+ id="rect3946-28"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" />
+ <path
+
style="opacity:1;fill:#555753;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 10.356655,1050.4088 1.725475,-1.9651 -8.6273718,-0.037 -1.7254742,2.0021 z"
+ id="rect3946-5"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" />
+ </g>
+ </g>
+ </g>
+</svg>
diff --git a/icons/Symbolic/16/gimp-document-recent.png b/icons/Symbolic/16/gimp-document-recent.png
new file mode 100644
index 0000000..16011a2
Binary files /dev/null and b/icons/Symbolic/16/gimp-document-recent.png differ
diff --git a/icons/Symbolic/scalable/gimp-document-recent.svg
b/icons/Symbolic/scalable/gimp-document-recent.svg
new file mode 100644
index 0000000..925f713
--- /dev/null
+++ b/icons/Symbolic/scalable/gimp-document-recent.svg
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="16"
+ height="16"
+ viewBox="0 0 16 16"
+ id="svg30571"
+ version="1.1"
+ inkscape:version="0.92pre1 unknown"
+ sodipodi:docname="gimp-document-recent.svg">
+ <defs
+ id="defs30573" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="17.917502"
+ inkscape:cx="14.295681"
+ inkscape:cy="-3.1390924"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ units="px"
+ inkscape:snap-page="true"
+ inkscape:snap-bbox="true"
+ inkscape:bbox-paths="true"
+ inkscape:bbox-nodes="true"
+ inkscape:snap-bbox-edge-midpoints="true"
+ inkscape:snap-bbox-midpoints="true"
+ inkscape:object-paths="true"
+ inkscape:snap-intersection-paths="true"
+ inkscape:object-nodes="true"
+ inkscape:snap-smooth-nodes="true"
+ inkscape:snap-midpoints="true"
+ inkscape:snap-object-midpoints="true"
+ inkscape:snap-center="true"
+ inkscape:snap-text-baseline="true"
+ showborder="false"
+ inkscape:window-width="1920"
+ inkscape:window-height="1016"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:window-maximized="1"
+ inkscape:snap-global="false"
+ showguides="true">
+ <inkscape:grid
+ type="xygrid"
+ id="grid3949" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata30576">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>
+ image/svg+xml
+ </dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>Klaus Staedtler </dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <dc:title />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,-1036.3622)">
+ <g
+ id="g3966">
+ <rect
+ transform="rotate(90)"
+ y="-15.999981"
+ x="1036.3622"
+ height="16"
+ width="15.784215"
+ id="rect6884"
+ style="opacity:0.3;fill:none;stroke:none;stroke-width:0.99323386" />
+ <g
+ transform="matrix(0,0.99135409,-1.382716,0,1441.5344,1066.1443)"
+ id="g3997">
+ <g
+ id="g3967">
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ id="rect3946"
+ d="m -30.041839,1034.271 4.034885,-2.5809 v 7.8915 l -4.034885,2.2335 z"
+
style="opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.10037709;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
/>
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ id="rect3946-2"
+ d="m -21.972068,1034.271 4.034885,-2.5809 v 7.8915 l -4.034885,2.2335 z"
+
style="opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.10037711;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
/>
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ id="rect3946-0"
+ d="m -21.972069,1034.271 -4.034885,-2.5809 v 7.8915 l 4.034885,2.2335 z"
+
style="opacity:0.5;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.10037711;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
/>
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ id="rect3946-3"
+ d="m -13.902329,1034.271 -4.038845,-2.5809 v 7.8915 l 4.038845,2.2335 z"
+
style="opacity:0.5;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.10042633;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
/>
+ </g>
+ </g>
+ </g>
+ </g>
+</svg>
diff --git a/icons/icon-list.mk b/icons/icon-list.mk
index 9d8d5e7..6e0b201 100644
--- a/icons/icon-list.mk
+++ b/icons/icon-list.mk
@@ -45,6 +45,7 @@ scalable_images = \
scalable/gimp-display-filter-lcms.svg \
scalable/gimp-display-filter-proof.svg \
scalable/gimp-display-filter.svg \
+ scalable/gimp-document-recent.svg \
scalable/gimp-duplicate.svg \
scalable/gimp-dynamics.svg \
scalable/gimp-edit.svg \
@@ -476,6 +477,7 @@ icons16_images = \
16/gimp-display-filter-lcms.png \
16/gimp-display-filter-proof.png \
16/gimp-display-filter.png \
+ 16/gimp-document-recent.png \
16/gimp-duplicate.png \
16/gimp-dynamics.png \
16/gimp-edit.png \
diff --git a/libgimpwidgets/gimpicons.c b/libgimpwidgets/gimpicons.c
index 7d67096..33712be 100644
--- a/libgimpwidgets/gimpicons.c
+++ b/libgimpwidgets/gimpicons.c
@@ -83,6 +83,9 @@ static const GtkStockItem gimp_stock_items[] =
{ GIMP_STOCK_FILE_MANAGER, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_EDIT_CLEAR, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_SHRED, NULL, 0, 0, LIBGIMP_DOMAIN },
+ { GIMP_STOCK_DOCUMENT_RECENT, NULL, 0, 0, LIBGIMP_DOMAIN },
+
+
{ GIMP_STOCK_GRADIENT_LINEAR, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_GRADIENT_BILINEAR, NULL, 0, 0, LIBGIMP_DOMAIN },
diff --git a/libgimpwidgets/gimpicons.h b/libgimpwidgets/gimpicons.h
index da89ade..6cdd52d 100644
--- a/libgimpwidgets/gimpicons.h
+++ b/libgimpwidgets/gimpicons.h
@@ -58,6 +58,7 @@ G_BEGIN_DECLS
#define GIMP_STOCK_FILE_MANAGER "gimp-file-manager"
#define GIMP_STOCK_EDIT_CLEAR "gimp-edit-clear"
#define GIMP_STOCK_SHRED "gimp-shred"
+#define GIMP_STOCK_DOCUMENT_RECENT "gimp-document-recent"
#define GIMP_STOCK_GRADIENT_LINEAR "gimp-gradient-linear"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]