[shotwell/wip/phako/dark: 9/12] Replace enhance icon with symbolic version



commit 7e7e1466de14af23da3f74d82bef0c35cfb3f039
Author: Jens Georg <mail jensge org>
Date:   Thu Apr 12 22:08:19 2018 +0200

    Replace enhance icon with symbolic version

 icons/image-auto-adjust-symbolic.svg |   26 ++++++++++++++++++++++++++
 icons/shotwell-auto-enhance.png      |  Bin 9612 -> 0 bytes
 org.gnome.Shotwell.gresource.xml     |    2 +-
 src/Resources.vala                   |    2 +-
 ui/collection.ui                     |    2 +-
 5 files changed, 29 insertions(+), 3 deletions(-)
---
diff --git a/icons/image-auto-adjust-symbolic.svg b/icons/image-auto-adjust-symbolic.svg
new file mode 100644
index 0000000..0fa4b40
--- /dev/null
+++ b/icons/image-auto-adjust-symbolic.svg
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='UTF-8' standalone='no'?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg xmlns:cc='http://creativecommons.org/ns#' xmlns:dc='http://purl.org/dc/elements/1.1/' 
sodipodi:docname='image-auto-adjust-symbolic.svg' 
inkscape:export-filename='/home/sam/dev/RESOURCES/gnome-icon-theme-symbolic/src/gnome-stencils.png' 
inkscape:export-xdpi='90' inkscape:export-ydpi='90' height='16' id='svg7384' 
xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' 
xmlns:osb='http://www.openswatchbook.org/uri/2009/osb' 
xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' 
xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:svg='http://www.w3.org/2000/svg' 
version='1.1' inkscape:version='0.91 r13725' width='16' xmlns='http://www.w3.org/2000/svg'>
+  <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>Gnome Symbolic Icon Theme</dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <sodipodi:namedview inkscape:bbox-nodes='true' inkscape:bbox-paths='true' bordercolor='#666666' 
borderopacity='1' inkscape:current-layer='svg7384' inkscape:cx='-167.79725' inkscape:cy='-173.22876' 
gridtolerance='10' inkscape:guide-bbox='true' guidetolerance='10' id='namedview88' 
inkscape:object-nodes='true' inkscape:object-paths='false' objecttolerance='10' pagecolor='#3a3b39' 
inkscape:pageopacity='1' inkscape:pageshadow='2' showborder='false' showgrid='false' showguides='true' 
inkscape:snap-bbox='true' inkscape:snap-bbox-midpoints='false' inkscape:snap-global='true' 
inkscape:snap-grids='true' inkscape:snap-nodes='false' inkscape:snap-others='false' 
inkscape:snap-to-guides='true' inkscape:window-height='1376' inkscape:window-maximized='1' 
inkscape:window-width='2560' inkscape:window-x='0' inkscape:window-y='27' inkscape:zoom='1'>
+    <inkscape:grid dotted='false' empspacing='2' enabled='true' id='grid4866' originx='158' originy='-112' 
snapvisiblegridlinesonly='true' spacingx='1px' spacingy='1px' type='xygrid' visible='true'/>
+  </sodipodi:namedview>
+  <title id='title9167'>Gnome Symbolic Icon Theme</title>
+  <defs id='defs7386'>
+    <linearGradient 
gradientTransform='matrix(-2.7365795,0.28202934,-0.18908311,-0.99988321,239.54008,-879.45557)' 
id='linearGradient19282' osb:paint='solid'>
+      <stop id='stop19284' offset='0' style='stop-color:#666666;stop-opacity:1;'/>
+    </linearGradient>
+  </defs>
+  
+  <path sodipodi:arg1='0' sodipodi:arg2='0.62831853' sodipodi:cx='-186' sodipodi:cy='45' d='m -184,45 
-1.19098,0.587785 -0.19099,1.314328 -0.92705,-0.951056 -1.30901,0.224514 L -187,45 l -0.61803,-1.175571 
1.30901,0.224514 0.92705,-0.951056 0.19099,1.314328 z' inkscape:flatsided='false' id='path15882' 
sodipodi:r1='2' sodipodi:r2='1' inkscape:randomized='0' inkscape:rounded='0' sodipodi:sides='5' 
style='display:inline;fill:#babdb6;fill-opacity:1;stroke:none' 
transform='matrix(1.8190885,0,0,1.9123982,341.8349,-80.54538)' inkscape:transform-center-x='-0.34743' 
sodipodi:type='star'/>
+  <rect height='11.284684' id='rect15884' rx='0.9956156' ry='0.51101255' 
style='display:inline;fill:#babdb6;fill-opacity:1;stroke:none' 
transform='matrix(-0.66790251,0.74424877,0.77062002,0.6372949,0,0)' width='1.7099706' x='0.89881563' 
y='9.3102665'/>
+</svg>
diff --git a/org.gnome.Shotwell.gresource.xml b/org.gnome.Shotwell.gresource.xml
index e226f96..ff5b8ce 100644
--- a/org.gnome.Shotwell.gresource.xml
+++ b/org.gnome.Shotwell.gresource.xml
@@ -52,6 +52,7 @@
       <file>icons/four-stars.svg</file>
       <file>icons/generic-plugin.png</file>
       <file>icons/image-crop-symbolic.svg</file>
+      <file>icons/image-auto-adjust-symbolic.svg</file>
       <file>icons/image-adjust-color-symbolic.svg</file>
       <file>icons/image-zoom-in-symbolic.svg</file>
       <file>icons/image-zoom-out-symbolic.svg</file>
@@ -73,7 +74,6 @@
       <file>icons/redeye.png</file>
       <file>icons/rejected.svg</file>
       <file>icons/shotwell-16.png</file>
-      <file>icons/shotwell-auto-enhance.png</file>
       <file>icons/shotwell.png</file>
       <file preprocess="xml-stripblanks">icons/shotwell.svg</file>
       <file>icons/shotwell-street.jpg</file>
diff --git a/src/Resources.vala b/src/Resources.vala
index 388adb5..d9e8813 100644
--- a/src/Resources.vala
+++ b/src/Resources.vala
@@ -76,7 +76,7 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc.,
     public const string MAKE_PRIMARY = "shotwell-make-primary";
     public const string IMPORT = "import";
     public const string IMPORT_ALL = "import-all";
-    public const string ENHANCE = "shotwell-auto-enhance";
+    public const string ENHANCE = "image-auto-adjust-symbolic";
     public const string CROP_PIVOT_RETICLE = "shotwell-crop-pivot-reticle";
     public const string PUBLISH = "send-to-symbolic";
     public const string MERGE = "shotwell-merge-events";
diff --git a/ui/collection.ui b/ui/collection.ui
index 4f6cfe4..c12c407 100644
--- a/ui/collection.ui
+++ b/ui/collection.ui
@@ -166,7 +166,7 @@
         <property name="action_name">win.Enhance</property>
         <property name="label" translatable="yes">Enhance</property>
         <property name="use_underline">True</property>
-        <property name="icon_name">shotwell-auto-enhance</property>
+        <property name="icon_name">image-auto-adjust-symbolic</property>
       </object>
       <packing>
         <property name="expand">False</property>


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