Mercurial > geeqie
view src/bar.h @ 1672:994169573393
Complete commit @1747 (intltool usage)
With using intltool the localisation will fail cause of missing
desktop.in file. Also the old desktop files are obsoleted by this
commit.
Also it is not necessary any more to have a './' in front of the files
in POTFILES.in.
author | mow |
---|---|
date | Sat, 27 Jun 2009 22:57:56 +0000 |
parents | c6d522fe3e5e |
children | 956aab097ea7 |
line wrap: on
line source
/* * Geeqie * (C) 2004 John Ellis * Copyright (C) 2008 - 2009 The Geeqie Team * * Author: Vladimir Nadvornik * * This software is released under the GNU General Public License (GNU GPL). * Please read the included file COPYING for more information. * This software comes with no warranty of any kind, use at your own risk! */ #ifndef BAR_H #define BAR_H typedef enum { PANE_UNDEF = 0, PANE_COMMENT, PANE_EXIF, PANE_HISTOGRAM, PANE_KEYWORDS, PANE_GPS } PaneType; typedef struct _PaneData PaneData; struct _PaneData { /* filled in by pane */ void (*pane_set_fd)(GtkWidget *pane, FileData *fd); void (*pane_notify_selection)(GtkWidget *pane, gint count); gint (*pane_event)(GtkWidget *pane, GdkEvent *event); void (*pane_write_config)(GtkWidget *pane, GString *outstr, gint indent); GtkWidget *title; gboolean expanded; gchar *id; PaneType type; /* filled in by bar */ GtkWidget *bar; LayoutWindow *lw; }; GtkWidget *bar_new(LayoutWindow *lw); GtkWidget *bar_new_from_config(LayoutWindow *lw, const gchar **attribute_names, const gchar **attribute_values); GtkWidget *bar_update_from_config(GtkWidget *bar, const gchar **attribute_names, const gchar **attribute_values); void bar_close(GtkWidget *bar); void bar_write_config(GtkWidget *bar, GString *outstr, gint indent); void bar_populate_default(GtkWidget *bar); void bar_add(GtkWidget *bar, GtkWidget *pane); GtkWidget *bar_find_pane_by_id(GtkWidget *bar, PaneType type, const gchar *id); void bar_clear(GtkWidget *bar); void bar_set_fd(GtkWidget *bar, FileData *fd); void bar_notify_selection(GtkWidget *bar, gint count); gboolean bar_event(GtkWidget *bar, GdkEvent *event); gint bar_get_width(GtkWidget *bar); GtkWidget *bar_pane_expander_title(const gchar *title); void bar_update_expander(GtkWidget *pane); gboolean bar_pane_translate_title(PaneType type, const gchar *id, gchar **title); const gchar *bar_pane_get_default_config(const gchar *id); #endif /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */