[gnome-builder/wip/gtk4-port: 1459/1774] libide/gui: set various preferences icons
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1459/1774] libide/gui: set various preferences icons
- Date: Mon, 11 Jul 2022 22:31:46 +0000 (UTC)
commit de9e0d871cde900beaa481b20bf2f9df53799cdb
Author: Christian Hergert <chergert redhat com>
Date: Fri Jun 10 14:51:56 2022 -0700
libide/gui: set various preferences icons
These very well might change and could probably use better metaphores, but
this at least gets rid of the missing icons right now.
.../scalable/actions/builder-plugin-symbolic.svg | 2 ++
src/libide/gui/ide-preferences-builtin.c | 29 +++++++++++-----------
2 files changed, 17 insertions(+), 14 deletions(-)
---
diff --git a/data/icons/hicolor/scalable/actions/builder-plugin-symbolic.svg
b/data/icons/hicolor/scalable/actions/builder-plugin-symbolic.svg
new file mode 100644
index 000000000..ac2e20c3a
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/builder-plugin-symbolic.svg
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 6.5 1 c
-0.832031 0 -1.5 0.667969 -1.5 1.5 v 1.5 h -3 c -0.554688 0 -1 0.445312 -1 1 v 3 h 1.5 c 0.832031 0 1.5
0.667969 1.5 1.5 s -0.667969 1.5 -1.5 1.5 h -1.5 v 3 c 0 0.554688 0.445312 1 1 1 h 3 v -1.5 c 0 -0.832031
0.667969 -1.5 1.5 -1.5 s 1.5 0.667969 1.5 1.5 v 1.5 h 3 c 0.554688 0 1 -0.445312 1 -1 v -3 h 1.5 c 0.832031 0
1.5 -0.667969 1.5 -1.5 s -0.667969 -1.5 -1.5 -1.5 h -1.5 v -3 c 0 -0.554688 -0.445312 -1 -1 -1 h -3 v -1.5 c
0 -0.832031 -0.667969 -1.5 -1.5 -1.5 z m 0 0" fill="#2e3436"/></svg>
diff --git a/src/libide/gui/ide-preferences-builtin.c b/src/libide/gui/ide-preferences-builtin.c
index b0ccc6f85..5fc9a3329 100644
--- a/src/libide/gui/ide-preferences-builtin.c
+++ b/src/libide/gui/ide-preferences-builtin.c
@@ -650,24 +650,25 @@ handle_style_variant (const char *page_name,
}
static const IdePreferencePageEntry pages[] = {
- { NULL, "visual", "appearance", "org.gnome.Builder-appearance-symbolic", 0, N_("Appearance") },
- { NULL, "visual", "editing", "org.gnome.Builder-editing-symbolic", 10, N_("Editing") },
- { NULL, "visual", "keyboard", "org.gnome.Builder-shortcuts-symbolic", 20, N_("Shortcuts") },
- { NULL, "code", "languages", "org.gnome.Builder-languages-symbolic", 100, N_("Languages") },
- { NULL, "code", "insight", "org.gnome.Builder-diagnostics-symbolic", 120, N_("Insight") },
- { NULL, "projects", "projects", "org.gnome.Builder-projects-symbolic", 200, N_("Projects") },
- { NULL, "tools", "build", "org.gnome.Builder-build-symbolic", 300, N_("Build") },
- { NULL, "tools", "debug", "org.gnome.Builder-debugger-symbolic", 310, N_("Debugger") },
- { NULL, "tools", "commands", "org.gnome.Builder-command-symbolic", 320, N_("Commands") },
- { NULL, "tools", "sdks", "org.gnome.Builder-sdk-symbolic", 500, N_("SDKs") },
- { NULL, "network", "network", "org.gnome.Builder-network-symbolic", 600, N_("Network") },
- { NULL, "plugins", "plugins", "org.gnome.Builder-plugins-symbolic", 700, N_("Plugins") },
+ { NULL, "visual", "appearance", "preferences-desktop-appearance-symbolic", 0, N_("Appearance")
},
+ { NULL, "visual", "editing", "document-edit-symbolic", 10, N_("Editing") },
+ { NULL, "visual", "keyboard", "preferences-desktop-keyboard-shortcuts-symbolic", 20, N_("Shortcuts")
},
+ { NULL, "code", "languages", "text-x-javascript-symbolic", 100, N_("Languages")
},
+ { NULL, "code", "insight", "folder-saved-search-symbolic", 120, N_("Insight") },
+ { NULL, "projects", "projects", "folder-symbolic", 200, N_("Projects") },
+ { NULL, "tools", "build", "builder-build-symbolic", 300, N_("Build") },
+ { NULL, "tools", "debug", "builder-debugger-symbolic", 310, N_("Debugger") },
+ { NULL, "tools", "commands", "text-x-script-symbolic", 320, N_("Commands") },
+ { NULL, "tools", "sdks", "package-x-generic-symbolic", 500, N_("SDKs") },
+ { NULL, "network", "network", "folder-download-symbolic", 600, N_("Network") },
+ { NULL, "plugins", "plugins", "builder-plugin-symbolic", 700, N_("Plugins") },
};
static const IdePreferencePageEntry project_pages[] = {
- { NULL, "config", "overview", "org.gnome.Builder-overview-symbolic", 0, N_("Overview") },
+ { NULL, "config", "overview", "info-symbolic", 0, N_("Overview") },
{ NULL, "config", "build", "builder-build-symbolic", 100, N_("Configurations") },
- { NULL, "code", "languages", "org.gnome.Builder-languages-symbolic", 200, N_("Languages") },
+ { NULL, "code", "languages", "text-x-javascript-symbolic", 200, N_("Languages") },
+ { NULL, "tools", "commands", "text-x-script-symbolic", 300, N_("Commands") },
};
static const IdePreferenceGroupEntry groups[] = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]