[gnome-builder] icons: setup icons for snippets and word completion
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] icons: setup icons for snippets and word completion
- Date: Tue, 12 Jun 2018 21:06:12 +0000 (UTC)
commit faef5252b6cd0c50dfe6d8199ca259decea0bc0b
Author: Christian Hergert <chergert redhat com>
Date: Tue Jun 12 14:03:27 2018 -0700
icons: setup icons for snippets and word completion
There are still some tweaks that need to be done to the source, because
I'm seeing some lines around the edges.
.../actions/completion-snippet-symbolic.symbolic.png | Bin 0 -> 299 bytes
.../16x16/actions/completion-word-symbolic.symbolic.png | Bin 0 -> 256 bytes
.../actions/completion-snippet-symbolic.symbolic.png | Bin 0 -> 498 bytes
.../32x32/actions/completion-word-symbolic.symbolic.png | Bin 0 -> 319 bytes
.../actions/completion-snippet-symbolic.symbolic.png | Bin 0 -> 781 bytes
.../48x48/actions/completion-word-symbolic.symbolic.png | Bin 0 -> 573 bytes
.../actions/completion-snippet-symbolic.symbolic.png | Bin 0 -> 1006 bytes
.../64x64/actions/completion-word-symbolic.symbolic.png | Bin 0 -> 653 bytes
...ppet-symbolic.svg => completion-snippet-symbolic.svg} | 0
...lt-word-symbolic.svg => completion-word-symbolic.svg} | 0
src/plugins/snippets/ide-snippet-completion-provider.c | 4 +---
src/plugins/words/gbp-word-completion-provider.c | 2 +-
12 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/data/icons/hicolor/16x16/actions/completion-snippet-symbolic.symbolic.png
b/data/icons/hicolor/16x16/actions/completion-snippet-symbolic.symbolic.png
new file mode 100644
index 000000000..1f5f0f8fa
Binary files /dev/null and b/data/icons/hicolor/16x16/actions/completion-snippet-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/16x16/actions/completion-word-symbolic.symbolic.png
b/data/icons/hicolor/16x16/actions/completion-word-symbolic.symbolic.png
new file mode 100644
index 000000000..65ccb0a82
Binary files /dev/null and b/data/icons/hicolor/16x16/actions/completion-word-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/32x32/actions/completion-snippet-symbolic.symbolic.png
b/data/icons/hicolor/32x32/actions/completion-snippet-symbolic.symbolic.png
new file mode 100644
index 000000000..da201dfb8
Binary files /dev/null and b/data/icons/hicolor/32x32/actions/completion-snippet-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/32x32/actions/completion-word-symbolic.symbolic.png
b/data/icons/hicolor/32x32/actions/completion-word-symbolic.symbolic.png
new file mode 100644
index 000000000..30bd4b57f
Binary files /dev/null and b/data/icons/hicolor/32x32/actions/completion-word-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/48x48/actions/completion-snippet-symbolic.symbolic.png
b/data/icons/hicolor/48x48/actions/completion-snippet-symbolic.symbolic.png
new file mode 100644
index 000000000..6c9418211
Binary files /dev/null and b/data/icons/hicolor/48x48/actions/completion-snippet-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/48x48/actions/completion-word-symbolic.symbolic.png
b/data/icons/hicolor/48x48/actions/completion-word-symbolic.symbolic.png
new file mode 100644
index 000000000..2984fbcd8
Binary files /dev/null and b/data/icons/hicolor/48x48/actions/completion-word-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/64x64/actions/completion-snippet-symbolic.symbolic.png
b/data/icons/hicolor/64x64/actions/completion-snippet-symbolic.symbolic.png
new file mode 100644
index 000000000..1413dab36
Binary files /dev/null and b/data/icons/hicolor/64x64/actions/completion-snippet-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/64x64/actions/completion-word-symbolic.symbolic.png
b/data/icons/hicolor/64x64/actions/completion-word-symbolic.symbolic.png
new file mode 100644
index 000000000..fab7103b9
Binary files /dev/null and b/data/icons/hicolor/64x64/actions/completion-word-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/scalable/actions/result-codesnippet-symbolic.svg
b/data/icons/hicolor/scalable/actions/completion-snippet-symbolic.svg
similarity index 100%
rename from data/icons/hicolor/scalable/actions/result-codesnippet-symbolic.svg
rename to data/icons/hicolor/scalable/actions/completion-snippet-symbolic.svg
diff --git a/data/icons/hicolor/scalable/actions/result-word-symbolic.svg
b/data/icons/hicolor/scalable/actions/completion-word-symbolic.svg
similarity index 100%
rename from data/icons/hicolor/scalable/actions/result-word-symbolic.svg
rename to data/icons/hicolor/scalable/actions/completion-word-symbolic.svg
diff --git a/src/plugins/snippets/ide-snippet-completion-provider.c
b/src/plugins/snippets/ide-snippet-completion-provider.c
index 7f5a94d2c..b0615f851 100644
--- a/src/plugins/snippets/ide-snippet-completion-provider.c
+++ b/src/plugins/snippets/ide-snippet-completion-provider.c
@@ -187,9 +187,7 @@ ide_snippet_completion_provider_display_proposal (IdeCompletionProvider *provi
escaped = g_markup_escape_text (info->name, -1);
highlight = ide_completion_fuzzy_highlight (escaped, typed_text);
- /* TODO: have jimmac make us a real icon */
-
- ide_completion_list_box_row_set_icon_name (row, "ui-section-symbolic");
+ ide_completion_list_box_row_set_icon_name (row, "completion-snippet-symbolic");
ide_completion_list_box_row_set_left (row, NULL);
ide_completion_list_box_row_set_center_markup (row, highlight);
ide_completion_list_box_row_set_right (row, NULL);
diff --git a/src/plugins/words/gbp-word-completion-provider.c
b/src/plugins/words/gbp-word-completion-provider.c
index f87ba689d..3738ad1ee 100644
--- a/src/plugins/words/gbp-word-completion-provider.c
+++ b/src/plugins/words/gbp-word-completion-provider.c
@@ -172,7 +172,7 @@ gbp_word_completion_provider_display_proposal (IdeCompletionProvider *provider
word = gbp_word_proposal_get_word (GBP_WORD_PROPOSAL (proposal));
markup = ide_completion_fuzzy_highlight (word, typed_text);
- ide_completion_list_box_row_set_icon_name (row, NULL);
+ ide_completion_list_box_row_set_icon_name (row, "completion-word-symbolic");
ide_completion_list_box_row_set_left (row, NULL);
ide_completion_list_box_row_set_center_markup (row, markup);
ide_completion_list_box_row_set_right (row, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]