[gnome-builder/wip/snwh/symbolic-updates: 3/6] Use the build action icon in fewer places; new build info icon




commit 702c7b7756bcd608211585d4f159f6f05adbe347
Author: Sam Hewitt <sam snwh org>
Date:   Wed Dec 22 15:30:57 2021 -0330

    Use the build action icon in fewer places; new build info icon

 .../actions/builder-build-info-symbolic.svg        |  1 +
 .../scalable/mimetypes/text-makefile-symbolic.svg  |  1 +
 data/icons/src/org.gnome.Builder.svg               | 57 ++++++++++++++++------
 src/libide/io/ide-content-type.c                   |  6 +--
 src/plugins/buildui/gbp-buildui-log-pane.c         |  2 +-
 src/plugins/buildui/gbp-buildui-workspace-addin.c  |  2 +-
 6 files changed, 49 insertions(+), 20 deletions(-)
---
diff --git a/data/icons/hicolor/scalable/actions/builder-build-info-symbolic.svg 
b/data/icons/hicolor/scalable/actions/builder-build-info-symbolic.svg
new file mode 100644
index 000000000..a10b3b302
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/builder-build-info-symbolic.svg
@@ -0,0 +1 @@
+<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg";><path 
style="color:#000;opacity:1;fill:#3d3846;-inkscape-stroke:none" d="M8 0C3.594 0 0 3.594 0 8c0 4.406 3.594 8 8 
8 4.406 0 8-3.594 8-8 0-4.406-3.594-8-8-8zm0 2c3.326 0 6 2.674 6 6s-2.674 6-6 6-6-2.674-6-6 2.674-6 6-6zm0 
1.75c-.687 0-1.25.563-1.25 1.25S7.313 6.25 8 6.25 9.25 5.687 9.25 5 8.687 3.75 8 3.75zM7 7v5h2V7H7z"/></svg>
\ No newline at end of file
diff --git a/data/icons/hicolor/scalable/mimetypes/text-makefile-symbolic.svg 
b/data/icons/hicolor/scalable/mimetypes/text-makefile-symbolic.svg
new file mode 100644
index 000000000..a06255346
--- /dev/null
+++ b/data/icons/hicolor/scalable/mimetypes/text-makefile-symbolic.svg
@@ -0,0 +1 @@
+<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg";><path 
style="color:#000;overflow:visible;color-interpolation-filters:linearRGB;fill:#2e3436;fill-opacity:1;stroke:none;stroke-dasharray:1,2;image-rendering:auto;text-rendering:auto;enable-background:new"
 d="M1 13v-3h6.031v3zm7 0v-3h6v3zm6-3.992L12 9V6h2zM1 9V5.992L3 6v3zm3 0V6h7l.031 3zM1 5V2h6v3z"/></svg>
\ No newline at end of file
diff --git a/data/icons/src/org.gnome.Builder.svg b/data/icons/src/org.gnome.Builder.svg
index 7d5c7fe86..4e0ae6b05 100644
--- a/data/icons/src/org.gnome.Builder.svg
+++ b/data/icons/src/org.gnome.Builder.svg
@@ -24,12 +24,12 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="4"
-     inkscape:cx="110"
-     inkscape:cy="336.25"
+     inkscape:zoom="11.313708"
+     inkscape:cx="93.735843"
+     inkscape:cy="344.62617"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
-     showgrid="false"
+     showgrid="true"
      units="px"
      showborder="false"
      inkscape:window-width="1920"
@@ -2062,13 +2062,16 @@
          class="warning" />
     </g>
     <g
-       id="g15842">
+       id="g4237"
+       inkscape:label="build output information">
+      <title
+         id="title4239">builder-build-info</title>
       <rect
          y="80.000008"
          x="-658.51965"
          height="16"
          width="16"
-         id="rect1341"
+         id="rect4132"
          style="color:#bebebe;overflow:visible;fill:none;stroke:none;stroke-width:2;marker:none"
          transform="rotate(-90)" />
       <rect
@@ -2076,18 +2079,13 @@
          x="-658.51965"
          height="16"
          width="16"
-         id="rect10006"
+         id="rect4134"
          style="color:#bebebe;overflow:visible;fill:none;stroke:none;stroke-width:2;marker:none"
          transform="rotate(-90)" />
       <path
-         id="path10217"
-         style="color:#000000;fill:#2e3436;fill-opacity:1;stroke-linejoin:round;-inkscape-stroke:none"
-         d="m 89,658.51965 c -0.552262,-6e-5 -0.999945,-0.44774 -1,-1 v -5 c 5.5e-5,-0.55226 
0.447738,-0.99994 1,-1 h 5 c 0.552262,6e-5 0.999945,0.44774 1,1 v 5 c -5.5e-5,0.55226 -0.447738,0.99994 -1,1 
z m 2,-1 h 1 v -3 h -1 z m 0.5,-3.90039 c 0.33107,-2.2e-4 0.599389,-0.26854 0.599609,-0.59961 
-2.2e-4,-0.33107 -0.268539,-0.59939 -0.599609,-0.59961 -0.33107,2.2e-4 -0.599389,0.26854 -0.599609,0.59961 
2.2e-4,0.33107 0.268539,0.59939 0.599609,0.59961 z" />
-      <path
-         id="rect7417-7"
-         
style="color:#000000;overflow:visible;color-interpolation-filters:linearRGB;fill:#2e3436;fill-opacity:1;stroke:none;stroke-dasharray:1,
 2;image-rendering:auto;text-rendering:auto;enable-background:new"
-         d="M 81 323 L 81 326 L 87.03125 326 L 87.03125 323 L 81 323 z M 88 323 L 88 326 L 94 326 L 94 323 L 
88 323 z M 94 326.99219 L 92 327 L 92 328 L 94 328 L 94 326.99219 z M 81 327 L 81 330.00781 L 83 330 L 83 327 
L 81 327 z M 84 327 L 84 330 L 87 330 L 87 329 C 87 328.446 87.446002 328 88 328 L 91.03125 328 L 91.03125 
327 L 84 327 z M 81 331 L 81 334 L 87 334 L 87 331 L 81 331 z "
-         transform="translate(0,322.51965)" />
+         id="path2253"
+         style="color:#000000;fill:#2e3436;-inkscape-stroke:none;fill-opacity:1"
+         d="m 88,642.51965 c -4.406429,0 -8,3.59357 -8,8 0,4.40643 3.593571,8 8,8 4.406429,0 
8.000005,-3.59357 8.000005,-8 0,-4.40643 -3.593576,-8 -8.000005,-8 z m 0,2 c 3.32555,0 6,2.67445 6,6 
0,3.32555 -2.67445,6 -6,6 -3.32555,0 -6,-2.67445 -6,-6 0,-3.32555 2.67445,-6 6,-6 z m 0,1.75 c -0.687394,0 
-1.25,0.56261 -1.25,1.25 0,0.68739 0.562606,1.25 1.25,1.25 0.687394,0 1.25,-0.56261 1.25,-1.25 0,-0.68739 
-0.562606,-1.25 -1.25,-1.25 z m -1,3.25 v 5 h 2 v -5 z" />
     </g>
   </g>
   <g
@@ -2722,6 +2720,35 @@
          d="m 63,-216 v 3 h 2 v -3 z"
          id="path3631-7" />
     </g>
+    <g
+       id="g1357"
+       transform="matrix(1,0,0,-1,0,1298.5198)"
+       inkscape:label="makefile buildfile build">
+      <title
+         id="title1359">text-makefile</title>
+      <rect
+         y="80.000008"
+         x="-658.51965"
+         height="16"
+         width="16"
+         id="rect1349"
+         style="color:#bebebe;overflow:visible;fill:none;stroke:none;stroke-width:2;marker:none"
+         transform="rotate(-90)" />
+      <rect
+         y="80.000008"
+         x="-658.51965"
+         height="16"
+         width="16"
+         id="rect1351"
+         style="color:#bebebe;overflow:visible;fill:none;stroke:none;stroke-width:2;marker:none"
+         transform="rotate(-90)" />
+      <path
+         id="path1355"
+         
style="color:#000000;overflow:visible;color-interpolation-filters:linearRGB;fill:#2e3436;fill-opacity:1;stroke:none;stroke-dasharray:1,
 2;image-rendering:auto;text-rendering:auto;enable-background:new"
+         d="m 81,323 v 3 h 6.03125 v -3 z m 7,0 v 3 h 6 v -3 z m 6,3.99219 -2,0.008 v 3 h 2 z M 81,327 v 
3.00781 L 83,330 v -3 z m 3,0 v 3 h 7 l 0.03125,-3 z m -3,4 v 3 h 6 v -3 z"
+         transform="translate(0,322.51965)"
+         sodipodi:nodetypes="cccccccccccccccccccccccccccccc" />
+    </g>
   </g>
   <g
      inkscape:groupmode="layer"
diff --git a/src/libide/io/ide-content-type.c b/src/libide/io/ide-content-type.c
index 0c024c7f0..fb4cb65c7 100644
--- a/src/libide/io/ide-content-type.c
+++ b/src/libide/io/ide-content-type.c
@@ -87,9 +87,9 @@ ide_io_init_ctor (void)
   ADD_ICON (bundled_by_content_type, "text-x-script-symbolic", NULL);
   ADD_ICON (bundled_by_content_type, "text-x-vala-symbolic", NULL);
   ADD_ICON (bundled_by_content_type, "text-xml-symbolic", NULL);
-  ADD_ICON (bundled_by_content_type, "text-x-meson", "builder-build-symbolic");
-  ADD_ICON (bundled_by_content_type, "text-x-cmake", "builder-build-symbolic");
-  ADD_ICON (bundled_by_content_type, "text-x-makefile", "builder-build-symbolic");
+  ADD_ICON (bundled_by_content_type, "text-x-meson", "text-makefile-symbolic");
+  ADD_ICON (bundled_by_content_type, "text-x-cmake", "text-makefile-symbolic");
+  ADD_ICON (bundled_by_content_type, "text-x-makefile", "text-makefile-symbolic");
 
   ADD_ICON (bundled_by_full_filename, ".editorconfig", "format-indent-more-symbolic");
   ADD_ICON (bundled_by_full_filename, ".gitignore", "builder-vcs-git-symbolic");
diff --git a/src/plugins/buildui/gbp-buildui-log-pane.c b/src/plugins/buildui/gbp-buildui-log-pane.c
index cc567fab8..71db6ac04 100644
--- a/src/plugins/buildui/gbp-buildui-log-pane.c
+++ b/src/plugins/buildui/gbp-buildui-log-pane.c
@@ -354,7 +354,7 @@ gbp_buildui_log_pane_init (GbpBuilduiLogPane *self)
 
   gtk_widget_init_template (GTK_WIDGET (self));
 
-  dzl_dock_widget_set_icon_name (DZL_DOCK_WIDGET (self), "builder-build-symbolic");
+  dzl_dock_widget_set_icon_name (DZL_DOCK_WIDGET (self), "builder-build-info-symbolic");
 
   g_signal_connect_object (self->terminal,
                            "size-allocate",
diff --git a/src/plugins/buildui/gbp-buildui-workspace-addin.c 
b/src/plugins/buildui/gbp-buildui-workspace-addin.c
index fac75a2e6..703c09f08 100644
--- a/src/plugins/buildui/gbp-buildui-workspace-addin.c
+++ b/src/plugins/buildui/gbp-buildui-workspace-addin.c
@@ -381,7 +381,7 @@ gbp_buildui_workspace_addin_load (IdeWorkspaceAddin *addin,
   ide_editor_sidebar_add_section (sidebar,
                                   "build-issues",
                                   _("Build Issues"),
-                                  "builder-build-symbolic",
+                                  "builder-build-issues-symbolic",
                                   NULL, NULL,
                                   GTK_WIDGET (self->pane),
                                   100);


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