annotate src/view_dir_tree.h @ 1579:855d58cba862

French translation was updated.
author zas_
date Tue, 28 Apr 2009 21:40:00 +0000
parents 67b40740122e
children 94e4a47ccaff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
196
f6e307c7bad6 rename GQview -> Geeqie over the code
nadvornik
parents: 9
diff changeset
2 * Geeqie
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
1284
8b89e3ff286b Add year 2009 to copyright info everywhere.
zas_
parents: 1055
diff changeset
4 * Copyright (C) 2008 - 2009 The Geeqie Team
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13 #ifndef VIEW_DIR_TREE_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #define VIEW_DIR_TREE_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15
389
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
16 typedef struct _NodeData NodeData;
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
17 struct _NodeData
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
18 {
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
19 FileData *fd;
1452
67b40740122e gint -> gboolean where applicable.
zas_
parents: 1284
diff changeset
20 gboolean expanded;
389
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
21 time_t last_update;
907
ca8022a156ec added notification handler to view_dir
nadvornik
parents: 783
diff changeset
22 gint version;
389
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
23 };
b78077f65eff Merge few more vdlist/vdtree functions.
zas_
parents: 388
diff changeset
24
783
d6a7fb4b8e7c replaced directory path with FileData* dir_fd
nadvornik
parents: 475
diff changeset
25 ViewDir *vdtree_new(ViewDir *vd, FileData *dir_fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26
396
a01535f52b56 Merge few more functions to view_dir.c.
zas_
parents: 394
diff changeset
27 void vdtree_select_row(ViewDir *vd, FileData *fd);
a01535f52b56 Merge few more functions to view_dir.c.
zas_
parents: 394
diff changeset
28
1452
67b40740122e gint -> gboolean where applicable.
zas_
parents: 1284
diff changeset
29 gboolean vdtree_set_fd(ViewDir *vd, FileData *dir_fd);
384
392dd6541d51 Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents: 383
diff changeset
30 void vdtree_refresh(ViewDir *vd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31
384
392dd6541d51 Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents: 383
diff changeset
32 const gchar *vdtree_row_get_path(ViewDir *vd, gint row);
1452
67b40740122e gint -> gboolean where applicable.
zas_
parents: 1284
diff changeset
33 gboolean vdtree_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter, GtkTreeIter *parent);
67b40740122e gint -> gboolean where applicable.
zas_
parents: 1284
diff changeset
34 gboolean vdtree_populate_path_by_iter(ViewDir *vd, GtkTreeIter *iter, gboolean force, FileData *target_fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35
1452
67b40740122e gint -> gboolean where applicable.
zas_
parents: 1284
diff changeset
36 FileData *vdtree_populate_path(ViewDir *vd, FileData *target_fd, gboolean expand, gboolean force);
388
5186f8e38cb8 Make directory view popup menu common and move it to view_dir.{c,h}.
zas_
parents: 384
diff changeset
37 void vdtree_rename_by_data(ViewDir *vd, FileData *fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
38
1452
67b40740122e gint -> gboolean where applicable.
zas_
parents: 1284
diff changeset
39 gboolean vdtree_press_key_cb(GtkWidget *widget, GdkEventKey *event, gpointer data);
67b40740122e gint -> gboolean where applicable.
zas_
parents: 1284
diff changeset
40 gboolean vdtree_press_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data);
401
0a2e1b130a25 Add some wrappers in view_dir.c and simplify even more.
zas_
parents: 396
diff changeset
41
0a2e1b130a25 Add some wrappers in view_dir.c and simplify even more.
zas_
parents: 396
diff changeset
42 void vdtree_destroy_cb(GtkWidget *widget, gpointer data);
0a2e1b130a25 Add some wrappers in view_dir.c and simplify even more.
zas_
parents: 396
diff changeset
43
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
44 #endif
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 907
diff changeset
45 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */