[gnome-builder] libide/gui: display accelerator on search result row



commit 273ecf751b212e1aee386ecf7122dff64ffd2bfd
Author: Christian Hergert <chergert redhat com>
Date:   Tue Oct 4 20:34:48 2022 -0700

    libide/gui: display accelerator on search result row

 src/libide/gui/ide-search-popover.ui | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/src/libide/gui/ide-search-popover.ui b/src/libide/gui/ide-search-popover.ui
index ffc30055e..8a5a12594 100644
--- a/src/libide/gui/ide-search-popover.ui
+++ b/src/libide/gui/ide-search-popover.ui
@@ -95,6 +95,15 @@
             </binding>
           </object>
         </child>
+        <child>
+          <object class="GtkShortcutLabel">
+            <binding name="accelerator">
+              <lookup name="accelerator" type="IdeSearchResult">
+                <lookup name="item">GtkListItem</lookup>
+              </lookup>
+            </binding>
+          </object>
+        </child>
       </object>
     </child>
     <child>


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