[gnome-builder] icons: add builder-profiler-symbolic icon



commit f9c2a7aecd02114c44ab1f135d84402b874f391f
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 20 09:36:15 2020 -0700

    icons: add builder-profiler-symbolic icon
    
    This reduces what we need to use from Sysprof installation.
    
    Fixes #1266

 .../actions/builder-profiler-symbolic.symbolic.png | Bin 0 -> 298 bytes
 .../actions/builder-profiler-symbolic.symbolic.png | Bin 0 -> 569 bytes
 .../actions/builder-profiler-symbolic.symbolic.png | Bin 0 -> 924 bytes
 .../actions/builder-profiler-symbolic.symbolic.png | Bin 0 -> 1226 bytes
 .../scalable/actions/builder-profiler-symbolic.svg |  30 +++++++++++++++++++++
 src/plugins/sysprof/gbp-sysprof-surface.c          |   2 +-
 src/plugins/sysprof/gbp-sysprof-workspace-addin.c  |   2 +-
 src/plugins/sysprof/gtk/menus.ui                   |   4 +--
 8 files changed, 34 insertions(+), 4 deletions(-)
---
diff --git a/data/icons/hicolor/16x16/actions/builder-profiler-symbolic.symbolic.png 
b/data/icons/hicolor/16x16/actions/builder-profiler-symbolic.symbolic.png
new file mode 100644
index 000000000..b800c72df
Binary files /dev/null and b/data/icons/hicolor/16x16/actions/builder-profiler-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/32x32/actions/builder-profiler-symbolic.symbolic.png 
b/data/icons/hicolor/32x32/actions/builder-profiler-symbolic.symbolic.png
new file mode 100644
index 000000000..043de971a
Binary files /dev/null and b/data/icons/hicolor/32x32/actions/builder-profiler-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/48x48/actions/builder-profiler-symbolic.symbolic.png 
b/data/icons/hicolor/48x48/actions/builder-profiler-symbolic.symbolic.png
new file mode 100644
index 000000000..ad9da0732
Binary files /dev/null and b/data/icons/hicolor/48x48/actions/builder-profiler-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/64x64/actions/builder-profiler-symbolic.symbolic.png 
b/data/icons/hicolor/64x64/actions/builder-profiler-symbolic.symbolic.png
new file mode 100644
index 000000000..8b9bd17ab
Binary files /dev/null and b/data/icons/hicolor/64x64/actions/builder-profiler-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/scalable/actions/builder-profiler-symbolic.svg 
b/data/icons/hicolor/scalable/actions/builder-profiler-symbolic.svg
new file mode 100644
index 000000000..aab2fab8d
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/builder-profiler-symbolic.svg
@@ -0,0 +1,30 @@
+<?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='sysprof-symbolic.svg' 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='layer9' inkscape:cx='9.9751016' inkscape:cy='-7.30721' 
gridtolerance='10' inkscape:guide-bbox='true' guidetolerance='10' id='namedview88' 
inkscape:object-nodes='false' inkscape:object-paths='false' objecttolerance='10' pagecolor='#555753' 
inkscape:pageopacity='1' inkscape:pageshadow='2' showborder='false' showgrid='false' showguides='true' 
inkscape:snap-bbox='true' inkscape:snap-bbox-edge-midpoints='true' inkscape:snap-bbox-midpoints='true' 
inkscape:snap-global='true' inkscape:snap-grids='true' inkscape:snap-nodes='true' inkscape:snap-others='true' 
inkscape:snap-to-guides='true' inkscape:window-height='1250' inkscape:window-maximized='0' 
inkscape:window-width='1590' inkscape:window-x='150' inkscape:window-y='153' inkscape:zoom='1'>
+    <inkscape:grid empspacing='2' enabled='true' id='grid4866' originx='-282' originy='-322' 
snapvisiblegridlinesonly='true' spacingx='1px' spacingy='1px' type='xygrid' visible='true'/>
+  </sodipodi:namedview>
+  <title id='title9167'>Gnome Symbolic Icon Theme</title>
+  <defs id='defs7386'>
+    <linearGradient id='linearGradient7212' osb:paint='solid'>
+      <stop id='stop7214' offset='0' style='stop-color:#000000;stop-opacity:1;'/>
+    </linearGradient>
+  </defs>
+  <g inkscape:groupmode='layer' id='layer9' inkscape:label='apps' style='display:inline' 
transform='translate(-523.0002,105)'>
+    
+    <path inkscape:connector-curvature='0' d='m 531.0002,-100 c -2.76142,0 -5,2.23858 -5,5 0,2.76142 
2.23858,5 5,5 2.76142,0 5,-2.23858 5,-5 0,-2.76142 -2.23858,-5 -5,-5 z m 0,1 0.28516,3.04297 A 1,1 0 0 1 
532.0002,-95 a 1,1 0 0 1 -0.54297,0.88867 l 0.0527,0.55274 c 0.0442,0.35355 -0.21646,0.62421 -0.50977,0.60351 
-0.25733,-0.0182 -0.55067,-0.29415 -0.48438,-0.60351 l 0.0488,-0.54297 A 1,1 0 0 1 530.0002,-95 a 1,1 0 0 1 
0.73047,-0.96289 L 531.0002,-99 Z' id='path9349' 
style='color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;color-renderi
 ng:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:new'/>
