Mercurial > geeqie
annotate src/view_dir_list.h @ 419:ce5316d2e2d0
Cleanup last patch:
- drop vd_pop_menu_dir_view_as_cb() since it is now unused.
- use G_N_ELEMENTS()
author | zas_ |
---|---|
date | Sat, 19 Apr 2008 11:11:53 +0000 |
parents | 0a2e1b130a25 |
children | ddabc4873a3f |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
4 * | |
5 * Author: John Ellis | |
6 * | |
7 * This software is released under the GNU General Public License (GNU GPL). | |
8 * Please read the included file COPYING for more information. | |
9 * This software comes with no warranty of any kind, use at your own risk! | |
10 */ | |
11 | |
12 #ifndef VIEW_DIR_LIST_H | |
13 #define VIEW_DIR_LIST_H | |
14 | |
15 | |
384
392dd6541d51
Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents:
383
diff
changeset
|
16 ViewDir *vdlist_new(ViewDir *vd, const gchar *path); |
9 | 17 |
396 | 18 void vdlist_select_row(ViewDir *vd, FileData *fd); |
19 | |
384
392dd6541d51
Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents:
383
diff
changeset
|
20 gint vdlist_set_path(ViewDir *vd, const gchar *path); |
392dd6541d51
Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents:
383
diff
changeset
|
21 void vdlist_refresh(ViewDir *vd); |
9 | 22 |
384
392dd6541d51
Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents:
383
diff
changeset
|
23 const gchar *vdlist_row_get_path(ViewDir *vd, gint row); |
383
499d7ba62261
Move some dnd common code from view_dir_list.c and view_dir_tree.c
zas_
parents:
380
diff
changeset
|
24 gint vdlist_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter); |
9 | 25 |
388
5186f8e38cb8
Make directory view popup menu common and move it to view_dir.{c,h}.
zas_
parents:
384
diff
changeset
|
26 void vdlist_rename_by_row(ViewDir *vd, FileData *fd); |
5186f8e38cb8
Make directory view popup menu common and move it to view_dir.{c,h}.
zas_
parents:
384
diff
changeset
|
27 FileData *vdlist_row_by_path(ViewDir *vd, const gchar *path, gint *row); |
5186f8e38cb8
Make directory view popup menu common and move it to view_dir.{c,h}.
zas_
parents:
384
diff
changeset
|
28 |
401
0a2e1b130a25
Add some wrappers in view_dir.c and simplify even more.
zas_
parents:
396
diff
changeset
|
29 gint vdlist_press_key_cb(GtkWidget *widget, GdkEventKey *event, gpointer data); |
0a2e1b130a25
Add some wrappers in view_dir.c and simplify even more.
zas_
parents:
396
diff
changeset
|
30 gint vdlist_press_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data); |
0a2e1b130a25
Add some wrappers in view_dir.c and simplify even more.
zas_
parents:
396
diff
changeset
|
31 |
0a2e1b130a25
Add some wrappers in view_dir.c and simplify even more.
zas_
parents:
396
diff
changeset
|
32 void vdlist_destroy_cb(GtkWidget *widget, gpointer data); |
9 | 33 |
34 #endif | |
35 | |
36 |