[gnome-contacts/wip/cdavis/hdy-style-updates: 4/6] accounts-list: Use libhandy list styling




commit 905f6f59b1222f27e4d146d569efbca77929b0a9
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]