[gnome-control-center] online-accounts: Add a remove button to the account dialog



commit 20216c09f94417b50e2537f8a91b0f9f4f4eda66
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Nov 10 12:07:08 2016 -0200

    online-accounts: Add a remove button to the account dialog
    
    After temporarily removing the ability to delete accounts in
    4e197b491fd9, let's start bringing it back again by adding a Remove
    Account button to the account editor dialog, as per the recent mockups.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774222

 panels/online-accounts/online-accounts.ui |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/panels/online-accounts/online-accounts.ui b/panels/online-accounts/online-accounts.ui
index 27ffb18..9ed7c1e 100644
--- a/panels/online-accounts/online-accounts.ui
+++ b/panels/online-accounts/online-accounts.ui
@@ -107,10 +107,31 @@
               </packing>
             </child>
             <child>
-              <object class="GtkBox" id="accounts_vbox">
+              <object class="GtkBox">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="margin">18</property>
+                <property name="spacing">24</property>
+                <property name="orientation">vertical</property>
+                <child>
+                  <object class="GtkBox" id="accounts_vbox">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="vexpand">True</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkButton" id="remove_account_button">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="valign">end</property>
+                    <property name="halign">end</property>
+                    <property name="label" translatable="yes">Remove Account</property>
+                    <style>
+                      <class name="destructive-action" />
+                    </style>
+                  </object>
+                </child>
               </object>
               <packing>
                 <property name="name">editor</property>


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