[gnome-builder/wip/jimmac/symbolic-icon-fixes] icons: provide a terminal icon




commit 5587e1e4620acd80e57dc191f8423d1c004bf962
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Feb 2 13:56:28 2022 +0100

    icons: provide a terminal icon
    
    fixes https://gitlab.gnome.org/GNOME/gnome-builder/-/issues/1615

 data/icons/src/org.gnome.Builder.svg               | 39 ++++++++++++++++++++++
 src/libide/terminal/ide-terminal-page.c            |  2 +-
 src/plugins/shellcmd/gbp-shellcmd-command.c        |  2 +-
 .../terminal/gbp-terminal-workspace-addin.c        |  2 +-
 4 files changed, 42 insertions(+), 3 deletions(-)
---
diff --git a/data/icons/src/org.gnome.Builder.svg b/data/icons/src/org.gnome.Builder.svg
index 5f64a363d..0da649e6a 100644
--- a/data/icons/src/org.gnome.Builder.svg
+++ b/data/icons/src/org.gnome.Builder.svg
@@ -2202,6 +2202,45 @@
          d="M 447.96094 340 C 447.9097 340.00001 447.85762 340.00237 447.80664 340.00781 C 447.4726 
340.04536 447.15232 340.19859 446.91406 340.43555 L 440.41992 346.96289 C 439.8752 347.51739 439.8752 
348.51191 440.41992 349.06641 L 446.94922 355.5918 C 447.50413 356.13612 448.49977 356.13612 449.05469 
355.5918 L 455.58594 349.10156 C 456.15187 348.54449 456.15187 347.51997 455.58594 346.96289 L 449.05469 
340.43555 C 449.02009 340.41021 448.98589 340.38748 448.94922 340.36523 C 448.67757 340.13084 448.31962 
339.99995 447.96094 340 z M 448.02539 343.78516 A 2.7007353 2.7007353 0 0 1 450.12891 344.63086 L 452.50391 
347.15234 A 1.0129652 1.0129652 0 0 1 452.47461 348.57227 L 451.10352 349.9082 A 0.89922183 0.89922183 0 0 1 
449.82031 349.88086 L 448.70117 348.69336 L 446.24414 351.12305 C 445.85364 351.51347 445.22059 351.51347 
444.83008 351.12305 C 444.43966 350.73254 444.43966 350.09949 444.83008 349.70898 L 447.32812 347.23633 L 
446.11719 345.95117 A 0.90716663 0.90716663 0 0 1 446.
 14453 344.67773 L 446.2793 344.54883 A 2.7007353 2.7007353 0 0 1 448.02539 343.78516 z "
          transform="translate(-380,-320)" />
     </g>
+    <g
+       transform="matrix(0,1,1,0,163.99996,642.53072)"
+       inkscape:label=""
+       id="g4086">
+      <title
+         id="title4072">builder-view-left-pane</title>
+      <rect
+         style="color:#bebebe;overflow:visible;fill:none;stroke-width:2;marker:none"
+         id="rect4074"
+         width="16"
+         height="16"
+         x="19.99975"
+         y="296" />
+      <g
+         id="g4084"
+         transform="translate(6.6406596,4.0811557)">
+        <g
+           id="g4078"
+           transform="matrix(0,3.7795275,3.7795275,0,-1281.2058,462.77605)"
+           style="display:inline;fill:#3584e4" />
+        <path
+           
style="color:#000000;display:inline;fill:#2e3436;stroke-linecap:square;stroke-linejoin:round;enable-background:new"
+           d="m 14.348272,294.91887 c 0,-1.6447 1.3553,-3 3,-3 h 8 c 1.6447,0 3,1.3553 3,3 v 10 c 0,1.6447 
-1.3553,3 -3,3 h -8 c -1.6447,0 -3,-1.3553 -3,-3 z m 2,0 v 10 c 0,0.5713 0.4287,1 1,1 h 8 c 0.5713,0 
1,-0.4287 1,-1 v -10 c 0,-0.5713 -0.4287,-1 -1,-1 h -8 c -0.5713,0 -1,0.4287 -1,1 z"
+           id="path4080"
+           sodipodi:nodetypes="ssssssssssssssssss" />
+      </g>
+      <path
+         style="color:#000000;fill:#2e3436;stroke-linecap:round;-inkscape-stroke:none"
+         d="m 25.98881,300.00004 a 1,1 0 0 1 0.29297,-0.70703 1,1 0 0 1 1.41406,0 l 1.29297,1.29297 
1.29297,-1.29297 a 1,1 0 0 1 1.41406,0 1,1 0 0 1 0,1.41406 l -2.70703,2.70703 -2.70703,-2.70703 a 1,1 0 0 1 
-0.29297,-0.70703 z"
+         id="path4201" />
+      <rect
+         
style="fill:#2e3436;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
+         id="rect8470"
+         width="4"
+         height="1"
+         x="303.00003"
+         y="30.988934"
+         transform="matrix(0,1,1,0,0,0)" />
+    </g>
   </g>
   <g
      inkscape:groupmode="layer"
diff --git a/src/libide/terminal/ide-terminal-page.c b/src/libide/terminal/ide-terminal-page.c
index 74f964742..72f351f7c 100644
--- a/src/libide/terminal/ide-terminal-page.c
+++ b/src/libide/terminal/ide-terminal-page.c
@@ -596,7 +596,7 @@ ide_terminal_page_init (IdeTerminalPage *self)
                            self,
                            G_CONNECT_SWAPPED);
 
-  ide_page_set_icon_name (IDE_PAGE (self), "utilities-terminal-symbolic");
+  ide_page_set_icon_name (IDE_PAGE (self), "builder-terminal-symbolic");
   ide_page_set_can_split (IDE_PAGE (self), TRUE);
   ide_page_set_menu_id (IDE_PAGE (self), "ide-terminal-page-document-menu");
 
diff --git a/src/plugins/shellcmd/gbp-shellcmd-command.c b/src/plugins/shellcmd/gbp-shellcmd-command.c
index fe5bc884e..0a69ebf61 100644
--- a/src/plugins/shellcmd/gbp-shellcmd-command.c
+++ b/src/plugins/shellcmd/gbp-shellcmd-command.c
@@ -786,7 +786,7 @@ gbp_shellcmd_command_get_icon (IdeCommand *command)
   g_assert (GBP_IS_SHELLCMD_COMMAND (command));
 
   if (icon == NULL)
-    icon = g_themed_icon_new ("utilities-terminal-symbolic");
+    icon = g_themed_icon_new ("builder-terminal-symbolic");
 
   return g_object_ref (icon);
 }
diff --git a/src/plugins/terminal/gbp-terminal-workspace-addin.c 
b/src/plugins/terminal/gbp-terminal-workspace-addin.c
index 3f95c1b41..b0ca02e75 100644
--- a/src/plugins/terminal/gbp-terminal-workspace-addin.c
+++ b/src/plugins/terminal/gbp-terminal-workspace-addin.c
@@ -452,7 +452,7 @@ gbp_terminal_workspace_addin_load (IdeWorkspaceAddin *addin,
 
       self->bottom_dock = g_object_new (DZL_TYPE_DOCK_WIDGET,
                                         "title", _("Terminal"),
-                                        "icon-name", "utilities-terminal-symbolic",
+                                        "icon-name", "builder-terminal-symbolic",
                                         "visible", TRUE,
                                         NULL);
       g_signal_connect (self->bottom_dock,


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