diff options
author | Perberos <[email protected]> | 2011-11-06 19:30:49 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-06 19:30:49 -0300 |
commit | a8d28a6ce7e0c56dacba5d527d9134573a008902 (patch) | |
tree | 8852602004b5a13cc5d1ce3ecd7a314be81d1198 /plugins | |
download | eom-a8d28a6ce7e0c56dacba5d527d9134573a008902.tar.bz2 eom-a8d28a6ce7e0c56dacba5d527d9134573a008902.tar.xz |
inicial
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ChangeLog | 159 | ||||
-rw-r--r-- | plugins/Makefile.am | 58 | ||||
-rw-r--r-- | plugins/Makefile.in | 767 | ||||
-rw-r--r-- | plugins/fullscreen/eom-fullscreen-plugin.c | 120 | ||||
-rw-r--r-- | plugins/fullscreen/eom-fullscreen-plugin.h | 53 | ||||
-rw-r--r-- | plugins/fullscreen/fullscreen.eom-plugin.desktop.in | 9 | ||||
-rw-r--r-- | plugins/reload/eom-reload-plugin.c | 151 | ||||
-rw-r--r-- | plugins/reload/eom-reload-plugin.h | 53 | ||||
-rw-r--r-- | plugins/reload/reload.eom-plugin.desktop.in | 9 | ||||
-rw-r--r-- | plugins/statusbar-date/eom-statusbar-date-plugin.c | 184 | ||||
-rw-r--r-- | plugins/statusbar-date/eom-statusbar-date-plugin.h | 74 | ||||
-rw-r--r-- | plugins/statusbar-date/statusbar-date.eom-plugin.desktop.in | 9 |
12 files changed, 1646 insertions, 0 deletions
diff --git a/plugins/ChangeLog b/plugins/ChangeLog new file mode 100644 index 0000000..39591db --- /dev/null +++ b/plugins/ChangeLog @@ -0,0 +1,159 @@ +2009-08-09 Felix Riemann <[email protected]> + + * Makefile.am: + Add support for Automake 1.11's silent build rules. + +2009-07-25 Felix Riemann <[email protected]> + + * Makefile.am: + Merge per-plugin Makefiles into a single one. This makes it possible + to build the plugins in parallel. + +2009-04-10 Felix Riemann <[email protected]> + + * reload/eom-reload-plugin.c: + Make reload action available from the scrollview's context menu. + +2009-04-10 Felix Riemann <[email protected]> + + * reload/eom-reload-plugin.c: (impl_activate), + (eom_reload_plugin_class_init): + Update reload plugin to be independent of the five predefined + menu slots. Also remove unneeded hook. + +2009-03-16 Claudio Saavedra <[email protected]> + + * NEWS: Updates for 2.26.0 + +2009-03-03 Felix Riemann <[email protected]> + + * 2.25.92 version marker. + +2009-02-28 Felix Riemann <[email protected]> + + * reload/eom-reload-plugin.c: Use 'R' as shortcut key. The old one is + needed elsewhere. + +2009-02-16 Felix Riemann <[email protected]> + + * 2.25.91 version marker. + +2009-02-03 Felix Riemann <[email protected]> + + * 2.25.90 version marker. + +2008-12-15 Felix Riemann <[email protected]> + + * 2.25.3 version marker. + +2008-12-01 Felix Riemann <[email protected]> + + * 2.25.2 version marker. + +2008-11-03 Felix Riemann <[email protected]> + + * 2.25.1 version marker. + +2008-09-22 Felix Riemann <[email protected]> + + * 2.24.0 version marker. + +2008-09-09 Claudio Saavedra <[email protected]> + + * 2.23.92 version marker. + +2008-09-07 Felix Riemann <[email protected]> + + * reload/eom-reload-plugin.c: (reload_cb): Adapt reload plugin to the + latest API changes regarding image reloading. This turns this plugin + pretty much into a boilerplate plugin. Part of bug #548392. + +2008-09-02 Claudio Saavedra <[email protected]> + + * 2.23.91 version marker. + +2008-08-21 Claudio Saavedra <[email protected]> + + * fullscreen/Makefile.am: Fix a comment. + +2008-07-19 Felix Riemann <[email protected]> + + * 2.23.90 version marker. + +2008-08-19 Claudio Saavedra <[email protected]> + + * plugins/fullscreen/Makefile.am: + * plugins/reload/Makefile.am: + * plugins/statusbar-date/Makefile.am: + + Use plugin_LDADD to set the appropriate libraries instead of + plugin_LDFLAGS. Fixes bug #548202 (Paul). + +2008-07-21 Felix Riemann <[email protected]> + + * 2.23.5 version marker. + +2008-06-16 Lucas Rocha <[email protected]> + + * 2.23.4.1 version marker. + +2008-06-16 Lucas Rocha <[email protected]> + + * 2.23.4 version marker. + +2008-06-12 Felix Riemann <[email protected]> + + * fullscreen/Makefile.am: + * reload/Makefile.am: + * statusbar-date/Makefile.am: + Remove libtool versioning scheme from plugins. + +2008-06-03 Lucas Rocha <[email protected]> + + * 2.23.3 version marker. + +2008-05-12 Felix Riemann <[email protected]> + + * 2.23.2 version marker. + +2008-04-21 Lucas Rocha <[email protected]> + + * 2.23.1 version marker. + +2008-03-20 Claudio Saavedra <[email protected]> + + * statusbar-date/eom-statusbar-date-plugin.c: (impl_activate): Request + a wider size, to give place for the human readable date. + +2008-03-20 Claudio Saavedra <[email protected]> + + * statusbar-date/eom-statusbar-date-plugin.c: (impl_deactivate): + Disconnect the signal handler on plugin deactivation. + +2008-03-20 Claudio Saavedra <[email protected]> + + * statusbar-date/eom-statusbar-date-plugin.c: (statusbar_set_date), + (selection_changed_cb), (impl_activate), (impl_deactivate): Do some refactoring + to allow to set the date during plugin activation. + +2008-03-20 Claudio Saavedra <[email protected]> + + * statusbar-date/eom-statusbar-date-plugin.c: + (selection_changed_cb): Remove unnecessary checks + for HAVE_EXIF. + +2008-03-20 Claudio Saavedra <[email protected]> + + * Makefile.am: Add statusbar-date plugin conditionally on + libexif presence. + * statusbar-date/Makefile.am: + * statusbar-date/eom-statusbar-date-plugin.c: (free_window_data), + (selection_changed_cb), (eom_statusbar_date_plugin_init), + (eom_statusbar_date_plugin_finalize), (impl_activate), + (impl_deactivate), (impl_update_ui), + (eom_statusbar_date_plugin_class_init): + * statusbar-date/eom-statusbar-date-plugin.h: + * statusbar-date/statusbar-date.eom-plugin.desktop.in: + + Added a plugin to show the EXIF date on the statusbar. This fixes + bug #466566. diff --git a/plugins/Makefile.am b/plugins/Makefile.am new file mode 100644 index 0000000..344bf15 --- /dev/null +++ b/plugins/Makefile.am @@ -0,0 +1,58 @@ +AUTOMAKE_OPTIONS = subdir-objects + +pluginsdir = $(libdir)/eom/plugins + +INCLUDES = \ + -I$(top_srcdir)/src \ + $(EOM_CFLAGS) \ + $(WARN_CFLAGS) \ + -DEOM_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" + +AM_LDFLAGS = -avoid-version -module + +plugins_LTLIBRARIES = \ + fullscreen/libfullscreen.la \ + reload/libreload.la + +plugins_in_files = \ + fullscreen/fullscreen.eom-plugin.desktop.in \ + reload/reload.eom-plugin.desktop.in + +# Fullscreen plugin +fullscreen_libfullscreen_la_SOURCES = \ + fullscreen/eom-fullscreen-plugin.h \ + fullscreen/eom-fullscreen-plugin.c + +fullscreen_libfullscreen_la_LIBADD = $(EOM_LIBS) + +# Reload plugin +reload_libreload_la_SOURCES = \ + reload/eom-reload-plugin.h \ + reload/eom-reload-plugin.c + +reload_libreload_la_LIBADD = $(EOM_LIBS) + +# Statusbar Date Plugin +if HAVE_EXIF +plugins_LTLIBRARIES += statusbar-date/libstatusbar-date.la + +statusbar_date_libstatusbar_date_la_SOURCES = \ + statusbar-date/eom-statusbar-date-plugin.h \ + statusbar-date/eom-statusbar-date-plugin.c + +statusbar_date_libstatusbar_date_la_LIBADD = $(EOM_LIBS) +plugins_in_files += statusbar-date/statusbar-date.eom-plugin.desktop.in +endif + +# Generate plugin info files + +%.eom-plugin: %.eom-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(AM_V_GEN)$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache + +plugins_DATA = $(plugins_in_files:.eom-plugin.desktop.in=.eom-plugin) + +DISTCLEANFILES = $(plugins_DATA) +CLEANFILES = $(plugins_DATA) + +EXTRA_DIST = $(plugins_in_files) + +-include $(top_srcdir)/git.mk diff --git a/plugins/Makefile.in b/plugins/Makefile.in new file mode 100644 index 0000000..d87e586 --- /dev/null +++ b/plugins/Makefile.in @@ -0,0 +1,767 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ + +# Statusbar Date Plugin +@HAVE_EXIF_TRUE@am__append_1 = statusbar-date/libstatusbar-date.la +@HAVE_EXIF_TRUE@am__append_2 = statusbar-date/statusbar-date.eom-plugin.desktop.in +subdir = plugins +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(pluginsdir)" "$(DESTDIR)$(pluginsdir)" +LTLIBRARIES = $(plugins_LTLIBRARIES) +am__DEPENDENCIES_1 = +fullscreen_libfullscreen_la_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__dirstamp = $(am__leading_dot)dirstamp +am_fullscreen_libfullscreen_la_OBJECTS = \ + fullscreen/eom-fullscreen-plugin.lo +fullscreen_libfullscreen_la_OBJECTS = \ + $(am_fullscreen_libfullscreen_la_OBJECTS) +AM_V_lt = $(am__v_lt_$(V)) +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +am__v_lt_0 = --silent +reload_libreload_la_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_reload_libreload_la_OBJECTS = reload/eom-reload-plugin.lo +reload_libreload_la_OBJECTS = $(am_reload_libreload_la_OBJECTS) +@HAVE_EXIF_TRUE@statusbar_date_libstatusbar_date_la_DEPENDENCIES = \ +@HAVE_EXIF_TRUE@ $(am__DEPENDENCIES_1) +am__statusbar_date_libstatusbar_date_la_SOURCES_DIST = \ + statusbar-date/eom-statusbar-date-plugin.h \ + statusbar-date/eom-statusbar-date-plugin.c +@HAVE_EXIF_TRUE@am_statusbar_date_libstatusbar_date_la_OBJECTS = \ +@HAVE_EXIF_TRUE@ statusbar-date/eom-statusbar-date-plugin.lo +statusbar_date_libstatusbar_date_la_OBJECTS = \ + $(am_statusbar_date_libstatusbar_date_la_OBJECTS) +@HAVE_EXIF_TRUE@am_statusbar_date_libstatusbar_date_la_rpath = -rpath \ +@HAVE_EXIF_TRUE@ $(pluginsdir) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +SOURCES = $(fullscreen_libfullscreen_la_SOURCES) \ + $(reload_libreload_la_SOURCES) \ + $(statusbar_date_libstatusbar_date_la_SOURCES) +DIST_SOURCES = $(fullscreen_libfullscreen_la_SOURCES) \ + $(reload_libreload_la_SOURCES) \ + $(am__statusbar_date_libstatusbar_date_la_SOURCES_DIST) +DATA = $(plugins_DATA) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@ +DBUS_CFLAGS = @DBUS_CFLAGS@ +DBUS_LIBS = @DBUS_LIBS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ +DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ +DLLTOOL = @DLLTOOL@ +DOC_USER_FORMATS = @DOC_USER_FORMATS@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EOM_API_VERSION = @EOM_API_VERSION@ +EOM_CFLAGS = @EOM_CFLAGS@ +EOM_DOC_EXIF_START = @EOM_DOC_EXIF_START@ +EOM_DOC_EXIF_STOP = @EOM_DOC_EXIF_STOP@ +EOM_LIBS = @EOM_LIBS@ +EOM_MAJOR_VERSION = @EOM_MAJOR_VERSION@ +EOM_MICRO_VERSION = @EOM_MICRO_VERSION@ +EOM_MINOR_VERSION = @EOM_MINOR_VERSION@ +EXEEXT = @EXEEXT@ +EXEMPI_CFLAGS = @EXEMPI_CFLAGS@ +EXEMPI_LIBS = @EXEMPI_LIBS@ +EXIF_CFLAGS = @EXIF_CFLAGS@ +EXIF_LIBS = @EXIF_LIBS@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ +GLIB_MKENUMS = @GLIB_MKENUMS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ +GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ +GTKDOC_MKPDF = @GTKDOC_MKPDF@ +GTKDOC_REBASE = @GTKDOC_REBASE@ +HELP_DIR = @HELP_DIR@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +LCMS_CFLAGS = @LCMS_CFLAGS@ +LCMS_LIBS = @LCMS_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBJPEG = @LIBJPEG@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MATECONFTOOL = @MATECONFTOOL@ +MATECONF_SCHEMA_CONFIG_SOURCE = @MATECONF_SCHEMA_CONFIG_SOURCE@ +MATECONF_SCHEMA_FILE_DIR = @MATECONF_SCHEMA_FILE_DIR@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NO_STRICT_ALIASING_CFLAGS = @NO_STRICT_ALIASING_CFLAGS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OMF_DIR = @OMF_DIR@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PYGOBJECT_CODEGEN = @PYGOBJECT_CODEGEN@ +PYGOBJECT_DEFSDIR = @PYGOBJECT_DEFSDIR@ +PYGOBJECT_H2DEF = @PYGOBJECT_H2DEF@ +PYGTK_CFLAGS = @PYGTK_CFLAGS@ +PYGTK_DEFSDIR = @PYGTK_DEFSDIR@ +PYGTK_LIBS = @PYGTK_LIBS@ +PYTHON = @PYTHON@ +PYTHON_CFLAGS = @PYTHON_CFLAGS@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_EXTRA_LIBS = @PYTHON_EXTRA_LIBS@ +PYTHON_LIBS = @PYTHON_LIBS@ +PYTHON_LIB_LOC = @PYTHON_LIB_LOC@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +RSVG_CFLAGS = @RSVG_CFLAGS@ +RSVG_LIBS = @RSVG_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +X11_CFLAGS = @X11_CFLAGS@ +X11_LIBS = @X11_LIBS@ +XGETTEXT = @XGETTEXT@ +XMKMF = @XMKMF@ +X_CFLAGS = @X_CFLAGS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_LIBS = @X_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +AUTOMAKE_OPTIONS = subdir-objects +pluginsdir = $(libdir)/eom/plugins +INCLUDES = \ + -I$(top_srcdir)/src \ + $(EOM_CFLAGS) \ + $(WARN_CFLAGS) \ + -DEOM_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" + +AM_LDFLAGS = -avoid-version -module +plugins_LTLIBRARIES = fullscreen/libfullscreen.la reload/libreload.la \ + $(am__append_1) +plugins_in_files = fullscreen/fullscreen.eom-plugin.desktop.in \ + reload/reload.eom-plugin.desktop.in $(am__append_2) + +# Fullscreen plugin +fullscreen_libfullscreen_la_SOURCES = \ + fullscreen/eom-fullscreen-plugin.h \ + fullscreen/eom-fullscreen-plugin.c + +fullscreen_libfullscreen_la_LIBADD = $(EOM_LIBS) + +# Reload plugin +reload_libreload_la_SOURCES = \ + reload/eom-reload-plugin.h \ + reload/eom-reload-plugin.c + +reload_libreload_la_LIBADD = $(EOM_LIBS) +@HAVE_EXIF_TRUE@statusbar_date_libstatusbar_date_la_SOURCES = \ +@HAVE_EXIF_TRUE@ statusbar-date/eom-statusbar-date-plugin.h \ +@HAVE_EXIF_TRUE@ statusbar-date/eom-statusbar-date-plugin.c + +@HAVE_EXIF_TRUE@statusbar_date_libstatusbar_date_la_LIBADD = $(EOM_LIBS) +plugins_DATA = $(plugins_in_files:.eom-plugin.desktop.in=.eom-plugin) +DISTCLEANFILES = $(plugins_DATA) +CLEANFILES = $(plugins_DATA) +EXTRA_DIST = $(plugins_in_files) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign plugins/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign plugins/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-pluginsLTLIBRARIES: $(plugins_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(pluginsdir)" || $(MKDIR_P) "$(DESTDIR)$(pluginsdir)" + @list='$(plugins_LTLIBRARIES)'; test -n "$(pluginsdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pluginsdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pluginsdir)"; \ + } + +uninstall-pluginsLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugins_LTLIBRARIES)'; test -n "$(pluginsdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pluginsdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pluginsdir)/$$f"; \ + done + +clean-pluginsLTLIBRARIES: + -test -z "$(plugins_LTLIBRARIES)" || rm -f $(plugins_LTLIBRARIES) + @list='$(plugins_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +fullscreen/$(am__dirstamp): + @$(MKDIR_P) fullscreen + @: > fullscreen/$(am__dirstamp) +fullscreen/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) fullscreen/$(DEPDIR) + @: > fullscreen/$(DEPDIR)/$(am__dirstamp) +fullscreen/eom-fullscreen-plugin.lo: fullscreen/$(am__dirstamp) \ + fullscreen/$(DEPDIR)/$(am__dirstamp) +fullscreen/libfullscreen.la: $(fullscreen_libfullscreen_la_OBJECTS) $(fullscreen_libfullscreen_la_DEPENDENCIES) fullscreen/$(am__dirstamp) + $(AM_V_CCLD)$(LINK) -rpath $(pluginsdir) $(fullscreen_libfullscreen_la_OBJECTS) $(fullscreen_libfullscreen_la_LIBADD) $(LIBS) +reload/$(am__dirstamp): + @$(MKDIR_P) reload + @: > reload/$(am__dirstamp) +reload/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) reload/$(DEPDIR) + @: > reload/$(DEPDIR)/$(am__dirstamp) +reload/eom-reload-plugin.lo: reload/$(am__dirstamp) \ + reload/$(DEPDIR)/$(am__dirstamp) +reload/libreload.la: $(reload_libreload_la_OBJECTS) $(reload_libreload_la_DEPENDENCIES) reload/$(am__dirstamp) + $(AM_V_CCLD)$(LINK) -rpath $(pluginsdir) $(reload_libreload_la_OBJECTS) $(reload_libreload_la_LIBADD) $(LIBS) +statusbar-date/$(am__dirstamp): + @$(MKDIR_P) statusbar-date + @: > statusbar-date/$(am__dirstamp) +statusbar-date/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) statusbar-date/$(DEPDIR) + @: > statusbar-date/$(DEPDIR)/$(am__dirstamp) +statusbar-date/eom-statusbar-date-plugin.lo: \ + statusbar-date/$(am__dirstamp) \ + statusbar-date/$(DEPDIR)/$(am__dirstamp) +statusbar-date/libstatusbar-date.la: $(statusbar_date_libstatusbar_date_la_OBJECTS) $(statusbar_date_libstatusbar_date_la_DEPENDENCIES) statusbar-date/$(am__dirstamp) + $(AM_V_CCLD)$(LINK) $(am_statusbar_date_libstatusbar_date_la_rpath) $(statusbar_date_libstatusbar_date_la_OBJECTS) $(statusbar_date_libstatusbar_date_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f fullscreen/eom-fullscreen-plugin.$(OBJEXT) + -rm -f fullscreen/eom-fullscreen-plugin.lo + -rm -f reload/eom-reload-plugin.$(OBJEXT) + -rm -f reload/eom-reload-plugin.lo + -rm -f statusbar-date/eom-statusbar-date-plugin.$(OBJEXT) + -rm -f statusbar-date/eom-statusbar-date-plugin.lo + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@fullscreen/$(DEPDIR)/eom-fullscreen-plugin.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@reload/$(DEPDIR)/eom-reload-plugin.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@statusbar-date/$(DEPDIR)/eom-statusbar-date-plugin.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + -rm -rf fullscreen/.libs fullscreen/_libs + -rm -rf reload/.libs reload/_libs + -rm -rf statusbar-date/.libs statusbar-date/_libs +install-pluginsDATA: $(plugins_DATA) + @$(NORMAL_INSTALL) + test -z "$(pluginsdir)" || $(MKDIR_P) "$(DESTDIR)$(pluginsdir)" + @list='$(plugins_DATA)'; test -n "$(pluginsdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pluginsdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pluginsdir)" || exit $$?; \ + done + +uninstall-pluginsDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugins_DATA)'; test -n "$(pluginsdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(pluginsdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(pluginsdir)" && rm -f $$files + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(pluginsdir)" "$(DESTDIR)$(pluginsdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f fullscreen/$(DEPDIR)/$(am__dirstamp) + -rm -f fullscreen/$(am__dirstamp) + -rm -f reload/$(DEPDIR)/$(am__dirstamp) + -rm -f reload/$(am__dirstamp) + -rm -f statusbar-date/$(DEPDIR)/$(am__dirstamp) + -rm -f statusbar-date/$(am__dirstamp) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginsLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -rf fullscreen/$(DEPDIR) reload/$(DEPDIR) statusbar-date/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginsDATA install-pluginsLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf fullscreen/$(DEPDIR) reload/$(DEPDIR) statusbar-date/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginsDATA uninstall-pluginsLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-pluginsLTLIBRARIES ctags distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-pluginsDATA \ + install-pluginsLTLIBRARIES install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags uninstall uninstall-am \ + uninstall-pluginsDATA uninstall-pluginsLTLIBRARIES + + +# Generate plugin info files + +%.eom-plugin: %.eom-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(AM_V_GEN)$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache + +-include $(top_srcdir)/git.mk + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/plugins/fullscreen/eom-fullscreen-plugin.c b/plugins/fullscreen/eom-fullscreen-plugin.c new file mode 100644 index 0000000..baec887 --- /dev/null +++ b/plugins/fullscreen/eom-fullscreen-plugin.c @@ -0,0 +1,120 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "eom-fullscreen-plugin.h" + +#include <gmodule.h> +#include <glib/gi18n-lib.h> + +#include <eom-debug.h> +#include <eom-scroll-view.h> + +#define WINDOW_DATA_KEY "EomFullscreenWindowData" + +EOM_PLUGIN_REGISTER_TYPE(EomFullscreenPlugin, eom_fullscreen_plugin) + +typedef struct +{ + gulong signal_id; +} WindowData; + +static gboolean +on_button_press (GtkWidget *button, GdkEventButton *event, EomWindow *window) +{ + if (event->button == 1 && event->type == GDK_2BUTTON_PRESS) { + EomWindowMode mode = eom_window_get_mode (window); + + if (mode == EOM_WINDOW_MODE_SLIDESHOW || + mode == EOM_WINDOW_MODE_FULLSCREEN) + eom_window_set_mode (window, EOM_WINDOW_MODE_NORMAL); + else if (mode == EOM_WINDOW_MODE_NORMAL) + eom_window_set_mode (window, EOM_WINDOW_MODE_FULLSCREEN); + + return TRUE; + } + + return FALSE; +} + +static void +free_window_data (WindowData *data) +{ + g_return_if_fail (data != NULL); + + eom_debug (DEBUG_PLUGINS); + + g_free (data); +} + +static void +eom_fullscreen_plugin_init (EomFullscreenPlugin *plugin) +{ + eom_debug_message (DEBUG_PLUGINS, "EomFullscreenPlugin initializing"); +} + +static void +eom_fullscreen_plugin_finalize (GObject *object) +{ + eom_debug_message (DEBUG_PLUGINS, "EomFullscreenPlugin finalizing"); + + G_OBJECT_CLASS (eom_fullscreen_plugin_parent_class)->finalize (object); +} + +static void +impl_activate (EomPlugin *plugin, + EomWindow *window) +{ + GtkWidget *view = eom_window_get_view (window); + WindowData *data; + + eom_debug (DEBUG_PLUGINS); + + data = g_new (WindowData, 1); + + data->signal_id = g_signal_connect (G_OBJECT (view), + "button-press-event", + G_CALLBACK (on_button_press), + window); + + g_object_set_data_full (G_OBJECT (window), + WINDOW_DATA_KEY, + data, + (GDestroyNotify) free_window_data); +} + +static void +impl_deactivate (EomPlugin *plugin, + EomWindow *window) +{ + GtkWidget *view = eom_window_get_view (window); + WindowData *data; + + data = (WindowData *) g_object_get_data (G_OBJECT (window), + WINDOW_DATA_KEY); + + g_signal_handler_disconnect (view, data->signal_id); + + g_object_set_data (G_OBJECT (window), + WINDOW_DATA_KEY, + NULL); +} + +static void +impl_update_ui (EomPlugin *plugin, + EomWindow *window) +{ +} + +static void +eom_fullscreen_plugin_class_init (EomFullscreenPluginClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + EomPluginClass *plugin_class = EOM_PLUGIN_CLASS (klass); + + object_class->finalize = eom_fullscreen_plugin_finalize; + + plugin_class->activate = impl_activate; + plugin_class->deactivate = impl_deactivate; + plugin_class->update_ui = impl_update_ui; +} diff --git a/plugins/fullscreen/eom-fullscreen-plugin.h b/plugins/fullscreen/eom-fullscreen-plugin.h new file mode 100644 index 0000000..2df3a3f --- /dev/null +++ b/plugins/fullscreen/eom-fullscreen-plugin.h @@ -0,0 +1,53 @@ +#ifndef __EOM_FULLSCREEN_PLUGIN_H__ +#define __EOM_FULLSCREEN_PLUGIN_H__ + +#include <glib.h> +#include <glib-object.h> +#include <eom-plugin.h> + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define EOM_TYPE_FULLSCREEN_PLUGIN (eom_fullscreen_plugin_get_type ()) +#define EOM_FULLSCREEN_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EOM_TYPE_FULLSCREEN_PLUGIN, EomFullscreenPlugin)) +#define EOM_FULLSCREEN_PLUGIN_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), EOM_TYPE_FULLSCREEN_PLUGIN, EomFullscreenPluginClass)) +#define EOM_IS_FULLSCREEN_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EOM_TYPE_FULLSCREEN_PLUGIN)) +#define EOM_IS_FULLSCREEN_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EOM_TYPE_FULLSCREEN_PLUGIN)) +#define EOM_FULLSCREEN_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EOM_TYPE_FULLSCREEN_PLUGIN, EomFullscreenPluginClass)) + +/* Private structure type */ +typedef struct _EomFullscreenPluginPrivate EomFullscreenPluginPrivate; + +/* + * Main object structure + */ +typedef struct _EomFullscreenPlugin EomFullscreenPlugin; + +struct _EomFullscreenPlugin +{ + EomPlugin parent_instance; +}; + +/* + * Class definition + */ +typedef struct _EomFullscreenPluginClass EomFullscreenPluginClass; + +struct _EomFullscreenPluginClass +{ + EomPluginClass parent_class; +}; + +/* + * Public methods + */ +GType eom_fullscreen_plugin_get_type (void) G_GNUC_CONST; + +/* All the plugins must implement this function */ +G_MODULE_EXPORT GType register_eom_plugin (GTypeModule *module); + +G_END_DECLS + +#endif /* __EOM_FULLSCREEN_PLUGIN_H__ */ diff --git a/plugins/fullscreen/fullscreen.eom-plugin.desktop.in b/plugins/fullscreen/fullscreen.eom-plugin.desktop.in new file mode 100644 index 0000000..6c55969 --- /dev/null +++ b/plugins/fullscreen/fullscreen.eom-plugin.desktop.in @@ -0,0 +1,9 @@ +[Eom Plugin] +Module=fullscreen +IAge=2 +_Name=Fullscreen with double-click +Icon=gtk-fullscreen +_Description=Activate fullscreen mode with double-click +Authors=Lucas Rocha <[email protected]> +Copyright=Copyright © 2007 Lucas Rocha +Website=http://www.gnome.org/projects/eom diff --git a/plugins/reload/eom-reload-plugin.c b/plugins/reload/eom-reload-plugin.c new file mode 100644 index 0000000..9b3dcc7 --- /dev/null +++ b/plugins/reload/eom-reload-plugin.c @@ -0,0 +1,151 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "eom-reload-plugin.h" + +#include <gmodule.h> +#include <glib/gi18n-lib.h> + +#include <eom-debug.h> +#include <eom-scroll-view.h> +#include <eom-thumb-view.h> +#include <eom-image.h> + +#define WINDOW_DATA_KEY "EomReloadWindowData" + +EOM_PLUGIN_REGISTER_TYPE(EomReloadPlugin, eom_reload_plugin) + +typedef struct +{ + GtkActionGroup *ui_action_group; + guint ui_id; +} WindowData; + +static void +reload_cb (GtkAction *action, + EomWindow *window) +{ + eom_window_reload_image (window); +} + +static const gchar * const ui_definition = + "<ui><menubar name=\"MainMenu\">" + "<menu name=\"ToolsMenu\" action=\"Tools\"><separator/>" + "<menuitem name=\"EomPluginReload\" action=\"EomPluginRunReload\"/>" + "<separator/></menu></menubar>" + "<popup name=\"ViewPopup\"><separator/>" + "<menuitem action=\"EomPluginRunReload\"/><separator/>" + "</popup></ui>"; + +static const GtkActionEntry action_entries[] = +{ + { "EomPluginRunReload", + GTK_STOCK_REFRESH, + N_("Reload Image"), + "R", + N_("Reload current image"), + G_CALLBACK (reload_cb) } +}; + +static void +free_window_data (WindowData *data) +{ + g_return_if_fail (data != NULL); + + eom_debug (DEBUG_PLUGINS); + + g_object_unref (data->ui_action_group); + + g_free (data); +} + +static void +eom_reload_plugin_init (EomReloadPlugin *plugin) +{ + eom_debug_message (DEBUG_PLUGINS, "EomReloadPlugin initializing"); +} + +static void +eom_reload_plugin_finalize (GObject *object) +{ + eom_debug_message (DEBUG_PLUGINS, "EomReloadPlugin finalizing"); + + G_OBJECT_CLASS (eom_reload_plugin_parent_class)->finalize (object); +} + +static void +impl_activate (EomPlugin *plugin, + EomWindow *window) +{ + GtkUIManager *manager; + WindowData *data; + + eom_debug (DEBUG_PLUGINS); + + data = g_new (WindowData, 1); + + manager = eom_window_get_ui_manager (window); + + data->ui_action_group = gtk_action_group_new ("EomReloadPluginActions"); + + gtk_action_group_set_translation_domain (data->ui_action_group, + GETTEXT_PACKAGE); + + gtk_action_group_add_actions (data->ui_action_group, + action_entries, + G_N_ELEMENTS (action_entries), + window); + + gtk_ui_manager_insert_action_group (manager, + data->ui_action_group, + -1); + + g_object_set_data_full (G_OBJECT (window), + WINDOW_DATA_KEY, + data, + (GDestroyNotify) free_window_data); + + data->ui_id = gtk_ui_manager_add_ui_from_string (manager, + ui_definition, + -1, NULL); + g_warn_if_fail (data->ui_id != 0); +} + +static void +impl_deactivate (EomPlugin *plugin, + EomWindow *window) +{ + GtkUIManager *manager; + WindowData *data; + + eom_debug (DEBUG_PLUGINS); + + manager = eom_window_get_ui_manager (window); + + data = (WindowData *) g_object_get_data (G_OBJECT (window), + WINDOW_DATA_KEY); + g_return_if_fail (data != NULL); + + gtk_ui_manager_remove_ui (manager, + data->ui_id); + + gtk_ui_manager_remove_action_group (manager, + data->ui_action_group); + + g_object_set_data (G_OBJECT (window), + WINDOW_DATA_KEY, + NULL); +} + +static void +eom_reload_plugin_class_init (EomReloadPluginClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + EomPluginClass *plugin_class = EOM_PLUGIN_CLASS (klass); + + object_class->finalize = eom_reload_plugin_finalize; + + plugin_class->activate = impl_activate; + plugin_class->deactivate = impl_deactivate; +} diff --git a/plugins/reload/eom-reload-plugin.h b/plugins/reload/eom-reload-plugin.h new file mode 100644 index 0000000..19a5d4c --- /dev/null +++ b/plugins/reload/eom-reload-plugin.h @@ -0,0 +1,53 @@ +#ifndef __EOM_RELOAD_PLUGIN_H__ +#define __EOM_RELOAD_PLUGIN_H__ + +#include <glib.h> +#include <glib-object.h> +#include <eom-plugin.h> + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define EOM_TYPE_RELOAD_PLUGIN (eom_reload_plugin_get_type ()) +#define EOM_RELOAD_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EOM_TYPE_RELOAD_PLUGIN, EomReloadPlugin)) +#define EOM_RELOAD_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EOM_TYPE_RELOAD_PLUGIN, EomReloadPluginClass)) +#define EOM_IS_RELOAD_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EOM_TYPE_RELOAD_PLUGIN)) +#define EOM_IS_RELOAD_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EOM_TYPE_RELOAD_PLUGIN)) +#define EOM_RELOAD_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EOM_TYPE_RELOAD_PLUGIN, EomReloadPluginClass)) + +/* Private structure type */ +typedef struct _EomReloadPluginPrivate EomReloadPluginPrivate; + +/* + * Main object structure + */ +typedef struct _EomReloadPlugin EomReloadPlugin; + +struct _EomReloadPlugin +{ + EomPlugin parent_instance; +}; + +/* + * Class definition + */ +typedef struct _EomReloadPluginClass EomReloadPluginClass; + +struct _EomReloadPluginClass +{ + EomPluginClass parent_class; +}; + +/* + * Public methods + */ +GType eom_reload_plugin_get_type (void) G_GNUC_CONST; + +/* All the plugins must implement this function */ +G_MODULE_EXPORT GType register_eom_plugin (GTypeModule *module); + +G_END_DECLS + +#endif /* __EOM_RELOAD_PLUGIN_H__ */ diff --git a/plugins/reload/reload.eom-plugin.desktop.in b/plugins/reload/reload.eom-plugin.desktop.in new file mode 100644 index 0000000..eec527b --- /dev/null +++ b/plugins/reload/reload.eom-plugin.desktop.in @@ -0,0 +1,9 @@ +[Eom Plugin] +Module=reload +IAge=2 +_Name=Reload Image +Icon=gtk-refresh +_Description=Reload current image +Authors=Lucas Rocha <[email protected]> +Copyright=Copyright © 2007 Lucas Rocha +Website=http://www.gnome.org/projects/eom diff --git a/plugins/statusbar-date/eom-statusbar-date-plugin.c b/plugins/statusbar-date/eom-statusbar-date-plugin.c new file mode 100644 index 0000000..f096fcf --- /dev/null +++ b/plugins/statusbar-date/eom-statusbar-date-plugin.c @@ -0,0 +1,184 @@ +/* Statusbar Date -- Shows the EXIF date in EOM's statusbar + * + * Copyright (C) 2008 The Free Software Foundation + * + * Author: Claudio Saavedra <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "eom-statusbar-date-plugin.h" + +#include <gmodule.h> +#include <glib/gi18n-lib.h> + +#include <libexif/exif-data.h> + +#include <eom-debug.h> +#include <eom-scroll-view.h> +#include <eom-image.h> +#include <eom-thumb-view.h> +#include <eom-exif-util.h> + + +#define WINDOW_DATA_KEY "EomStatusbarDateWindowData" + +EOM_PLUGIN_REGISTER_TYPE(EomStatusbarDatePlugin, eom_statusbar_date_plugin) + +typedef struct +{ + GtkWidget *statusbar_date; + gulong signal_id; +} WindowData; + +static void +free_window_data (WindowData *data) +{ + g_return_if_fail (data != NULL); + + eom_debug (DEBUG_PLUGINS); + + g_free (data); +} + +static void +statusbar_set_date (GtkStatusbar *statusbar, EomThumbView *view) +{ + EomImage *image; + gchar *date = NULL; + gchar time_buffer[32]; + ExifData *exif_data; + + if (eom_thumb_view_get_n_selected (view) == 0) + return; + + image = eom_thumb_view_get_first_selected_image (view); + + gtk_statusbar_pop (statusbar, 0); + + if (!eom_image_has_data (image, EOM_IMAGE_DATA_EXIF)) { + if (!eom_image_load (image, EOM_IMAGE_DATA_EXIF, NULL, NULL)) { + gtk_widget_hide (GTK_WIDGET (statusbar)); + } + } + + exif_data = (ExifData *) eom_image_get_exif_info (image); + if (exif_data) { + date = eom_exif_util_format_date ( + eom_exif_util_get_value (exif_data, EXIF_TAG_DATE_TIME_ORIGINAL, time_buffer, 32)); + exif_data_unref (exif_data); + } + + if (date) { + gtk_statusbar_push (statusbar, 0, date); + gtk_widget_show (GTK_WIDGET (statusbar)); + g_free (date); + } else { + gtk_widget_hide (GTK_WIDGET (statusbar)); + } +} + +static void +selection_changed_cb (EomThumbView *view, WindowData *data) +{ + statusbar_set_date (GTK_STATUSBAR (data->statusbar_date), view); +} +static void +eom_statusbar_date_plugin_init (EomStatusbarDatePlugin *plugin) +{ + eom_debug_message (DEBUG_PLUGINS, "EomStatusbarDatePlugin initializing"); +} + +static void +eom_statusbar_date_plugin_finalize (GObject *object) +{ + eom_debug_message (DEBUG_PLUGINS, "EomStatusbarDatePlugin finalizing"); + + G_OBJECT_CLASS (eom_statusbar_date_plugin_parent_class)->finalize (object); +} + +static void +impl_activate (EomPlugin *plugin, + EomWindow *window) +{ + GtkWidget *statusbar = eom_window_get_statusbar (window); + GtkWidget *thumbview = eom_window_get_thumb_view (window); + WindowData *data; + + eom_debug (DEBUG_PLUGINS); + + data = g_new (WindowData, 1); + data->statusbar_date = gtk_statusbar_new (); + gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (data->statusbar_date), + FALSE); + gtk_widget_set_size_request (data->statusbar_date, 200, 10); + gtk_box_pack_end (GTK_BOX (statusbar), + data->statusbar_date, + FALSE, FALSE, 0); + + data->signal_id = g_signal_connect_after (G_OBJECT (thumbview), "selection_changed", + G_CALLBACK (selection_changed_cb), data); + + statusbar_set_date (GTK_STATUSBAR (data->statusbar_date), + EOM_THUMB_VIEW (eom_window_get_thumb_view (window))); + + g_object_set_data_full (G_OBJECT (window), + WINDOW_DATA_KEY, + data, + (GDestroyNotify) free_window_data); +} + +static void +impl_deactivate (EomPlugin *plugin, + EomWindow *window) +{ + GtkWidget *statusbar = eom_window_get_statusbar (window); + GtkWidget *view = eom_window_get_thumb_view (window); + WindowData *data; + + data = (WindowData *) g_object_get_data (G_OBJECT (window), + WINDOW_DATA_KEY); + + g_signal_handler_disconnect (view, data->signal_id); + + gtk_container_remove (GTK_CONTAINER (statusbar), data->statusbar_date); + + g_object_set_data (G_OBJECT (window), + WINDOW_DATA_KEY, + NULL); +} + +static void +impl_update_ui (EomPlugin *plugin, + EomWindow *window) +{ +} + +static void +eom_statusbar_date_plugin_class_init (EomStatusbarDatePluginClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + EomPluginClass *plugin_class = EOM_PLUGIN_CLASS (klass); + + object_class->finalize = eom_statusbar_date_plugin_finalize; + + plugin_class->activate = impl_activate; + plugin_class->deactivate = impl_deactivate; + plugin_class->update_ui = impl_update_ui; +} diff --git a/plugins/statusbar-date/eom-statusbar-date-plugin.h b/plugins/statusbar-date/eom-statusbar-date-plugin.h new file mode 100644 index 0000000..fccb533 --- /dev/null +++ b/plugins/statusbar-date/eom-statusbar-date-plugin.h @@ -0,0 +1,74 @@ +/* Statusbar Date -- Shows the EXIF date in EOM's statusbar + * + * Copyright (C) 2008 The Free Software Foundation + * + * Author: Claudio Saavedra <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __EOM_STATUSBAR_DATE_PLUGIN_H__ +#define __EOM_STATUSBAR_DATE_PLUGIN_H__ + +#include <glib.h> +#include <glib-object.h> +#include <eom-plugin.h> + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define EOM_TYPE_STATUSBAR_DATE_PLUGIN (eom_statusbar_date_plugin_get_type ()) +#define EOM_STATUSBAR_DATE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EOM_TYPE_STATUSBAR_DATE_PLUGIN, EomStatusbarDatePlugin)) +#define EOM_STATUSBAR_DATE_PLUGIN_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), EOM_TYPE_STATUSBAR_DATE_PLUGIN, EomStatusbarDatePluginClass)) +#define EOM_IS_STATUSBAR_DATE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EOM_TYPE_STATUSBAR_DATE_PLUGIN)) +#define EOM_IS_STATUSBAR_DATE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EOM_TYPE_STATUSBAR_DATE_PLUGIN)) +#define EOM_STATUSBAR_DATE_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EOM_TYPE_STATUSBAR_DATE_PLUGIN, EomStatusbarDatePluginClass)) + +/* Private structure type */ +typedef struct _EomStatusbarDatePluginPrivate EomStatusbarDatePluginPrivate; + +/* + * Main object structure + */ +typedef struct _EomStatusbarDatePlugin EomStatusbarDatePlugin; + +struct _EomStatusbarDatePlugin +{ + EomPlugin parent_instance; +}; + +/* + * Class definition + */ +typedef struct _EomStatusbarDatePluginClass EomStatusbarDatePluginClass; + +struct _EomStatusbarDatePluginClass +{ + EomPluginClass parent_class; +}; + +/* + * Public methods + */ +GType eom_statusbar_date_plugin_get_type (void) G_GNUC_CONST; + +/* All the plugins must implement this function */ +G_MODULE_EXPORT GType register_eom_plugin (GTypeModule *module); + +G_END_DECLS + +#endif /* __EOM_STATUSBAR_DATE_PLUGIN_H__ */ diff --git a/plugins/statusbar-date/statusbar-date.eom-plugin.desktop.in b/plugins/statusbar-date/statusbar-date.eom-plugin.desktop.in new file mode 100644 index 0000000..c90c0f0 --- /dev/null +++ b/plugins/statusbar-date/statusbar-date.eom-plugin.desktop.in @@ -0,0 +1,9 @@ + +[Eom Plugin] +Module=statusbar-date +IAge=2 +_Name=Date in statusbar +_Description=Shows the image date in the window statusbar +Authors=Claudio Saavedra <[email protected]> +Copyright=Copyright © 2008 Free Software Foundation +Website=http://www.gnome.org/projects/eom |