[gnome-builder] plugins/top-match: add icon for top-match completions



commit 4de6638c16a6c03d4d5a4aaa0caa8bd71b871372
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 6 17:06:45 2022 -0700

    plugins/top-match: add icon for top-match completions
    
    Using star-filled-symbolic, as suggested in
    https://gitlab.gnome.org/Teams/Design/icon-development-kit/-/issues/63

 data/icons/hicolor/scalable/actions/completion-top-match-symbolic.svg | 2 ++
 src/plugins/top-match/gbp-top-match-completion-provider.c             | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/data/icons/hicolor/scalable/actions/completion-top-match-symbolic.svg 
b/data/icons/hicolor/scalable/actions/completion-top-match-symbolic.svg
new file mode 100644
index 000000000..5b4d2cafa
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/completion-top-match-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 8 0 c 
-0.429688 0 -0.8125 0.273438 -0.949219 0.683594 l -1.449219 4.339844 l -4.589843 -0.015626 c -0.980469 
-0.003906 -1.382813 1.257813 -0.582031 1.820313 l 3.625 2.554687 l -1.5 4.285157 c -0.316407 0.902343 0.6875 
1.691406 1.492187 1.171875 l 4.003906 -2.59375 l 3.894531 2.585937 c 0.800782 0.53125 1.816407 -0.257812 1.5 
-1.160156 l -1.503906 -4.289063 l 3.644532 -2.578124 c 0.789062 -0.5625 0.394531 -1.808594 -0.574219 -1.8125 
l -4.660157 -0.015626 l -1.402343 -4.285156 c -0.132813 -0.410156 -0.515625 -0.68749975 -0.949219 -0.691406 z 
m 0 0" fill="#2e3436"/></svg>
diff --git a/src/plugins/top-match/gbp-top-match-completion-provider.c 
b/src/plugins/top-match/gbp-top-match-completion-provider.c
index 9867778b6..552cb7538 100644
--- a/src/plugins/top-match/gbp-top-match-completion-provider.c
+++ b/src/plugins/top-match/gbp-top-match-completion-provider.c
@@ -95,7 +95,7 @@ gbp_top_match_completion_provider_display (GtkSourceCompletionProvider *provider
   g_assert (GTK_SOURCE_IS_COMPLETION_CELL (cell));
 
   if (gtk_source_completion_cell_get_column (cell) == GTK_SOURCE_COMPLETION_COLUMN_ICON)
-    gtk_source_completion_cell_set_icon_name (cell, "edit-find-symbolic");
+    gtk_source_completion_cell_set_icon_name (cell, "completion-top-match-symbolic");
   else
     gtk_source_completion_provider_display (proposal->provider, context, proposal->proposal, cell);
 }


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