[gnome-software: 13/14] gs-details-page: Add list-button style to Cancel button




commit 5401797f1769cdf3601bac046d503201a8540817
Author: Philip Withnall <pwithnall endlessos org>
Date:   Fri Aug 13 10:21:12 2021 +0100

    gs-details-page: Add list-button style to Cancel button
    
    This makes it flatter, which [looks
    nicer](https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/910#note_1247639).
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Helps: #1351

 src/gs-details-page.ui | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 58adccc6e..fec5c9286 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -311,6 +311,9 @@
                                                 <property name="receives_default">True</property>
                                                 <property name="valign">center</property>
                                                 <signal name="clicked" 
handler="gs_details_page_app_cancel_button_cb"/>
+                                                <style>
+                                                  <class name="list-button"/>
+                                                </style>
                                               </object>
                                             </child>
                                             <child>


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