[gnome-software/uajain/ui-fixes: 2/4] details-page: Add/Remove shortcut buttons should be of GtkButton widget type



commit 3ff0d0f0f31066fcd304f2c85b11ce67460727d0
Author: Umang Jain <umang endlessm com>
Date:   Wed Jul 31 17:25:45 2019 +0530

    details-page: Add/Remove shortcut buttons should be of GtkButton widget type
    
    Currently, they are of GtkLinkButton type which is basically against the
    design. They should be of GtkButton widget type.
    
    This was fixed downstream in Endless longtime ago but never upstreamed.
    
    https://phabricator.endlessm.com/T27332

 src/gs-details-page.ui | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 36b956bd..fe959a2a 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -262,7 +262,7 @@
                               </packing>
                             </child>
                             <child>
-                              <object class="GtkLinkButton" id="button_details_add_shortcut">
+                              <object class="GtkButton" id="button_details_add_shortcut">
                                 <property name="visible">False</property>
                                 <property name="can_focus">True</property>
                                 <property name="use_underline">True</property>
@@ -273,7 +273,7 @@
                               </packing>
                             </child>
                             <child>
-                              <object class="GtkLinkButton" id="button_details_remove_shortcut">
+                              <object class="GtkButton" id="button_details_remove_shortcut">
                                 <property name="visible">False</property>
                                 <property name="can_focus">True</property>
                                 <property name="use_underline">True</property>


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