[nautilus/wip/corey/fix-sort: 6/7] list-view: Add column to our hash table before appending to list
- From: Corey Berla <coreyberla src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/corey/fix-sort: 6/7] list-view: Add column to our hash table before appending to list
- Date: Tue, 27 Sep 2022 22:46:04 +0000 (UTC)
commit 84ad4947b616f4b09372b335fecf379ef8570ae8
Author: Corey Berla <corey berla me>
Date: Tue Sep 27 15:33:21 2022 -0700
list-view: Add column to our hash table before appending to list
If we don't have the column in the hash table, setup_xxx_cell()
may not be able to create the cell.
src/nautilus-list-view.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index 8c1f46cc1..62bbf63bf 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -1103,11 +1103,11 @@ setup_view_columns (NautilusListView *self)
g_signal_connect (factory, "setup", G_CALLBACK (setup_label_cell), self);
}
- gtk_column_view_append_column (self->view_ui, view_column);
-
g_hash_table_insert (self->factory_to_column_map,
factory,
g_object_ref (nautilus_column));
+
+ gtk_column_view_append_column (self->view_ui, view_column);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]