Author: peter Date: 2007-01-25 17:51:02 +0000 (Thu, 25 Jan 2007) New Revision: 24752
Modified: squeeze/trunk/src/archive_store.c Log: gtk_tree_view_unref_tree_helper crit dirty fix Modified: squeeze/trunk/src/archive_store.c =================================================================== --- squeeze/trunk/src/archive_store.c 2007-01-25 15:08:07 UTC (rev 24751) +++ squeeze/trunk/src/archive_store.c 2007-01-25 17:51:02 UTC (rev 24752) @@ -1023,6 +1023,9 @@ if(index == -1) { + /* FIXME */ + gtk_tree_view_set_model(store->treeview, NULL); + current_entry = g_slist_copy(current_entry->next); entry = current_entry->data; sq_archive_store_append_history(store, current_entry); @@ -1048,6 +1051,9 @@ return; } + /* FIXME */ + gtk_tree_view_set_model(store->treeview, NULL); + current_entry = g_slist_prepend(g_slist_copy(current_entry), entry); sq_archive_store_append_history(store, current_entry); } @@ -1076,6 +1082,9 @@ g_return_if_fail(((GSList*)store->navigation.present->data)->next); + /* FIXME */ + gtk_tree_view_set_model(store->treeview, NULL); + current_entry = g_slist_copy(current_entry->next); sq_archive_store_append_history(store, current_entry); @@ -1102,6 +1111,9 @@ store->sort_list = NULL; } + /* FIXME */ + gtk_tree_view_set_model(store->treeview, NULL); + if(store->archive) { g_signal_handlers_disconnect_by_func(store->archive, cb_sq_archive_store_archive_refreshed, store); @@ -1290,6 +1302,9 @@ if(!stack->next || lsq_archive_iter_is_directory(store->archive, (LSQArchiveIter *)stack->data)) { + /* FIXME */ + gtk_tree_view_set_model(store->treeview, NULL); + sq_archive_store_append_history(store, stack); sq_archive_store_sort(store); @@ -1426,6 +1441,9 @@ g_return_if_fail(archive); g_return_if_fail(entry); + /* FIXME */ + gtk_tree_view_set_model(store->treeview, NULL); + if(sq_archive_store_has_history(store)) store->navigation.present = store->navigation.present->prev; @@ -1452,6 +1470,9 @@ g_return_if_fail(archive); g_return_if_fail(entry); + /* FIXME */ + gtk_tree_view_set_model(store->treeview, NULL); + if(sq_archive_store_has_future(store)) store->navigation.present = store->navigation.present->next; @@ -1582,6 +1603,9 @@ { if(!store->navigation.present) { + /* FIXME */ + gtk_tree_view_set_model(store->treeview, NULL); + sq_archive_store_append_history(store, g_slist_prepend(NULL, lsq_archive_get_iter(archive, NULL))); g_signal_emit(store, sq_archive_store_signals[SQ_ARCHIVE_STORE_SIGNAL_PWD_CHANGED], 0,NULL); } @@ -1654,6 +1678,9 @@ g_list_free(store->navigation.history); + /* FIXME */ + gtk_tree_view_set_model(store->treeview, NULL); + store->navigation.history = NULL; store->navigation.present = NULL; store->navigation.trailing = NULL; _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits