[gnome-initial-setup/wip/pwithnall/misc-fixes: 52/70] account: Add 'suggested-action' style to photo button




commit f926adfd13130647f179e352bbc0414814715c85
Author: Philip Chimento <philip endlessm com>
Date:   Mon Aug 5 17:46:42 2019 -0700

    account: Add 'suggested-action' style to photo button
    
    Requested in a design review by Robin, this makes the photo button jump
    out more in order to encourage people to take a photo for their avatar.
    
    Upstream: https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/merge_requests/97
    
    https://phabricator.endlessm.com/T27460

 gnome-initial-setup/pages/account/gis-account-avatar-chooser.ui | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gnome-initial-setup/pages/account/gis-account-avatar-chooser.ui 
b/gnome-initial-setup/pages/account/gis-account-avatar-chooser.ui
index 871470be..c6679b86 100644
--- a/gnome-initial-setup/pages/account/gis-account-avatar-chooser.ui
+++ b/gnome-initial-setup/pages/account/gis-account-avatar-chooser.ui
@@ -35,6 +35,9 @@
                 <property name="visible">False</property>
                 <property name="label" translatable="yes">Take a Picture…</property>
                 <signal name="clicked" handler="webcam_icon_selected" swapped="yes"/>
+                <style>
+                  <class name="suggested-action"/>
+                </style>
               </object>
             </child>
           </object>


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