[gnome-builder/wip/gtk4-port: 1469/1774] plugins/shellcmd: play around with alternate idea




commit 546afecc5bd33f66e3ed1e6173da6b00a1ae6c52
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jun 10 19:53:39 2022 -0700

    plugins/shellcmd: play around with alternate idea
    
    This is all just an expiriment right now, but this might look closer to
    what control-center does.

 src/plugins/shellcmd/gbp-shellcmd-list.ui | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/shellcmd/gbp-shellcmd-list.ui b/src/plugins/shellcmd/gbp-shellcmd-list.ui
index 1d8e5c738..a7aeab8d2 100644
--- a/src/plugins/shellcmd/gbp-shellcmd-list.ui
+++ b/src/plugins/shellcmd/gbp-shellcmd-list.ui
@@ -8,13 +8,19 @@
             <property name="name">empty</property>
             <property name="child">
               <object class="GtkListBox">
+                <property name="selection-mode">none</property>
                 <style>
                   <class name="boxed-list"/>
                 </style>
                 <child>
                   <object class="AdwActionRow">
-                    <property name="title" translatable="yes">No Commands</property>
-                    <property name="sensitive">false</property>
+                    <property name="title" translatable="yes">Create Run Command</property>
+                    <property name="subtitle" translatable="yes">A run command is used to run your project 
and can be connected to tools like gdb or valgrind.</property>
+                    <child type="suffix">
+                      <object class="GtkImage">
+                        <property name="icon-name">go-next-symbolic</property>
+                      </object>
+                    </child>
                   </object>
                 </child>
               </object>


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