summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Stachowiak <mstachow@src.gnome.org>2000-08-03 08:46:24 +0000
committerMaciej Stachowiak <mstachow@src.gnome.org>2000-08-03 08:46:24 +0000
commit2c40979f8ba33867b55438b645d0945364f106be (patch)
treefd3aca0954ffd41f9c68f52ab783e3d7437b9ed4
parenta7f4e526831e6b11d380925bf48bb30d55346bd3 (diff)
downloadnautilus-pre-mjs-demo-bugfixes.tar.gz
Forgot to check this in.pre-mjs-demo-bugfixes
* components/tree/nautilus-tree-node-private.h: Forgot to check this in.
-rw-r--r--ChangeLog7
-rw-r--r--components/tree/nautilus-tree-node-private.h59
2 files changed, 65 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 521913cca..7e8023eb9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
2000-08-03 Maciej Stachowiak <mjs@eazel.com>
+ * components/tree/nautilus-tree-node-private.h: Forgot to check
+ this in.
+
+2000-08-03 Maciej Stachowiak <mjs@eazel.com>
+
Rewrote the tree view to do model/view separation, and in the
- process fixed bugs 1520, 1526, 1529, 1531 and 1522. Some of these
+ process fixed bugs 1519, 1520, 1526, 1529, 1531 and 1522. Some of these
are not for the current milestone, but just fell out naturally
from doing the model/view separation, which makes the remaining
required tasks far easier.
diff --git a/components/tree/nautilus-tree-node-private.h b/components/tree/nautilus-tree-node-private.h
new file mode 100644
index 000000000..b3b40da6c
--- /dev/null
+++ b/components/tree/nautilus-tree-node-private.h
@@ -0,0 +1,59 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+
+/*
+ * Copyright (C) 2000 Eazel, Inc
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: Maciej Stachowiak <mjs@eazel.com>
+ */
+
+/* nautilus-tree-node-private.h - Private header shared between tree
+ node and model. */
+
+
+#ifndef NAUTILUS_TREE_NODE_PRIVATE_H
+#define NAUTILUS_TREE_NODE_PRIVATE_H
+
+#include "nautilus-tree-node.h"
+
+struct NautilusTreeNodeDetails {
+ NautilusFile *file;
+ NautilusDirectory *directory;
+
+ guint files_added_id;
+ guint files_changed_id;
+ guint done_loading_id;
+
+ GList *monitor_clients;
+
+ NautilusTreeNode *parent;
+ GList *children;
+ GList *provisional_children;
+};
+
+NautilusTreeNode *nautilus_tree_node_new (NautilusFile *file);
+
+void nautilus_tree_node_set_parent (NautilusTreeNode *node,
+ NautilusTreeNode *parent);
+
+void nautilus_tree_remove_from_parent (NautilusTreeNode *node);
+
+
+#endif /* NAUTILUS_TREE_NODE_PRIVATE_H */
+
+
+