[gnome-software: 107/110] Mark various list box rows as not focusable




commit 17cf4e390fce51121c04cfdc78a43d06f407f370
Author: Philip Withnall <pwithnall endlessos org>
Date:   Mon Oct 4 15:30:08 2021 +0100

    Mark various list box rows as not focusable
    
    This means they get skipped over when tab-navigating through the UI.
    These rows are not interactive.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 src/gs-app-version-history-row.ui | 1 +
 src/gs-context-dialog-row.ui      | 1 +
 src/gs-license-tile.ui            | 1 +
 src/gs-safety-context-dialog.ui   | 3 +++
 4 files changed, 6 insertions(+)
---
diff --git a/src/gs-app-version-history-row.ui b/src/gs-app-version-history-row.ui
index c37ed6d72..ba2a4baa6 100644
--- a/src/gs-app-version-history-row.ui
+++ b/src/gs-app-version-history-row.ui
@@ -5,6 +5,7 @@
     <property name="visible">True</property>
     <property name="selectable">False</property>
     <property name="activatable">False</property>
+    <property name="focusable">False</property>
     <child>
       <object class="GtkBox">
         <property name="visible">True</property>
diff --git a/src/gs-context-dialog-row.ui b/src/gs-context-dialog-row.ui
index 70e5db396..a4b32997d 100644
--- a/src/gs-context-dialog-row.ui
+++ b/src/gs-context-dialog-row.ui
@@ -4,6 +4,7 @@
   <template class="GsContextDialogRow" parent="GtkListBoxRow">
     <property name="visible">True</property>
     <property name="activatable">False</property>
+    <property name="focusable">False</property>
 
     <child>
       <object class="GtkBox">
diff --git a/src/gs-license-tile.ui b/src/gs-license-tile.ui
index 61cebe1e4..026e3b04d 100644
--- a/src/gs-license-tile.ui
+++ b/src/gs-license-tile.ui
@@ -14,6 +14,7 @@
         <child>
           <object class="GtkListBoxRow">
             <property name="activatable">False</property>
+            <property name="focusable">False</property>
             <property name="visible">True</property>
             <child>
               <object class="GtkBox">
diff --git a/src/gs-safety-context-dialog.ui b/src/gs-safety-context-dialog.ui
index e207dd4c1..f8703cc11 100644
--- a/src/gs-safety-context-dialog.ui
+++ b/src/gs-safety-context-dialog.ui
@@ -104,6 +104,7 @@
                           <object class="GtkListBoxRow">
                             <property name="visible">True</property>
                             <property name="activatable">False</property>
+                            <property name="focusable">False</property>
                             <child>
                               <object class="GtkBox">
                                 <property name="visible">True</property>
@@ -147,6 +148,7 @@
                           <object class="GtkListBoxRow">
                             <property name="visible">True</property>
                             <property name="activatable">False</property>
+                            <property name="focusable">False</property>
                             <child>
                               <object class="GtkBox">
                                 <property name="margin-top">12</property>
@@ -190,6 +192,7 @@
                           <object class="GtkListBoxRow" id="sdk_row">
                             <property name="visible">True</property>
                             <property name="activatable">False</property>
+                            <property name="focusable">False</property>
                             <child>
                               <object class="GtkBox">
                                 <property name="margin-top">12</property>


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