[gnome-contacts] LinkedAccountsDialog: Convert to GtkListBox



commit e09f7510e04742b0358fac8b584067b5e4b8c771
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Jun 12 11:29:50 2013 +0200

    LinkedAccountsDialog: Convert to GtkListBox
    
    Pretty trivial, although we need to change the CSS to get the
    white background.

 src/contacts-linked-accounts-dialog.vala |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/contacts-linked-accounts-dialog.vala b/src/contacts-linked-accounts-dialog.vala
index ebe8557..b3e120a 100644
--- a/src/contacts-linked-accounts-dialog.vala
+++ b/src/contacts-linked-accounts-dialog.vala
@@ -17,11 +17,12 @@
  */
 
 using Gtk;
+using LocalGtk;
 using Folks;
 
 public class Contacts.LinkedAccountsDialog : Dialog {
   Contact contact;
-  Egg.ListBox linked_accounts_view;
+  ListBox linked_accounts_view;
 
   public bool any_unlinked;
 
@@ -47,10 +48,10 @@ public class Contacts.LinkedAccountsDialog : Dialog {
     scrolled.set_vexpand (true);
     scrolled.set_shadow_type (ShadowType.NONE);
 
-    linked_accounts_view = new Egg.ListBox ();
+    linked_accounts_view = new ListBox ();
     linked_accounts_view.set_selection_mode (SelectionMode.NONE);
 
-    linked_accounts_view.add_to_scrolled (scrolled);
+    scrolled.add (linked_accounts_view);
     grid.add (scrolled);
 
     var label = new Label (_("You can manually link contacts from the contacts list"));


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