[gnome-control-center/wip/gbsneto/new-goa-panel: 13/25] online-accounts: add a remove button to the account dialog
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/gbsneto/new-goa-panel: 13/25] online-accounts: add a remove button to the account dialog
- Date: Sat, 26 Nov 2016 10:09:42 +0000 (UTC)
commit f7a7605f2b0b6a538ec7d20edc1c889ce4ad0436
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 efa03cfa57b,
lets 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 | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/panels/online-accounts/online-accounts.ui b/panels/online-accounts/online-accounts.ui
index 8b657b3..7371378 100644
--- a/panels/online-accounts/online-accounts.ui
+++ b/panels/online-accounts/online-accounts.ui
@@ -108,10 +108,32 @@
</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="vexpand">True</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkBox" id="accounts_vbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</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="vexpand">True</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]