aboutsummaryrefslogtreecommitdiff
path: root/src/ui/contacts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/contacts.c')
-rw-r--r--src/ui/contacts.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/contacts.c b/src/ui/contacts.c
index fac9e62..3969446 100644
--- a/src/ui/contacts.c
+++ b/src/ui/contacts.c
@@ -104,7 +104,7 @@ _iterate_contacts(void *cls,
104 104
105 const char *key = GNUNET_CHAT_contact_get_key(contact); 105 const char *key = GNUNET_CHAT_contact_get_key(contact);
106 106
107 UI_CONTACT_ENTRY_Handle *entry = ui_contact_entry_new(); 107 UI_CONTACT_ENTRY_Handle *entry = ui_contact_entry_new(app);
108 gtk_list_box_prepend( 108 gtk_list_box_prepend(
109 app->ui.contacts.contacts_listbox, 109 app->ui.contacts.contacts_listbox,
110 entry->entry_box 110 entry->entry_box
@@ -139,7 +139,9 @@ ui_contacts_dialog_init(MESSENGER_Application *app,
139{ 139{
140 handle->contact_entries = NULL; 140 handle->contact_entries = NULL;
141 141
142 handle->builder = gtk_builder_new_from_file("resources/ui/contacts.ui"); 142 handle->builder = gtk_builder_new_from_resource(
143 application_get_resource_path(app, "ui/contacts.ui")
144 );
143 145
144 handle->dialog = GTK_DIALOG( 146 handle->dialog = GTK_DIALOG(
145 gtk_builder_get_object(handle->builder, "contacts_dialog") 147 gtk_builder_get_object(handle->builder, "contacts_dialog")