[gnome-software/mwleeds/fix-addons-selectability] Make add-on rows not selectable




commit 65ae59e102e280b0acab47bee9c31bad9a71bc9d
Author: Phaedrus Leeds <mwleeds endlessos org>
Date:   Thu Feb 18 17:25:12 2021 -0800

    Make add-on rows not selectable
    
    As with version history rows, clicking on an add-on row doesn't do anything, so
    it shouldn't change color when you hover over it with your cursor.

 src/gs-app-addon-row.ui | 2 ++
 src/gs-details-page.ui  | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gs-app-addon-row.ui b/src/gs-app-addon-row.ui
index 1649ba5a6..2f0d9e6b1 100644
--- a/src/gs-app-addon-row.ui
+++ b/src/gs-app-addon-row.ui
@@ -3,6 +3,8 @@
   <!-- interface-requires gtk+ 3.10 -->
   <template class="GsAppAddonRow" parent="GtkListBoxRow">
     <property name="visible">True</property>
+    <property name="selectable">False</property>
+    <property name="activatable">False</property>
     <child>
       <object class="GtkBox" id="box">
         <property name="visible">True</property>
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 10687f236..2445c33af 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -433,7 +433,6 @@
                                 <child>
                                   <object class="GtkListBox" id="list_box_addons">
                                     <property name="visible">True</property>
-                                    <property name="can_focus">True</property>
                                     <property name="selection_mode">none</property>
                                     <style>
                                       <class name="content"/>


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