Mercurial > geeqie
annotate src/view_dir_list.h @ 1808:6c61c246506b
Fix a small issue with strptime
strptime do not initialize all fields. So the undefined fields could end
in crash later on.
author | mow |
---|---|
date | Sun, 28 Feb 2010 15:17:12 +0000 |
parents | 956aab097ea7 |
children |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
1802 | 4 * Copyright (C) 2008 - 2010 The Geeqie Team |
9 | 5 * |
6 * Author: John Ellis | |
7 * | |
8 * This software is released under the GNU General Public License (GNU GPL). | |
9 * Please read the included file COPYING for more information. | |
10 * This software comes with no warranty of any kind, use at your own risk! | |
11 */ | |
12 | |
13 #ifndef VIEW_DIR_LIST_H | |
14 #define VIEW_DIR_LIST_H | |
15 | |
16 | |
783 | 17 ViewDir *vdlist_new(ViewDir *vd, FileData *dir_fd); |
9 | 18 |
1452 | 19 gboolean vdlist_set_fd(ViewDir *vd, FileData *dir_fd); |
384
392dd6541d51
Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents:
383
diff
changeset
|
20 void vdlist_refresh(ViewDir *vd); |
9 | 21 |
384
392dd6541d51
Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents:
383
diff
changeset
|
22 const gchar *vdlist_row_get_path(ViewDir *vd, gint row); |
1452 | 23 gboolean vdlist_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter); |
9 | 24 |
388
5186f8e38cb8
Make directory view popup menu common and move it to view_dir.{c,h}.
zas_
parents:
384
diff
changeset
|
25 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
|
26 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
|
27 |
1452 | 28 gboolean vdlist_press_key_cb(GtkWidget *widget, GdkEventKey *event, gpointer data); |
29 gboolean vdlist_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
|
30 |
0a2e1b130a25
Add some wrappers in view_dir.c and simplify even more.
zas_
parents:
396
diff
changeset
|
31 void vdlist_destroy_cb(GtkWidget *widget, gpointer data); |
9 | 32 |
33 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
783
diff
changeset
|
34 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |