Mercurial > geeqie.yaz
annotate src/history_list.h @ 1199:404168a124aa
Display error dialog with appropriate message when user is trying to open an invalid collection file.
author | zas_ |
---|---|
date | Mon, 08 Dec 2008 21:34:32 +0000 |
parents | 1646720364cf |
children | 8b89e3ff286b |
rev | line source |
---|---|
902 | 1 /* |
2 * Geeqie | |
3 * Copyright (C) 2008 The Geeqie Team | |
4 * | |
5 * Author: John Ellis, Vladimir Nadvornik, Laurent Monin | |
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 HISTORY_LIST_H | |
13 #define HISTORY_LIST_H | |
14 | |
15 /* history lists */ | |
16 | |
17 gint history_list_load(const gchar *path); | |
18 gint history_list_save(const gchar *path); | |
19 | |
20 void history_list_free_key(const gchar *key); | |
21 | |
22 void history_list_add_to_key(const gchar *key, const gchar *path, gint max); | |
23 | |
24 void history_list_item_change(const gchar *key, const gchar *oldpath, const gchar *newpath); | |
25 void history_list_item_move(const gchar *key, const gchar *path, gint direction); | |
26 void history_list_item_remove(const gchar *key, const gchar *path); | |
27 | |
1000
4fe8f9656107
For the sake of consistency, use glib basic types everywhere.
zas_
parents:
902
diff
changeset
|
28 const gchar *history_list_find_last_path_by_key(const gchar *key); |
902 | 29 |
30 /* the returned GList is internal, don't free it */ | |
31 GList *history_list_get_by_key(const gchar *key); | |
32 | |
33 | |
34 #endif /* HISTORY_LIST_H */ | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
1000
diff
changeset
|
35 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |