Mercurial > geeqie.yaz
annotate src/view_dir_list.h @ 1149:c4fcf8001574
Implement preliminary support for XDG Base Directory Specification.
See http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html.
This feature was requested for a long time (feature requests #1950978 and #2289481).
For now, it is disabled since it breaks compatibility with previous versions.
To be able to test it, you have to enable it by defining USE_XDG to 1 in main.h.
geeqierc and other conf files are going to:
$XDG_CONFIG_HOME/geeqie/ (default to $HOME/.config/geeqie/).
metadata and thumbnails cache (if std is not used) are going to:
$XDG_CACHE_HOME/geeqie/metadata/ (default to $HOME/.cache/geeqie/metadata/)
and $XDG_CACHE_HOME/geeqie/thumbnails/ (default to $HOME/.cache/geeqie/thumbnails/)
collections are going to:
$XDG_DATA_HOME/geeqie/collections/ (default to $HOME/.local/share/geeqie/collections/)
Please test and report any issue.
author | zas_ |
---|---|
date | Sat, 15 Nov 2008 20:17:14 +0000 |
parents | 1646720364cf |
children | 8b89e3ff286b |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
475 | 4 * Copyright (C) 2008 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 |
396 | 19 void vdlist_select_row(ViewDir *vd, FileData *fd); |
20 | |
783 | 21 gint 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
|
22 void vdlist_refresh(ViewDir *vd); |
9 | 23 |
384
392dd6541d51
Merge parts of view_dir_list/tree constructors/destructors to
zas_
parents:
383
diff
changeset
|
24 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
|
25 gint vdlist_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter); |
9 | 26 |
388
5186f8e38cb8
Make directory view popup menu common and move it to view_dir.{c,h}.
zas_
parents:
384
diff
changeset
|
27 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
|
28 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
|
29 |
401
0a2e1b130a25
Add some wrappers in view_dir.c and simplify even more.
zas_
parents:
396
diff
changeset
|
30 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
|
31 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
|
32 |
0a2e1b130a25
Add some wrappers in view_dir.c and simplify even more.
zas_
parents:
396
diff
changeset
|
33 void vdlist_destroy_cb(GtkWidget *widget, gpointer data); |
9 | 34 |
35 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
783
diff
changeset
|
36 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |