[gimp/icons-wip] icons: Bug 759904



commit c4ab8cd62551c6bf474539894988b506d1c96be0
Author: klausstaedtler <staedtler-przyborski web de>
Date:   Sat Jun 4 17:05:13 2016 +0200

    icons: Bug 759904
    
    add
    gimp-intend
    
    patch
    gimptextoptions.c
    gimpicons.c
    gimpicons.h

 app/tools/gimptextoptions.c                        |    2 +-
 icons/Color/22/gimp-intend.png                     |  Bin 0 -> 462 bytes
 icons/Color/scalable/gimp-intend.svg               |  163 +++++++++++++++++++
 icons/Prototype/Color/16/gimp-increment-intend.png |  Bin 629 -> 0 bytes
 icons/Symbolic/22/gimp-intend.png                  |  Bin 0 -> 438 bytes
 icons/Symbolic/scalable/gimp-intend.svg            |  169 ++++++++++++++++++++
 libgimpwidgets/gimpicons.c                         |    2 +
 libgimpwidgets/gimpicons.h                         |    1 +
 8 files changed, 336 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimptextoptions.c b/app/tools/gimptextoptions.c
index 436b7d8..ee78465 100644
--- a/app/tools/gimptextoptions.c
+++ b/app/tools/gimptextoptions.c
@@ -612,7 +612,7 @@ gimp_text_options_gui (GimpToolOptions *tool_options)
   spinbutton = gimp_prop_spin_button_new (config, "indent", 1.0, 10.0, 1);
   gtk_entry_set_width_chars (GTK_ENTRY (spinbutton), 5);
   gimp_table_attach_icon (GTK_TABLE (table), row++,
-                          "format-indent-more", spinbutton, 1, TRUE);
+                          GIMP_STOCK_INDENT, spinbutton, 1, TRUE);
 
   spinbutton = gimp_prop_spin_button_new (config, "line-spacing", 1.0, 10.0, 1);
   gtk_entry_set_width_chars (GTK_ENTRY (spinbutton), 5);
diff --git a/icons/Color/22/gimp-intend.png b/icons/Color/22/gimp-intend.png
new file mode 100644
index 0000000..a3c34a7
Binary files /dev/null and b/icons/Color/22/gimp-intend.png differ
diff --git a/icons/Color/scalable/gimp-intend.svg b/icons/Color/scalable/gimp-intend.svg
new file mode 100644
index 0000000..a8a9db7
--- /dev/null
+++ b/icons/Color/scalable/gimp-intend.svg
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:osb="http://www.openswatchbook.org/uri/2009/osb";
+   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="22"
+   height="22"
+   viewBox="0 0 22 22"
+   id="svg30571"
+   version="1.1"
+   inkscape:version="0.92pre1 unknown"
+   sodipodi:docname="gimp-intend.svg">
+  <defs
+     id="defs30573">
+    <linearGradient
+       id="linearGradient19282"
+       osb:paint="solid"
+       gradientTransform="matrix(1.2178615,0,0,1.043881,356.69172,1794.4958)">
+      <stop
+         style="stop-color:#666666;stop-opacity:1;"
+         offset="0"
+         id="stop19284" />
+    </linearGradient>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="9.5362604"
+     inkscape:cx="23.545458"
+     inkscape:cy="21.775664"
+     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:grid
+       type="xygrid"
+       id="grid4236" />
+  </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:title />
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Klaus Staedtler</dc:title>
+          </cc:Agent>
+        </dc:creator>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1030.3622)">
+    <g
+       id="g4258">
+      <rect
+         y="1030.3622"
+         x="0"
+         height="22"
+         width="22"
+         id="rect4249"
+         
style="opacity:0;fill:#000000;fill-opacity:1;stroke-width:1.03708994;stroke-miterlimit:4;stroke-dasharray:none"
 />
+      <g
+         id="g4247">
+        <rect
+           
style="color:#555753;display:inline;overflow:visible;visibility:visible;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.82172889;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none"
+           id="rect5996-2-1-0-7-8-0-9"
+           width="20"
+           height="2"
+           x="-22"
+           y="1049.3622"
+           inkscape:label="a"
+           transform="scale(-1,1)"
+           inkscape:export-filename="/home/matthias/GIT/icons/exported-sifr/cmd/lc_spacepara2.png"
+           inkscape:export-xdpi="89"
+           inkscape:export-ydpi="89" />
+        <rect
+           
style="color:#555753;display:inline;overflow:visible;visibility:visible;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.66271162;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none"
+           id="rect5996-2-1-0-7-5-7-64"
+           width="12.999951"
+           height="2.0012913"
+           x="-21.99995"
+           y="1043.361"
+           inkscape:label="a"
+           transform="scale(-1,1)"
+           inkscape:export-filename="/home/matthias/GIT/icons/exported-sifr/cmd/lc_spacepara2.png"
+           inkscape:export-xdpi="89"
+           inkscape:export-ydpi="89" />
+        <rect
+           
style="color:#555753;display:inline;overflow:visible;visibility:visible;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.66271162;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none"
+           id="rect5996-2-1-0-4-1-0"
+           width="12.999951"
+           height="2.0012913"
+           x="-21.99995"
+           y="1037.361"
+           inkscape:label="a"
+           transform="scale(-1,1)"
+           inkscape:export-filename="/home/matthias/GIT/icons/exported-sifr/cmd/lc_spacepara2.png"
+           inkscape:export-xdpi="89"
+           inkscape:export-ydpi="89" />
+        <rect
+           
style="color:#555753;display:inline;overflow:visible;visibility:visible;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.82172889;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none"
+           id="rect5996-2-1-0-4-1-0-9"
+           width="20"
+           height="2"
+           x="-22"
+           y="1031.3622"
+           inkscape:label="a"
+           transform="scale(-1,1)"
+           inkscape:export-filename="/home/matthias/GIT/icons/exported-sifr/cmd/lc_spacepara2.png"
+           inkscape:export-xdpi="89"
+           inkscape:export-ydpi="89" />
+        <path
+           sodipodi:nodetypes="ccccccccccccc"
+           id="path17259-0-7-2-6"
+           d="m 0.32465065,1036.6869 v 1.1689 c 0,0.3 0.15483486,0.6175 0.37259229,0.84 l 3.20464106,2.6663 
-3.20464106,2.6668 c -0.21775743,0.2224 -0.37259229,0.5398 -0.37259229,0.8398 v 1.1689 c 0.39744067,0 
0.79501505,-1e-4 1.19245555,-1e-4 0.3689854,0 0.6586161,-0.1048 0.8942751,-0.3286 1.68929,-1.2541 
3.3785797,-3.0925 5.067736,-4.3468 l -5.067736,-4.3467 c -0.235659,-0.2231 -0.5252897,-0.3285 
-0.8942751,-0.3285 -0.3974405,0 -0.79501488,0 -1.19245555,0 z"
+           
style="color:#555753;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Bitstream
 Vera Sans';-inkscape-font-specification:'Bitstream Vera 
