Mercurial > geeqie.yaz
annotate src/info.h @ 737:8a8873e7a552
Make shell command and its option rc file options instead of hardcoded strings.
This allows users to modify the shell command that execute "editors".
Two new options appear in rc file:
- shell.path (default to "/bin/sh")
- shell.options (default to "-c")
These options can only be changed from the rc file, not at runtime.
Tests are made to check that shell.path is not empty and lead to
an executable file.
author | zas_ |
---|---|
date | Thu, 22 May 2008 20:22:13 +0000 |
parents | 9f00d0d874fa |
children | ae618ebec3e9 |
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 | |
14 #ifndef INFO_H | |
15 #define INFO_H | |
16 | |
17 | |
18 typedef struct _InfoData InfoData; | |
19 struct _InfoData | |
20 { | |
21 GtkWidget *window; | |
479
5212d4fed37f
Ensure Properties dialog is displayed above fullscreen window.
zas_
parents:
475
diff
changeset
|
22 GtkWidget *parent; |
5212d4fed37f
Ensure Properties dialog is displayed above fullscreen window.
zas_
parents:
475
diff
changeset
|
23 |
9 | 24 ImageWindow *image; |
25 | |
26 GList *list; | |
27 | |
138 | 28 FileData *fd; |
9 | 29 |
30 GtkWidget *notebook; | |
31 GtkWidget *name_entry; | |
32 | |
33 GtkWidget *button_next; | |
34 GtkWidget *button_back; | |
35 GtkWidget *label_count; | |
36 | |
37 GList *tab_list; | |
38 | |
39 gint updated; | |
40 }; | |
41 | |
42 | |
479
5212d4fed37f
Ensure Properties dialog is displayed above fullscreen window.
zas_
parents:
475
diff
changeset
|
43 void info_window_new(FileData *fd, GList *list, GtkWidget *parent); |
9 | 44 |
45 GtkWidget *table_add_line(GtkWidget *table, gint x, gint y, | |
46 const gchar *description, const gchar *text); | |
47 | |
684 | 48 gchar *info_tab_default_order(void); |
9 | 49 |
50 #endif |