[libadwaita/wip/exalm/more-fixes: 2/3] expander-row: Don't set can-focus=true




commit a1174fdf1458752e1ba3a127fe4995fd2f80c669
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Oct 12 16:26:39 2021 +0500

    expander-row: Don't set can-focus=true
    
    That's the default. Remove outdated comments as well.

 src/adw-expander-row.ui | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/src/adw-expander-row.ui b/src/adw-expander-row.ui
index 7abc759f..58fe456b 100644
--- a/src/adw-expander-row.ui
+++ b/src/adw-expander-row.ui
@@ -2,15 +2,7 @@
 <interface domain="libadwaita">
   <requires lib="gtk" version="4.0"/>
   <template class="AdwExpanderRow" parent="AdwPreferencesRow">
-    <!-- The row must not be activatable, to be sure it doesn't conflict with
-         clicking nested rows. -->
     <property name="activatable">False</property>
-    <!-- The row must be focusable for keyboard navigation to work as
-         expected. -->
-    <property name="can-focus">True</property>
-    <!-- The row is focusable and can still be activated via keyboard, despite
-         being marked as inactivatable. Activating the row should toggle its
-         expansion. -->
     <signal name="activate" handler="activate_cb" after="yes"/>
     <style>
       <class name="empty"/>


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