Sans';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#ff9753;fill-opacity:1;stroke:#ff5000;stroke-width:0.64930129;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none;enable-background:accumulate"
+           inkscape:connector-curvature="0"
+           inkscape:export-filename="/home/matthias/GIT/icons/exported-sifr/cmd/lc_spacing.png"
+           inkscape:export-xdpi="89"
+           inkscape:export-ydpi="89" />
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/icons/Symbolic/22/gimp-intend.png b/icons/Symbolic/22/gimp-intend.png
new file mode 100644
index 0000000..1c3f4bc
Binary files /dev/null and b/icons/Symbolic/22/gimp-intend.png differ
diff --git a/icons/Symbolic/scalable/gimp-intend.svg b/icons/Symbolic/scalable/gimp-intend.svg
new file mode 100644
index 0000000..f7f45df
--- /dev/null
+++ b/icons/Symbolic/scalable/gimp-intend.svg
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:osb="http://www.openswatchbook.org/uri/2009/osb";
+   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:xlink="http://www.w3.org/1999/xlink";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   viewBox="0 0 21.999999 22"
+   id="svg7384"
+   height="22"
+   width="22"
+   version="1.1"
+   inkscape:version="0.92pre1 unknown"
+   sodipodi:docname="gimp-intend.svg">
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1920"
+     inkscape:window-height="1016"
+     id="namedview1510"
+     showgrid="true"
+     inkscape:zoom="10.727273"
+     inkscape:cx="7.435784"
+     inkscape:cy="13.919253"
+     inkscape:window-x="0"
+     inkscape:window-y="27"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="svg7384">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4250" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata90">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title />
+        <dc:contributor>
+          <cc:Agent>
+            <dc:title>Barbara Muraus, Jakub Steiner, Klaus Staedtler</dc:title>
+          </cc:Agent>
+        </dc:contributor>
+        <dc:description>Images originally created as the &quot;Art Libre&quot; icon set. Extended and 
adopted for GIMP</dc:description>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs7386">
+    <linearGradient
+       gradientTransform="matrix(0.34682586,0,0,0.30620888,-154.35207,-275.32368)"
+       osb:paint="solid"
+       id="linearGradient19282-4">
+      <stop
+         id="stop19284-0"
+         offset="0"
+         style="stop-color:#bebebe;stop-opacity:1;" />
+    </linearGradient>
+    <linearGradient
+       gradientTransform="matrix(1.6666667,0,0,1,-1444.4187,-901.56966)"
+       gradientUnits="userSpaceOnUse"
+       y2="1047.3622"
+       x2="-9"
+       y1="1047.3622"
+       x1="-21"
+       id="linearGradient7501"
+       xlink:href="#linearGradient19282-4" />
+    <linearGradient
+       gradientTransform="translate(-875.0512,-901.56966)"
+       gradientUnits="userSpaceOnUse"
+       y2="1041.3622"
+       x2="-9"
+       y1="1041.3622"
+       x1="-21"
+       id="linearGradient7503"
+       xlink:href="#linearGradient19282-4" />
+    <linearGradient
+       gradientTransform="matrix(1.6666667,0,0,1,-1444.4187,-907.56966)"
+       gradientUnits="userSpaceOnUse"
+       y2="1035.3622"
+       x2="-9"
+       y1="1035.3622"
+       x1="-21"
+       id="linearGradient7505"
+       xlink:href="#linearGradient19282-4" />
+    <linearGradient
+       gradientTransform="translate(-875.0512,-907.56966)"
+       gradientUnits="userSpaceOnUse"
+       y2="1041.3622"
+       x2="-9"
+       y1="1041.3622"
+       x1="-21"
+       id="linearGradient7503-1"
+       xlink:href="#linearGradient19282-4" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient19282-4"
+       id="linearGradient4295"
+       x1="1"
+       y1="11.000125"
+       x2="8"
+       y2="11.000125"
+       gradientUnits="userSpaceOnUse" />
+  </defs>
+  <g
+     id="g4322">
+    <rect
+       y="-1.7382812e-05"
+       x="-5.7128909e-06"
+       height="22"
+       width="22"
+       id="rect6639-0-4-6"
+       
style="display:inline;opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.27500001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
 />
+    <rect
+       transform="scale(-1,1)"
+       y="19"
+       x="-21"
+       height="2"
+       width="20"
+       id="rect5996-2-1-0-7-8-0-9"
+       
style="color:#555753;display:inline;overflow:visible;fill:url(#linearGradient7501);fill-opacity:1;stroke-width:1.17363131"
 />
+    <rect
+       transform="scale(-1,1)"
+       y="13"
+       x="-21"
+       height="2"
+       width="12"
+       id="rect5996-2-1-0-7-5-7-64"
+       
style="color:#555753;display:inline;overflow:visible;fill:url(#linearGradient7503);fill-opacity:1;stroke-width:0.90909088"
 />
+    <rect
+       transform="scale(-1,1)"
+       y="1"
+       x="-21"
+       height="2"
+       width="20"
+       id="rect5996-2-1-0-4-1-0"
+       
style="color:#555753;display:inline;overflow:visible;fill:url(#linearGradient7505);fill-opacity:1;stroke-width:1.17363131"
 />
+    <rect
+       transform="scale(-1,1)"
+       y="7"
+       x="-21"
+       height="2"
+       width="12"
+       id="rect5996-2-1-0-7-5-7-64-4"
+       
style="color:#555753;display:inline;overflow:visible;fill:url(#linearGradient7503-1);fill-opacity:1;stroke-width:0.90909088"
 />
+    <path
+       inkscape:export-ydpi="89"
+       inkscape:export-xdpi="89"
+       inkscape:export-filename="/home/matthias/GIT/icons/exported-sifr/cmd/sc_incrementindent.png"
+       sodipodi:nodetypes="ccccccccccccccc"
+       id="path4538-7-9-6"
+       d="m 1,7.000375 v 1.333208 c 0,0.34249 0.1817623,0.704478 0.4375003,0.958345 L 3.8000002,11 
1.4375003,12.708447 C 1.1817623,12.962189 1,13.324302 1,13.666792 v 1.333333 h 0.578508 l 0.8214916,-2.5e-4 c 
0.43323,0 0.7732483,-0.119996 1.05,-0.374988 C 5.4333381,13.194306 6.0166614,12.430705 8,11 L 
3.4499996,7.3751133 C 3.1732479,7.1206212 2.8332296,7.000125 2.3999996,7.000125 l -0.8214916,2.5e-4 z"
+       
style="color:#555753;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Bitstream
 Vera Sans';-inkscape-font-specification:'Bitstream Vera 
Sans';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient4295);fill-opacity:1;stroke:none;stroke-width:2.04935813;marker:none;enable-background:accumulate"
+       inkscape:connector-curvature="0" />
+  </g>
+</svg>
diff --git a/libgimpwidgets/gimpicons.c b/libgimpwidgets/gimpicons.c
index 4904f38..6ecab3c 100644
--- a/libgimpwidgets/gimpicons.c
+++ b/libgimpwidgets/gimpicons.c
@@ -130,6 +130,8 @@ static const GtkStockItem gimp_stock_items[] =
   { GIMP_STOCK_CHAR_PICKER,              NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_LETTER_SPACING, N_("L_etter Spacing"), 0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_LINE_SPACING,   N_("L_ine Spacing"),   0, 0, LIBGIMP_DOMAIN },
+  { GIMP_STOCK_INTEND,         N_("I_ntend"),         0, 0, LIBGIMP_DOMAIN },
+
   { GIMP_STOCK_TEXT_DIR_LTR,             NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_TEXT_DIR_RTL,             NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_PRINT_RESOLUTION,         NULL,        0, 0, LIBGIMP_DOMAIN },
diff --git a/libgimpwidgets/gimpicons.h b/libgimpwidgets/gimpicons.h
index 4eeb171..a7bbe9c 100644
--- a/libgimpwidgets/gimpicons.h
+++ b/libgimpwidgets/gimpicons.h
@@ -105,6 +105,7 @@ G_BEGIN_DECLS
 #define GIMP_STOCK_CHAR_PICKER              "gimp-char-picker"
 #define GIMP_STOCK_LETTER_SPACING           "gimp-letter-spacing"
 #define GIMP_STOCK_LINE_SPACING             "gimp-line-spacing"
+#define GIMP_STOCK_INTEND                   "gimp-intend"
 #define GIMP_STOCK_PRINT_RESOLUTION         "gimp-print-resolution"
 #define GIMP_STOCK_FONT                     "gimp-font"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]