Mercurial > geeqie
annotate src/ui_bookmark.h @ 1811:f405ec9b696b default tip
Some small logic mistakes
Use boolean operators for booleans and bitwise otherwise only.
| author | mow |
|---|---|
| date | Mon, 10 May 2010 11:33:13 +0000 |
| parents | 956aab097ea7 |
| children |
| rev | line source |
|---|---|
| 9 | 1 /* |
| 2 * (SLIK) SimpLIstic sKin functions | |
| 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 | |
| 14 #ifndef UI_BOOKMARK_H | |
| 15 #define UI_BOOKMARK_H | |
| 16 | |
| 17 | |
| 18 /* bookmarks */ | |
| 19 | |
| 20 GtkWidget *bookmark_list_new(const gchar *key, | |
| 21 void (*select_func)(const gchar *path, gpointer data), gpointer select_data); | |
| 22 void bookmark_list_set_key(GtkWidget *list, const gchar *key); | |
| 23 void bookmark_list_set_no_defaults(GtkWidget *list, gint no_defaults); | |
| 24 void bookmark_list_set_editable(GtkWidget *list, gint editable); | |
|
521
57007e49d767
Do not allow to add anything but directories to sort bar in
zas_
parents:
475
diff
changeset
|
25 void bookmark_list_set_only_directories(GtkWidget *list, gint only_directories); |
| 9 | 26 void bookmark_list_add(GtkWidget *list, const gchar *name, const gchar *path); |
| 27 | |
| 28 /* allows apps to set up the defaults */ | |
| 29 void bookmark_add_default(const gchar *name, const gchar *path); | |
| 30 | |
| 31 | |
| 32 /* history combo entry */ | |
| 33 | |
| 34 GtkWidget *history_combo_new(GtkWidget **entry, const gchar *text, | |
| 35 const gchar *history_key, gint max_levels); | |
| 36 void history_combo_append_history(GtkWidget *widget, const gchar *text); | |
| 37 | |
| 38 | |
| 39 | |
| 40 #endif | |
|
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
904
diff
changeset
|
41 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |
