annotate src/layout_util.h @ 1686:59c72fd324ce

fixes for a built without Exiv2 don't try to access XMP metadata if not compiled with Exiv2 some metadata options are valid without Exiv2, do not disable them
author nadvornik
date Tue, 30 Jun 2009 20:12:28 +0000
parents 5d54bc073bfa
children 8e64965c1d92
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
196
f6e307c7bad6 rename GQview -> Geeqie over the code
nadvornik
parents: 160
diff changeset
2 * Geeqie
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
1284
8b89e3ff286b Add year 2009 to copyright info everywhere.
zas_
parents: 1272
diff changeset
4 * Copyright (C) 2008 - 2009 The Geeqie Team
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #ifndef LAYOUT_UTIL_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15 #define LAYOUT_UTIL_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
17
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18 #include "layout.h"
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19
1433
b4ad1d201279 Use gboolean where applicable, minor cleanup and indentations fixes.
zas_
parents: 1335
diff changeset
20 gboolean layout_key_press_cb(GtkWidget *widget, GdkEventKey *event, gpointer data);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
21
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
22 void layout_util_sync_thumb(LayoutWindow *lw);
1582
2ca277a9845b - handle color profile and write metadata buttons on statusbar by ui_manager
nadvornik
parents: 1463
diff changeset
23 void layout_util_sync_color(LayoutWindow *lw);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24 void layout_util_sync(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25
1582
2ca277a9845b - handle color profile and write metadata buttons on statusbar by ui_manager
nadvornik
parents: 1463
diff changeset
26 void layout_util_status_update_write(LayoutWindow *lw);
2ca277a9845b - handle color profile and write metadata buttons on statusbar by ui_manager
nadvornik
parents: 1463
diff changeset
27 void layout_util_status_update_write_all(void);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28
1272
e0e12512cde2 read external editors from .desktop files
nadvornik
parents: 1055
diff changeset
29 //void layout_edit_update_all(void);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 void layout_recent_update_all(void);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 void layout_recent_add_path(const gchar *path);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33
497
a33badd85f16 Allow the copy of file paths to clipboard.
zas_
parents: 475
diff changeset
34 void layout_copy_path_update_all(void);
a33badd85f16 Allow the copy of file paths to clipboard.
zas_
parents: 475
diff changeset
35
1463
25168240a247 added function to reload external editors at any time
nadvornik
parents: 1433
diff changeset
36 void layout_editors_reload_all(void);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37 void layout_actions_setup(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
38 void layout_actions_add_window(LayoutWindow *lw, GtkWidget *window);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
39 GtkWidget *layout_actions_menu_bar(LayoutWindow *lw);
1582
2ca277a9845b - handle color profile and write metadata buttons on statusbar by ui_manager
nadvornik
parents: 1463
diff changeset
40 void layout_toolbar_add_from_config(LayoutWindow *lw, ToolbarType type, const gchar **attribute_names, const gchar **attribute_values);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41
1582
2ca277a9845b - handle color profile and write metadata buttons on statusbar by ui_manager
nadvornik
parents: 1463
diff changeset
42 GtkWidget *layout_actions_toolbar(LayoutWindow *lw, ToolbarType type);
1043
5fc64d6252e7 Replaced gtk depreceated code.
bruclik
parents: 497
diff changeset
43
1582
2ca277a9845b - handle color profile and write metadata buttons on statusbar by ui_manager
nadvornik
parents: 1463
diff changeset
44 void layout_toolbar_clear(LayoutWindow *lw, ToolbarType type);
2ca277a9845b - handle color profile and write metadata buttons on statusbar by ui_manager
nadvornik
parents: 1463
diff changeset
45 void layout_toolbar_add(LayoutWindow *lw, ToolbarType type, const gchar *action);
2ca277a9845b - handle color profile and write metadata buttons on statusbar by ui_manager
nadvornik
parents: 1463
diff changeset
46 void layout_toolbar_add_default(LayoutWindow *lw, ToolbarType type);
2ca277a9845b - handle color profile and write metadata buttons on statusbar by ui_manager
nadvornik
parents: 1463
diff changeset
47 void layout_toolbar_write_config(LayoutWindow *lw, ToolbarType type, GString *outstr, gint indent);
1335
588d96cda850 save and restore toolbar configuration
nadvornik
parents: 1320
diff changeset
48
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
49
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
50 void layout_keyboard_init(LayoutWindow *lw, GtkWidget *window);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
51
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
52
1291
50ae02a4a675 replaced bar_info with an universal bar, restored the original
nadvornik
parents: 1284
diff changeset
53 void layout_bar_toggle(LayoutWindow *lw);
1317
cd7204a18f14 simplified and improved bar configuration
nadvornik
parents: 1309
diff changeset
54 void layout_bar_set(LayoutWindow *lw, GtkWidget *bar);
1309
55ea4962887a config file format changed to XML
nadvornik
parents: 1293
diff changeset
55
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
56 void layout_bar_sort_toggle(LayoutWindow *lw);
1320
055ed09d5a03 improved bar_sort configuration
nadvornik
parents: 1317
diff changeset
57 void layout_bar_sort_set(LayoutWindow *lw, GtkWidget *bar);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
58
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
59 void layout_bars_new_image(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
60 void layout_bars_new_selection(LayoutWindow *lw, gint count);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
61
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
62 GtkWidget *layout_bars_prepare(LayoutWindow *lw, GtkWidget *image);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
63 void layout_bars_close(LayoutWindow *lw);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
64
1293
48e064b37ba6 separated "normal" and advanced exif, "Normal" exif is now in the
nadvornik
parents: 1291
diff changeset
65 void layout_exif_window_new(LayoutWindow *lw);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
66
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
67 #endif
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 1043
diff changeset
68 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */