summaryrefslogtreecommitdiff
path: root/saedit/treefolderview/treefolderviewprivate.h
blob: 01119fc8400db334f665ed45c00778a0392c7f96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef __TREE_FOLDER_VIEW_PRIVATE_H__
#define __TREE_FOLDER_VIEW_PRIVATE_H__

enum {
	PROP_0,
	PROP_FILTER,
	PROP_FILENAME,
	PROP_MODEL,
	PROP_COUNT
};

static GtkTreeStore *
tree_folder_view_get_store (TreeFolderView *tfview);

static gchar *
tree_folder_view_get_file_path_from_tree_path (
	TreeFolderView *tfview,
	GtkTreePath *path
);

static gchar *
tree_folder_view_get_file_path_from_iter (
	TreeFolderView *tfview,
	GtkTreeIter *file_iter
);

static void
tree_store_append_file_children (
	GtkTreeStore *store,
	GtkTreeIter *iter,
	const gchar *path,
	gboolean expanded
);

static gint
tree_store_append_file_recursive (
	GtkTreeStore *store,
	GtkTreeIter *parent_iter,
	const gchar *path,
	const gchar *display_name,
	gboolean append_children
);

#endif