+    <rect height='1' id='rect9351' 
style='color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:new'
 width='2' x='530.00018' y='-102'/>
+    <path inkscape:connector-curvature='0' d='m 531.02734,-104.49805 c -0.686,0 -1.37137,0.23238 
-1.92773,0.69922 -1.11273,0.93369 -1.3962,2.54088 -0.66992,3.79883 l 0.86523,-0.5 c -0.48695,-0.84343 
-0.29879,-1.90523 0.44727,-2.53125 0.74605,-0.62602 1.82425,-0.62602 2.57031,0 0.74606,0.62602 
0.93422,1.68782 0.44727,2.53125 l 0.86523,0.5 c 0.72628,-1.25795 0.4428,-2.86514 -0.66992,-3.79883 
-0.55636,-0.46684 -1.24174,-0.69922 -1.92774,-0.69922 z' id='path9353' 
style='color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:vi
 
sible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;paint-order:normal;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:new'/>
+    <rect height='1' id='rect9373' 
style='color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:new'
 transform='matrix(0.69053214,0.72330171,-0.72330171,0.69053214,0,0)' width='2' x='296.77777' y='-456.22092'/>
+  </g>
+</svg>
diff --git a/src/plugins/sysprof/gbp-sysprof-surface.c b/src/plugins/sysprof/gbp-sysprof-surface.c
index c102b805b..b93898011 100644
--- a/src/plugins/sysprof/gbp-sysprof-surface.c
+++ b/src/plugins/sysprof/gbp-sysprof-surface.c
@@ -52,7 +52,7 @@ gbp_sysprof_surface_init (GbpSysprofSurface *self)
   gtk_widget_init_template (GTK_WIDGET (self));
 
   gtk_widget_set_name (GTK_WIDGET (self), "profiler");
-  ide_surface_set_icon_name (IDE_SURFACE (self), "org.gnome.Sysprof-symbolic");
+  ide_surface_set_icon_name (IDE_SURFACE (self), "builder-profiler-symbolic");
   ide_surface_set_title (IDE_SURFACE (self), _("Profiler"));
 
   controller = dzl_shortcut_controller_find (GTK_WIDGET (self));
diff --git a/src/plugins/sysprof/gbp-sysprof-workspace-addin.c 
b/src/plugins/sysprof/gbp-sysprof-workspace-addin.c
index 1d2619acb..b6fde1507 100644
--- a/src/plugins/sysprof/gbp-sysprof-workspace-addin.c
+++ b/src/plugins/sysprof/gbp-sysprof-workspace-addin.c
@@ -415,7 +415,7 @@ gbp_sysprof_workspace_addin_check_supported_cb (GObject      *object,
   ide_run_manager_add_handler (run_manager,
                                "profiler",
                                _("Run with Profiler"),
-                               "org.gnome.Sysprof-symbolic",
+                               "builder-profiler-symbolic",
                                "<primary>F8",
                                profiler_run_handler,
                                self,
diff --git a/src/plugins/sysprof/gtk/menus.ui b/src/plugins/sysprof/gtk/menus.ui
index eb2a592f4..82662ddd8 100644
--- a/src/plugins/sysprof/gtk/menus.ui
+++ b/src/plugins/sysprof/gtk/menus.ui
@@ -19,7 +19,7 @@
         <attribute name="label" translatable="yes">Profiler</attribute>
         <attribute name="role">normal</attribute>
         <attribute name="action">profiler.show</attribute>
-        <attribute name="verb-icon-name">org.gnome.Sysprof-symbolic</attribute>
+        <attribute name="verb-icon-name">builder-profiler-symbolic</attribute>
       </item>
     </section>
   </menu>
@@ -30,7 +30,7 @@
         <attribute name="after">default-run-handler</attribute>
         <attribute name="action">profiler.run</attribute>
         <attribute name="label" translatable="yes">Run with Profiler</attribute>
-        <attribute name="verb-icon-name">org.gnome.Sysprof-symbolic</attribute>
+        <attribute name="verb-icon-name">builder-profiler-symbolic</attribute>
         <attribute name="accel">&lt;Control&gt;F8</attribute>
       </item>
     </section>


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