Mercurial > geeqie
annotate src/ui_tabcomp.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 #ifndef UI_TABCOMP_H | |
14 #define UI_TABCOMP_H | |
15 | |
16 | |
17 GtkWidget *tab_completion_new_with_history(GtkWidget **entry, const gchar *text, | |
18 const gchar *history_key, gint max_levels, | |
19 void (*enter_func)(const gchar *, gpointer), gpointer data); | |
20 const gchar *tab_completion_set_to_last_history(GtkWidget *entry); | |
21 void tab_completion_append_to_history(GtkWidget *entry, const gchar *path); | |
22 | |
23 GtkWidget *tab_completion_new(GtkWidget **entry, const gchar *text, | |
24 void (*enter_func)(const gchar *, gpointer), gpointer data); | |
25 void tab_completion_add_to_entry(GtkWidget *entry, void (*enter_func)(const gchar *, gpointer), gpointer data); | |
26 void tab_completion_add_tab_func(GtkWidget *entry, void (*tab_func)(const gchar *, gpointer), gpointer data); | |
27 gchar *remove_trailing_slash(const gchar *path); | |
28 | |
1448 | 29 void tab_completion_add_select_button(GtkWidget *entry, const gchar *title, gboolean folders_only); |
1167
e812b1a7adda
Add a back button in the toolbar: it allows to go back and forth between two directories. Experimental, please test and comment on ml.
zas_
parents:
1055
diff
changeset
|
30 void tab_completion_add_append_func(GtkWidget *entry, void (*tab_append_func)(const gchar *, gpointer, gint), gpointer data); |
9 | 31 |
32 | |
33 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
475
diff
changeset
|
34 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |