[gnome-builder] icons: use builder-run-start-symbolic
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] icons: use builder-run-start-symbolic
- Date: Wed, 7 Jul 2021 21:14:10 +0000 (UTC)
commit e0bfca82ea431dd759e5250f80db61e5143422b1
Author: Christian Hergert <chergert redhat com>
Date: Wed Jul 7 14:14:05 2021 -0700
icons: use builder-run-start-symbolic
The media icons don't really match what we're doing, so we should crib the
version that we want for Builder.
We still might want to make these bigger to match modern Adwaita, but for
now these look better than the weird eject-looking stop button.
data/icons/hicolor/scalable/actions/builder-run-start-symbolic.svg | 1 +
data/icons/hicolor/scalable/actions/builder-run-stop-symbolic.svg | 1 +
src/libide/foundry/ide-run-manager.c | 2 +-
src/libide/gui/gtk/menus.ui | 2 +-
src/libide/gui/ide-run-button.ui | 4 ++--
src/plugins/terminal/gbp-terminal-workspace-addin.c | 2 +-
6 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/data/icons/hicolor/scalable/actions/builder-run-start-symbolic.svg
b/data/icons/hicolor/scalable/actions/builder-run-start-symbolic.svg
new file mode 100644
index 000000000..f26678d89
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/builder-run-start-symbolic.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><g color="#000" fill="#474747"><path
d="M5.022 3a1 1 0 00-1.02 1v8a1 1 0 001.496.87l6.999-4a1 1 0 000-1.74l-6.999-4A1 1 0 005.022 3zm.98
2.725L9.982 8l-3.98 2.275z"
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal;marker:none"
font-weight="400" font-family="sans-serif" overflow="visible"/><path d="M5.002 12h-1v1h1zm0-9h-1v1h1zm0 1L12
8l-6.998 4z" style="marker:none" overflow="visible"/></g></svg>
\ No newline at end of file
diff --git a/data/icons/hicolor/scalable/actions/builder-run-stop-symbolic.svg
b/data/icons/hicolor/scalable/actions/builder-run-stop-symbolic.svg
new file mode 100644
index 000000000..9a49ecc76
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/builder-run-stop-symbolic.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M4.002 4h8v8h-8z"
style="marker:none" color="#000" overflow="visible" fill="#474747"/></svg>
\ No newline at end of file
diff --git a/src/libide/foundry/ide-run-manager.c b/src/libide/foundry/ide-run-manager.c
index 0a4f07de2..ffc0c69c9 100644
--- a/src/libide/foundry/ide-run-manager.c
+++ b/src/libide/foundry/ide-run-manager.c
@@ -1254,7 +1254,7 @@ ide_run_manager_init (IdeRunManager *self)
ide_run_manager_add_handler (self,
"run",
_("Run"),
- "media-playback-start-symbolic",
+ "builder-run-start-symbolic",
"<primary>F5",
NULL,
NULL,
diff --git a/src/libide/gui/gtk/menus.ui b/src/libide/gui/gtk/menus.ui
index e50cb2313..c0bbd65e0 100644
--- a/src/libide/gui/gtk/menus.ui
+++ b/src/libide/gui/gtk/menus.ui
@@ -71,7 +71,7 @@
<attribute name="action">run-manager.run-with-handler</attribute>
<attribute name="target">run</attribute>
<attribute name="label" translatable="yes">Run</attribute>
- <attribute name="verb-icon-name">media-playback-start-symbolic</attribute>
+ <attribute name="verb-icon-name">builder-run-start-symbolic</attribute>
<attribute name="accel"><Control>F5</attribute>
</item>
</section>
diff --git a/src/libide/gui/ide-run-button.ui b/src/libide/gui/ide-run-button.ui
index e68678402..9a5092f71 100644
--- a/src/libide/gui/ide-run-button.ui
+++ b/src/libide/gui/ide-run-button.ui
@@ -22,7 +22,7 @@
</style>
<child>
<object class="GtkImage" id="button_image">
- <property name="icon-name">media-playback-start-symbolic</property>
+ <property name="icon-name">builder-run-start-symbolic</property>
<property name="visible">true</property>
</object>
</child>
@@ -38,7 +38,7 @@
</style>
<child>
<object class="GtkImage">
- <property name="icon-name">media-playback-stop-symbolic</property>
+ <property name="icon-name">builder-run-stop-symbolic</property>
<property name="visible">true</property>
</object>
</child>
diff --git a/src/plugins/terminal/gbp-terminal-workspace-addin.c
b/src/plugins/terminal/gbp-terminal-workspace-addin.c
index 06c6b6acd..38f9bd728 100644
--- a/src/plugins/terminal/gbp-terminal-workspace-addin.c
+++ b/src/plugins/terminal/gbp-terminal-workspace-addin.c
@@ -285,7 +285,7 @@ on_run_manager_run (GbpTerminalWorkspaceAddin *self,
self->run_panel = g_object_new (DZL_TYPE_DOCK_WIDGET,
"child", self->run_terminal,
"expand", TRUE,
- "icon-name", "media-playback-start-symbolic",
+ "icon-name", "builder-run-start-symbolic",
"title", _("Application Output"),
"visible", TRUE,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]