Mercurial > geeqie
comparison src/view_dir.h @ 783:d6a7fb4b8e7c
replaced directory path with FileData* dir_fd
author | nadvornik |
---|---|
date | Tue, 03 Jun 2008 19:44:19 +0000 |
parents | 93a1730e4641 |
children | ee33d2ddb661 |
comparison
equal
deleted
inserted
replaced
782:3f7a0420c293 | 783:d6a7fb4b8e7c |
---|---|
21 }; | 21 }; |
22 | 22 |
23 #define VIEW_DIR_TYPES_COUNT 2 | 23 #define VIEW_DIR_TYPES_COUNT 2 |
24 extern GtkRadioActionEntry menu_view_dir_radio_entries[VIEW_DIR_TYPES_COUNT]; | 24 extern GtkRadioActionEntry menu_view_dir_radio_entries[VIEW_DIR_TYPES_COUNT]; |
25 | 25 |
26 ViewDir *vd_new(DirViewType type, const gchar *path); | 26 ViewDir *vd_new(DirViewType type, FileData *dir_fd); |
27 | 27 |
28 void vd_set_select_func(ViewDir *vdl, void (*func)(ViewDir *vdl, const gchar *path, gpointer data), gpointer data); | 28 void vd_set_select_func(ViewDir *vdl, void (*func)(ViewDir *vdl, const gchar *path, gpointer data), gpointer data); |
29 | 29 |
30 void vd_set_layout(ViewDir *vdl, LayoutWindow *layout); | 30 void vd_set_layout(ViewDir *vdl, LayoutWindow *layout); |
31 | 31 |
32 gint vd_set_path(ViewDir *vdl, const gchar *path); | 32 gint vd_set_fd(ViewDir *vdl, FileData *dir_fd); |
33 void vd_refresh(ViewDir *vdl); | 33 void vd_refresh(ViewDir *vdl); |
34 gint vd_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter); | 34 gint vd_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter); |
35 | 35 |
36 const gchar *vd_row_get_path(ViewDir *vdl, gint row); | 36 const gchar *vd_row_get_path(ViewDir *vdl, gint row); |
37 | 37 |