diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2017-12-26 11:05:15 +0100 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2017-12-26 11:05:15 +0100 |
commit | 06d81ae49daf126e5108545ce5b8c3e370c1b1f5 (patch) | |
tree | fe579506e6c883771022736bf4f78723c9ec3a56 /data | |
parent | 256c757616c3b46af925e26ac7f14f2cc373290b (diff) | |
download | gnome-contacts-06d81ae49daf126e5108545ce5b8c3e370c1b1f5.tar.gz |
Improve Contacts setup UI a bit.
See [bug 761929](https://bugzilla.gnome.org/show_bug.cgi?id=761929).
Diffstat (limited to 'data')
-rw-r--r-- | data/ui/contacts-accounts-list.ui | 3 | ||||
-rw-r--r-- | data/ui/contacts-window.ui | 38 |
2 files changed, 27 insertions, 14 deletions
diff --git a/data/ui/contacts-accounts-list.ui b/data/ui/contacts-accounts-list.ui index 5b6152c..fa5b02f 100644 --- a/data/ui/contacts-accounts-list.ui +++ b/data/ui/contacts-accounts-list.ui @@ -5,6 +5,7 @@ <property name="visible">True</property> <property name="orientation">vertical</property> <property name="spacing">12</property> + <property name="width_request">420</property> <child> <object class="GtkScrolledWindow" id="scrolled"> <property name="visible">True</property> @@ -31,7 +32,7 @@ <child> <object class="GtkLabel"> <property name="visible">True</property> - <property name="label" translatable="yes">Online Accounts</property> + <property name="label" translatable="yes">Online Accounts Settings</property> <property name="margin_start">6</property> <property name="margin_end">6</property> <property name="margin_top">3</property> diff --git a/data/ui/contacts-window.ui b/data/ui/contacts-window.ui index 5b24b36..a2bd487 100644 --- a/data/ui/contacts-window.ui +++ b/data/ui/contacts-window.ui @@ -100,22 +100,36 @@ <child> <object class="GtkGrid" id="setup_view"> <property name="visible">True</property> + <property name="valign">center</property> <property name="border_width">12</property> <property name="row_spacing">24</property> <property name="orientation">vertical</property> <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="halign">center</property> + <property name="label" translatable="yes">Welcome</property> + <attributes> + <attribute name="scale" value="3.5"/> + <!-- <attribute name="weight" value="bold"/> --> + </attributes> + </object> + <packing> + <property name="top_attach">0</property> + <property name="left_attach">0</property> + </packing> + </child> + <child> <object class="GtkLabel" id="setup_explanation_label"> <property name="visible">True</property> <property name="halign">center</property> <property name="wrap">True</property> - <property name="max_width_chars">25</property> - <property name="label" translatable="yes">New contacts will be added to the selected address book. You are able to view and edit contacts from other address books.</property> + <property name="max_width_chars">50</property> + <property name="label" translatable="yes">Please select your main address book: this is where new contacts will be added. If you keep your contacts in an online account, you can add them using the online accounts settings.</property> </object> <packing> + <property name="top_attach">1</property> <property name="left_attach">0</property> - <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> </packing> </child> </object> @@ -273,24 +287,22 @@ <object class="GtkHeaderBar" id="setup_header_bar"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="title" translatable="yes">Select Address Book</property> + <property name="title" translatable="yes">Contacts Setup</property> <property name="show_close_button">False</property> <style> <class name="titlebar"/> </style> <child> - <object class="GtkButton" id="setup_cancel_button"> + <object class="GtkButton" id="setup_quit_button"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">Cancel</property> + <property name="label" translatable="yes">Quit</property> + <property name="action_name" translatable="yes">app.quit</property> <child internal-child="accessible"> - <object class="AtkObject" id="setup_cancel_button_atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Cancel setup</property> + <object class="AtkObject" id="setup_quit_button_atkobject"> + <property name="AtkObject::accessible-name" translatable="yes">Cancel setup and quit</property> </object> </child> - <style> - <class name="text-button"/> - </style> </object> <packing> <property name="pack_type">start</property> |