[gnome-contacts/wip/cdavis/hdy-style-updates: 2/3] accounts-list: Use libhandy list styling
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/wip/cdavis/hdy-style-updates: 2/3] accounts-list: Use libhandy list styling
- Date: Sat, 6 Feb 2021 05:55:42 +0000 (UTC)
commit dfd61c83cffa83bde76a67ece5e2eaf825aec645
Author: Christopher Davis <brainblasted disroot org>
Date: Fri Feb 5 21:41:39 2021 -0800
accounts-list: Use libhandy list styling
For consistency among apps, we should use libhandy
for rounded lists with separators.
data/ui/contacts-accounts-list.ui | 2 +-
src/contacts-accounts-list.vala | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/data/ui/contacts-accounts-list.ui b/data/ui/contacts-accounts-list.ui
index 555d7914..d08d297e 100644
--- a/data/ui/contacts-accounts-list.ui
+++ b/data/ui/contacts-accounts-list.ui
@@ -5,7 +5,7 @@
<property name="visible">True</property>
<property name="selection_mode">none</property>
<style>
- <class name="frame"/>
+ <class name="content"/>
</style>
</template>
</interface>
diff --git a/src/contacts-accounts-list.vala b/src/contacts-accounts-list.vala
index 4c9a0f64..9690e917 100644
--- a/src/contacts-accounts-list.vala
+++ b/src/contacts-accounts-list.vala
@@ -30,8 +30,6 @@ public class Contacts.AccountsList : Gtk.ListBox {
public AccountsList (Store contacts_store) {
this.contacts_store = contacts_store;
this.selected_store = null;
-
- this.set_header_func (add_separator);
}
public override void row_activated (Gtk.ListBoxRow row) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]