commit bf976be79439011a23267f9325bdc3f2958871f1
parent 26b73fd4d4befee1bf13ad285955000048d42e0d
Author: Jean-Yves Lefort <jylefort@brutele.be>
Date: Mon, 1 Nov 2004 03:43:27 +1000
mail-notification-0.8.0
* The double-click action can now be customized
* A mail reader can now be launched
* IMAP IDLE support has been implemented
* The mail summary layout has been improved
* The mail summary is now also displayed in the tooltip
* The tooltip now supports keyboard activation
* A mail summary popup option allowing to only display recent
mail has been added
* A bug which caused SASL authentication to sometimes fail has
been fixed
* The Gmail parser was getting confused by special strings
embedded in message fields: fixed
Diffstat:
161 files changed, 9967 insertions(+), 4830 deletions(-)
diff --git a/Makefile.in b/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.2 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -40,9 +40,9 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
compile config.guess config.sub depcomp install-sh missing \
mkinstalldirs
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/openssl.m4 \
- $(top_srcdir)/m4/sasl2.m4 $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
+ $(top_srcdir)/m4/openssl.m4 $(top_srcdir)/m4/sasl2.m4 \
+ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
@@ -112,6 +112,7 @@ GNOME_LIBS = @GNOME_LIBS@
GOB2 = @GOB2@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
+ICONV = @ICONV@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -149,6 +150,7 @@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
OBJEXT = @OBJEXT@
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
OPENSSL_LIBS = @OPENSSL_LIBS@
@@ -209,6 +211,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
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_alias = @build_alias@
datadir = @datadir@
@@ -452,12 +456,14 @@ distdir: $(DISTFILES)
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d "$(distdir)/$$subdir" \
- || mkdir "$(distdir)/$$subdir" \
+ || $(mkdir_p) "$(distdir)/$$subdir" \
|| exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="../$(top_distdir)" \
- distdir="../$(distdir)/$$subdir" \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
distdir) \
|| exit 1; \
fi; \
@@ -468,15 +474,15 @@ distdir: $(DISTFILES)
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
dist-gzip: distdir
- $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
dist-bzip2: distdir
- $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__remove_distdir)
dist-tarZ: distdir
- $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__remove_distdir)
dist-shar: distdir
@@ -489,7 +495,7 @@ dist-zip: distdir
$(am__remove_distdir)
dist dist-all: distdir
- $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
@@ -498,11 +504,11 @@ dist dist-all: distdir
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
- bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
+ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.Z*) \
- uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
*.zip*) \
@@ -583,7 +589,7 @@ mostlyclean-generic:
clean-generic:
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
diff --git a/NEWS b/NEWS
@@ -1,3 +1,18 @@
+0.8.0 31 October 2004
+
+ * The double-click action can now be customized
+ * A mail reader can now be launched
+ * IMAP IDLE support has been implemented
+ * The mail summary layout has been improved
+ * The mail summary is now also displayed in the tooltip
+ * The tooltip now supports keyboard activation
+ * A mail summary popup option allowing to only display recent
+ mail has been added
+ * A bug which caused SASL authentication to sometimes fail has
+ been fixed
+ * The Gmail parser was getting confused by special strings
+ embedded in message fields: fixed
+
0.7.1 25 October 2004
* Gmail fixes:
diff --git a/TODO b/TODO
@@ -2,18 +2,3 @@
(RFC 3501, section 11.1)
* See if we can add an Evolution data server mailbox backend
-
-* Add an option to display only the mail that is new since the last
- time the mail summary popup was closed
-
-* Allow to customize the double-click action:
-
- When double-clicked: (o) Display the Mail Summary
- ( ) Display the Properties
- ( ) Run a command: [sylpheed ]
-
-* Allow to monitor multiple IMAP folders per IMAP mailbox
-
-* In the IMAP mailbox properties, add a "Browse" button next to the
- folder entry (it will connect to the IMAP server and retrieve the
- list of folders)
diff --git a/aclocal.m4 b/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.8.5 -*- Autoconf -*-
+# generated automatically by aclocal 1.9.2 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
# Free Software Foundation, Inc.
@@ -392,148 +392,6 @@ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
])dnl
-ll## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*-
-
-dnl AC_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
-# serial 1 AC_PROG_INTLTOOL
-AC_DEFUN([AC_PROG_INTLTOOL],
-[
-
-if test -n "$1"; then
- AC_MSG_CHECKING(for intltool >= $1)
-
- INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ printf "%d", $[1] * 100 + $[2]; }'`
- INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $[2]; }' < ${ac_aux_dir}/intltool-update.in`
- changequote({{,}})
- INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split(${{2}}, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in`
- changequote([,])
-
- if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then
- AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
- else
- AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool $1 or later.])
- exit 1
- fi
-fi
-
- INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
-INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
- INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
-INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
- INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
-
-AC_SUBST(INTLTOOL_DESKTOP_RULE)
-AC_SUBST(INTLTOOL_DIRECTORY_RULE)
-AC_SUBST(INTLTOOL_KEYS_RULE)
-AC_SUBST(INTLTOOL_PROP_RULE)
-AC_SUBST(INTLTOOL_OAF_RULE)
-AC_SUBST(INTLTOOL_PONG_RULE)
-AC_SUBST(INTLTOOL_SERVER_RULE)
-AC_SUBST(INTLTOOL_SHEET_RULE)
-AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
-AC_SUBST(INTLTOOL_UI_RULE)
-AC_SUBST(INTLTOOL_XAM_RULE)
-AC_SUBST(INTLTOOL_KBD_RULE)
-AC_SUBST(INTLTOOL_XML_RULE)
-AC_SUBST(INTLTOOL_CAVES_RULE)
-AC_SUBST(INTLTOOL_SCHEMAS_RULE)
-AC_SUBST(INTLTOOL_THEME_RULE)
-
-# Use the tools built into the package, not the ones that are installed.
-
-INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
-INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
-INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
-
-AC_SUBST(INTLTOOL_EXTRACT)
-AC_SUBST(INTLTOOL_MERGE)
-AC_SUBST(INTLTOOL_UPDATE)
-
-AC_PATH_PROG(INTLTOOL_PERL, perl)
-if test -z "$INTLTOOL_PERL"; then
- AC_MSG_ERROR([perl not found; required for intltool])
-fi
-if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
- AC_MSG_ERROR([perl 5.x required for intltool])
-fi
-if test "x$2" != "xno-xml"; then
- AC_MSG_CHECKING([for XML::Parser])
- if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
- AC_MSG_RESULT([ok])
- else
- AC_MSG_ERROR([XML::Parser perl module is required for intltool])
- fi
-fi
-
-# Remove file type tags (using []) from po/POTFILES.
-
-ifdef([AC_DIVERSION_ICMDS],[
- AC_DIVERT_PUSH(AC_DIVERSION_ICMDS)
- changequote(,)
- mv -f po/POTFILES po/POTFILES.tmp
- sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES
- rm -f po/POTFILES.tmp
- changequote([,])
- AC_DIVERT_POP()
-],[
- ifdef([AC_CONFIG_COMMANDS_PRE],[
- AC_CONFIG_COMMANDS_PRE([
- changequote(,)
- mv -f po/POTFILES po/POTFILES.tmp
- sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES
- rm -f po/POTFILES.tmp
- changequote([,])
- ])
- ])
-])
-
-# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
-
-AC_OUTPUT_COMMANDS([
-
-sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-extract.in > intltool-extract.out
-if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
- rm -f intltool-extract.out
-else
- mv -f intltool-extract.out intltool-extract
-fi
-chmod ugo+x intltool-extract
-chmod u+w intltool-extract
-
-sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" \
- < ${ac_aux_dir}/intltool-merge.in > intltool-merge.out
-if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
- rm -f intltool-merge.out
-else
- mv -f intltool-merge.out intltool-merge
-fi
-chmod ugo+x intltool-merge
-chmod u+w intltool-merge
-
-sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-update.in > intltool-update.out
-if cmp -s intltool-update intltool-update.out 2>/dev/null; then
- rm -f intltool-update.out
-else
- mv -f intltool-update.out intltool-update
-fi
-chmod ugo+x intltool-update
-chmod u+w intltool-update
-
-], INTLTOOL_PERL=${INTLTOOL_PERL} ac_aux_dir=${ac_aux_dir})
-
-])
-
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
@@ -614,14 +472,14 @@ AC_DEFUN(PKG_CHECK_MODULES, [
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
+AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
# Call AM_AUTOMAKE_VERSION so it can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- [AM_AUTOMAKE_VERSION([1.8.5])])
+ [AM_AUTOMAKE_VERSION([1.9.2])])
# AM_AUX_DIR_EXPAND
@@ -689,7 +547,7 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
# AM_CONDITIONAL -*- Autoconf -*-
-# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
+# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
# 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
@@ -726,8 +584,8 @@ else
fi
AC_CONFIG_COMMANDS_PRE(
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.])
+ AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
fi])])
# serial 7 -*- Autoconf -*-
@@ -900,7 +758,8 @@ AC_SUBST([AMDEPBACKSLASH])
# Generate code to set up dependency tracking. -*- Autoconf -*-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
+# Free Software Foundation, Inc.
# 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
@@ -936,27 +795,21 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
else
continue
fi
- grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
- # Extract the definition of DEP_FILES from the Makefile without
- # running `make'.
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running `make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# When using ansi2knr, U may be empty or an underscore; expand it
U=`sed -n 's/^U = //p' < "$mf"`
- test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
- # We invoke sed twice because it is the simplest approach to
- # changing $(DEPDIR) to its actual value in the expansion.
- for file in `sed -n '
- /^DEP_FILES = .*\\\\$/ {
- s/^DEP_FILES = //
- :loop
- s/\\\\$//
- p
- n
- /\\\\$/ b loop
- p
- }
- /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
@@ -1011,7 +864,7 @@ AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
# This macro actually does too much some checks are only needed if
# your package does certain things. But this isn't really a big deal.
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -1087,7 +940,6 @@ AM_MISSING_PROG(AUTOCONF, autoconf)
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
AM_MISSING_PROG(AUTOHEADER, autoheader)
AM_MISSING_PROG(MAKEINFO, makeinfo)
-AM_MISSING_PROG(AMTAR, tar)
AM_PROG_INSTALL_SH
AM_PROG_INSTALL_STRIP
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
@@ -1096,7 +948,9 @@ AC_REQUIRE([AM_PROG_MKDIR_P])dnl
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
_AM_IF_OPTION([no-dependencies],,
[AC_PROVIDE_IFELSE([AC_PROG_CC],
[_AM_DEPENDENCIES(CC)],
@@ -1379,13 +1233,21 @@ fi
# this.)
AC_DEFUN([AM_PROG_MKDIR_P],
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # Keeping the `.' argument allows $(mkdir_p) to be used without
- # argument. Indeed, we sometimes output rules like
+ # We used to keeping the `.' as first argument, in order to
+ # allow $(mkdir_p) to be used without argument. As in
# $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined.
- # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
- # expensive solution, as it forces Make to start a sub-shell.)
- mkdir_p='mkdir -p -- .'
+ # where $(somedir) is conditionally defined. However this is wrong
+ # for two reasons:
+ # 1. if the package is installed by a user who cannot write `.'
+ # make install will fail,
+ # 2. the above comment should most certainly read
+ # $(mkdir_p) $(DESTDIR)$(somedir)
+ # so it does not work when $(somedir) is undefined and
+ # $(DESTDIR) is not.
+ # To support the latter case, we have to write
+ # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
+ # so the `.' trick is pointless.
+ mkdir_p='mkdir -p --'
else
# On NextStep and OpenStep, the `mkdir' command does not
# recognize any option. It will interpret all options as
@@ -1551,6 +1413,115 @@ fi
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
+# Check how to create a tarball. -*- Autoconf -*-
+
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# 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, 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.
+
+# serial 1
+
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of `v7', `ustar', or `pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+# tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+# $(am__untar) < result.tar
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility.
+AM_MISSING_PROG([AMTAR], [tar])
+m4_if([$1], [v7],
+ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
+ [m4_case([$1], [ustar],, [pax],,
+ [m4_fatal([Unknown tar format])])
+AC_MSG_CHECKING([how to create a $1 tar archive])
+# Loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
+# Do not fold the above two line into one, because Tru64 sh and
+# Solaris sh will not grok spaces in the rhs of `-'.
+for _am_tool in $_am_tools
+do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar;
+ do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+done
+rm -rf conftest.dir
+
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
+m4_include([m4/intltool.m4])
m4_include([m4/openssl.m4])
m4_include([m4/sasl2.m4])
dnl AM_GCONF_SOURCE_2
diff --git a/art/Makefile.in b/art/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.2 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -38,9 +38,9 @@ subdir = art
DIST_COMMON = $(dist_app_pixmaps_DATA) $(dist_gnome_pixmaps_DATA) \
$(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/openssl.m4 \
- $(top_srcdir)/m4/sasl2.m4 $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
+ $(top_srcdir)/m4/openssl.m4 $(top_srcdir)/m4/sasl2.m4 \
+ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -48,7 +48,14 @@ CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
-am__installdirs = "$(DESTDIR)$(app_pixmapsdir)" "$(DESTDIR)$(gnome_pixmapsdir)"
+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 = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(app_pixmapsdir)" \
+ "$(DESTDIR)$(gnome_pixmapsdir)"
dist_app_pixmapsDATA_INSTALL = $(INSTALL_DATA)
dist_gnome_pixmapsDATA_INSTALL = $(INSTALL_DATA)
DATA = $(dist_app_pixmaps_DATA) $(dist_gnome_pixmaps_DATA)
@@ -93,6 +100,7 @@ GNOME_LIBS = @GNOME_LIBS@
GOB2 = @GOB2@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
+ICONV = @ICONV@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -130,6 +138,7 @@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
OBJEXT = @OBJEXT@
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
OPENSSL_LIBS = @OPENSSL_LIBS@
@@ -190,6 +199,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
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_alias = @build_alias@
datadir = @datadir@
@@ -259,7 +270,7 @@ install-dist_app_pixmapsDATA: $(dist_app_pixmaps_DATA)
test -z "$(app_pixmapsdir)" || $(mkdir_p) "$(DESTDIR)$(app_pixmapsdir)"
@list='$(dist_app_pixmaps_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " $(dist_app_pixmapsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(app_pixmapsdir)/$$f'"; \
$(dist_app_pixmapsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(app_pixmapsdir)/$$f"; \
done
@@ -267,7 +278,7 @@ install-dist_app_pixmapsDATA: $(dist_app_pixmaps_DATA)
uninstall-dist_app_pixmapsDATA:
@$(NORMAL_UNINSTALL)
@list='$(dist_app_pixmaps_DATA)'; for p in $$list; do \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(app_pixmapsdir)/$$f'"; \
rm -f "$(DESTDIR)$(app_pixmapsdir)/$$f"; \
done
@@ -276,7 +287,7 @@ install-dist_gnome_pixmapsDATA: $(dist_gnome_pixmaps_DATA)
test -z "$(gnome_pixmapsdir)" || $(mkdir_p) "$(DESTDIR)$(gnome_pixmapsdir)"
@list='$(dist_gnome_pixmaps_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " $(dist_gnome_pixmapsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gnome_pixmapsdir)/$$f'"; \
$(dist_gnome_pixmapsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gnome_pixmapsdir)/$$f"; \
done
@@ -284,7 +295,7 @@ install-dist_gnome_pixmapsDATA: $(dist_gnome_pixmaps_DATA)
uninstall-dist_gnome_pixmapsDATA:
@$(NORMAL_UNINSTALL)
@list='$(dist_gnome_pixmaps_DATA)'; for p in $$list; do \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(gnome_pixmapsdir)/$$f'"; \
rm -f "$(DESTDIR)$(gnome_pixmapsdir)/$$f"; \
done
@@ -348,7 +359,7 @@ mostlyclean-generic:
clean-generic:
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
diff --git a/autotools.conf b/autotools.conf
@@ -1,6 +1,10 @@
-export LIBTOOLIZE="libtoolize15 --automake"
-export ACLOCAL="aclocal18 -I m4"
-export AUTOHEADER="autoheader259"
-export AUTOM4TE="autom4te259"
-export AUTOCONF="autoconf259"
-export AUTOMAKE="automake18"
+export AUTOCONF_VER=259
+export AUTOMAKE_VER=19
+export LIBTOOL_VER=15
+
+export LIBTOOLIZE="libtoolize$LIBTOOL_VER --automake"
+export ACLOCAL="aclocal$AUTOMAKE_VER -I m4"
+export AUTOHEADER="autoheader$AUTOCONF_VER"
+export AUTOM4TE="autom4te$AUTOCONF_VER"
+export AUTOCONF="autoconf$AUTOCONF_VER"
+export AUTOMAKE="automake$AUTOMAKE_VER"
diff --git a/configure b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for mail-notification 0.7.1.
+# Generated by GNU Autoconf 2.59 for mail-notification 0.8.0.
#
# Report bugs to <jylefort@brutele.be>.
#
@@ -269,8 +269,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='mail-notification'
PACKAGE_TARNAME='mail-notification'
-PACKAGE_VERSION='0.7.1'
-PACKAGE_STRING='mail-notification 0.7.1'
+PACKAGE_VERSION='0.8.0'
+PACKAGE_STRING='mail-notification 0.8.0'
PACKAGE_BUGREPORT='jylefort@brutele.be'
ac_unique_file="src/mn-main.c"
@@ -311,7 +311,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WARN_CFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GETTEXT_PACKAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL PKG_CONFIG GTK_CFLAGS GTK_LIBS GNOME_CFLAGS GNOME_LIBS GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE GCONFTOOL ORBIT_IDL LIBBONOBO_IDL BONOBO_ACTIVATION_IDL GOB2 OPENSSL_CFLAGS OPENSSL_LIBS SASL_CFLAGS SASL_LIBS SOUP_CFLAGS SOUP_LIBS GMIME_CFLAGS GMIME_LIBS WITH_MBOX_TRUE WITH_MBOX_FALSE WITH_MH_TRUE WITH_MH_FALSE WITH_MAILDIR_TRUE WITH_MAILDIR_FALSE WITH_POP3_TRUE WITH_POP3_FALSE WITH_IMAP_TRUE WITH_IMAP_FALSE WITH_POP3_OR_IMAP_TRUE WITH_POP3_OR_IMAP_FALSE WITH_POP3_OR_IMAP_OR_GMAIL_TRUE WITH_POP3_OR_IMAP_OR_GMAIL_FALSE WITH_SSL_TRUE WITH_SSL_FALSE WITH_SASL_TRUE WITH_SASL_FALSE WITH_SYLPHEED_TRUE WITH_SYLPHEED_FALSE WITH_GMAIL_TRUE WITH_GMAIL_FALSE WITH_MIME_TRUE WITH_MIME_FALSE WITH_REGRESSION_TESTS_TRUE WITH_REGRESSION_TESTS_FALSE LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WARN_CFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GETTEXT_PACKAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL ICONV MSGMERGE PKG_CONFIG GTK_CFLAGS GTK_LIBS GNOME_CFLAGS GNOME_LIBS GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE GCONFTOOL ORBIT_IDL LIBBONOBO_IDL BONOBO_ACTIVATION_IDL GOB2 OPENSSL_CFLAGS OPENSSL_LIBS SASL_CFLAGS SASL_LIBS SOUP_CFLAGS SOUP_LIBS GMIME_CFLAGS GMIME_LIBS WITH_MBOX_TRUE WITH_MBOX_FALSE WITH_MH_TRUE WITH_MH_FALSE WITH_MAILDIR_TRUE WITH_MAILDIR_FALSE WITH_POP3_TRUE WITH_POP3_FALSE WITH_IMAP_TRUE WITH_IMAP_FALSE WITH_POP3_OR_IMAP_TRUE WITH_POP3_OR_IMAP_FALSE WITH_POP3_OR_IMAP_OR_GMAIL_TRUE WITH_POP3_OR_IMAP_OR_GMAIL_FALSE WITH_SSL_TRUE WITH_SSL_FALSE WITH_SASL_TRUE WITH_SASL_FALSE WITH_SYLPHEED_TRUE WITH_SYLPHEED_FALSE WITH_GMAIL_TRUE WITH_GMAIL_FALSE WITH_MIME_TRUE WITH_MIME_FALSE WITH_REGRESSION_TESTS_TRUE WITH_REGRESSION_TESTS_FALSE LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -780,7 +780,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures mail-notification 0.7.1 to adapt to many kinds of systems.
+\`configure' configures mail-notification 0.8.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -842,7 +842,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of mail-notification 0.7.1:";;
+ short | recursive ) echo "Configuration of mail-notification 0.8.0:";;
esac
cat <<\_ACEOF
@@ -986,7 +986,7 @@ fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-mail-notification configure 0.7.1
+mail-notification configure 0.8.0
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1000,7 +1000,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by mail-notification $as_me 0.7.1, which was
+It was created by mail-notification $as_me 0.8.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1512,7 +1512,7 @@ fi;
### initialization
-am__api_version="1.8"
+am__api_version="1.9"
ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
if test -f $ac_dir/install-sh; then
@@ -1689,13 +1689,21 @@ echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
fi
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # Keeping the `.' argument allows $(mkdir_p) to be used without
- # argument. Indeed, we sometimes output rules like
+ # We used to keeping the `.' as first argument, in order to
+ # allow $(mkdir_p) to be used without argument. As in
# $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined.
- # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
- # expensive solution, as it forces Make to start a sub-shell.)
- mkdir_p='mkdir -p -- .'
+ # where $(somedir) is conditionally defined. However this is wrong
+ # for two reasons:
+ # 1. if the package is installed by a user who cannot write `.'
+ # make install will fail,
+ # 2. the above comment should most certainly read
+ # $(mkdir_p) $(DESTDIR)$(somedir)
+ # so it does not work when $(somedir) is undefined and
+ # $(DESTDIR) is not.
+ # To support the latter case, we have to write
+ # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
+ # so the `.' trick is pointless.
+ mkdir_p='mkdir -p --'
else
# On NextStep and OpenStep, the `mkdir' command does not
# recognize any option. It will interpret all options as
@@ -1811,7 +1819,7 @@ fi
# Define the identity of the package.
PACKAGE='mail-notification'
- VERSION='0.7.1'
+ VERSION='0.8.0'
cat >>confdefs.h <<_ACEOF
@@ -1839,9 +1847,6 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
-AMTAR=${AMTAR-"${am_missing_run}tar"}
-
install_sh=${install_sh-"$am_aux_dir/install-sh"}
# Installed binaries are usually stripped using `strip' when the user
@@ -1934,6 +1939,13 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
+# Always define AMTAR for backward compatibility.
+
+AMTAR=${AMTAR-"${am_missing_run}tar"}
+
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
+
+
@@ -5067,6 +5079,167 @@ echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
fi
fi
+# Extract the first word of "iconv", so it can be a program name with args.
+set dummy iconv; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_ICONV+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $ICONV in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ICONV="$ICONV" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ICONV="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
+ test -z "$ac_cv_path_ICONV" && ac_cv_path_ICONV="iconv"
+ ;;
+esac
+fi
+ICONV=$ac_cv_path_ICONV
+
+if test -n "$ICONV"; then
+ echo "$as_me:$LINENO: result: $ICONV" >&5
+echo "${ECHO_T}$ICONV" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+# Extract the first word of "msgfmt", so it can be a program name with args.
+set dummy msgfmt; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_MSGFMT+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $MSGFMT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
+ test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
+ ;;
+esac
+fi
+MSGFMT=$ac_cv_path_MSGFMT
+
+if test -n "$MSGFMT"; then
+ echo "$as_me:$LINENO: result: $MSGFMT" >&5
+echo "${ECHO_T}$MSGFMT" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+# Extract the first word of "msgmerge", so it can be a program name with args.
+set dummy msgmerge; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_MSGMERGE+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $MSGMERGE in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
+ test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE="msgmerge"
+ ;;
+esac
+fi
+MSGMERGE=$ac_cv_path_MSGMERGE
+
+if test -n "$MSGMERGE"; then
+ echo "$as_me:$LINENO: result: $MSGMERGE" >&5
+echo "${ECHO_T}$MSGMERGE" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+# Extract the first word of "xgettext", so it can be a program name with args.
+set dummy xgettext; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_XGETTEXT+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $XGETTEXT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
+ test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="xgettext"
+ ;;
+esac
+fi
+XGETTEXT=$ac_cv_path_XGETTEXT
+
+if test -n "$XGETTEXT"; then
+ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
+echo "${ECHO_T}$XGETTEXT" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+
# Remove file type tags (using []) from po/POTFILES.
@@ -5077,7 +5250,7 @@ fi
# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
- ac_config_commands="$ac_config_commands default-2"
+ ac_config_commands="$ac_config_commands intltool"
@@ -8303,7 +8476,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
-This file was extended by mail-notification $as_me 0.7.1, which was
+This file was extended by mail-notification $as_me 0.8.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -8366,7 +8539,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-mail-notification config.status 0.7.1
+mail-notification config.status 0.8.0
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
@@ -8467,7 +8640,9 @@ cat >>$CONFIG_STATUS <<_ACEOF
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-INTLTOOL_PERL=${INTLTOOL_PERL} ac_aux_dir=${ac_aux_dir}
+INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir=${ac_aux_dir}
+INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' ICONV='${ICONV}'
+MSGFMT='${MSGFMT}' MSGMERGE='${MSGMERGE}' XGETTEXT='${XGETTEXT}'
_ACEOF
@@ -8490,7 +8665,7 @@ do
"ui/Makefile" ) CONFIG_FILES="$CONFIG_FILES ui/Makefile" ;;
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
- "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
+ "intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
@@ -8589,7 +8764,6 @@ s,@AUTOCONF@,$AUTOCONF,;t t
s,@AUTOMAKE@,$AUTOMAKE,;t t
s,@AUTOHEADER@,$AUTOHEADER,;t t
s,@MAKEINFO@,$MAKEINFO,;t t
-s,@AMTAR@,$AMTAR,;t t
s,@install_sh@,$install_sh,;t t
s,@STRIP@,$STRIP,;t t
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
@@ -8598,6 +8772,9 @@ s,@mkdir_p@,$mkdir_p,;t t
s,@AWK@,$AWK,;t t
s,@SET_MAKE@,$SET_MAKE,;t t
s,@am__leading_dot@,$am__leading_dot,;t t
+s,@AMTAR@,$AMTAR,;t t
+s,@am__tar@,$am__tar,;t t
+s,@am__untar@,$am__untar,;t t
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
s,@MAINT@,$MAINT,;t t
@@ -8655,6 +8832,8 @@ s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
+s,@ICONV@,$ICONV,;t t
+s,@MSGMERGE@,$MSGMERGE,;t t
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
s,@GTK_LIBS@,$GTK_LIBS,;t t
@@ -9327,27 +9506,21 @@ echo X"$mf" |
else
continue
fi
- grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
- # Extract the definition of DEP_FILES from the Makefile without
- # running `make'.
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running `make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# When using ansi2knr, U may be empty or an underscore; expand it
U=`sed -n 's/^U = //p' < "$mf"`
- test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
- # We invoke sed twice because it is the simplest approach to
- # changing $(DEPDIR) to its actual value in the expansion.
- for file in `sed -n '
- /^DEP_FILES = .*\\\\$/ {
- s/^DEP_FILES = //
- :loop
- s/\\\\$//
- p
- n
- /\\\\$/ b loop
- p
- }
- /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
@@ -9396,9 +9569,17 @@ done
default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
esac ;;
- default-2 )
+ intltool )
+
+intltool_edit="-e 's:@INTLTOOL_EXTRACT@:`pwd`/intltool-extract:g' \
+ -e 's:@INTLTOOL_ICONV@:${ICONV}:g' \
+ -e 's:@INTLTOOL_MSGFMT@:${MSGFMT}:g' \
+ -e 's:@INTLTOOL_MSGMERGE@:${MSGMERGE}:g' \
+ -e 's:@INTLTOOL_XGETTEXT@:${XGETTEXT}:g' \
+ -e 's:@INTLTOOL_PERL@:${INTLTOOL_PERL}:g'"
-sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-extract.in > intltool-extract.out
+eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-extract.in \
+ > intltool-extract.out
if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
rm -f intltool-extract.out
else
@@ -9407,8 +9588,8 @@ fi
chmod ugo+x intltool-extract
chmod u+w intltool-extract
-sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" \
- < ${ac_aux_dir}/intltool-merge.in > intltool-merge.out
+eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-merge.in \
+ > intltool-merge.out
if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
rm -f intltool-merge.out
else
@@ -9417,7 +9598,8 @@ fi
chmod ugo+x intltool-merge
chmod u+w intltool-merge
-sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-update.in > intltool-update.out
+eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-update.in \
+ > intltool-update.out
if cmp -s intltool-update intltool-update.out 2>/dev/null; then
rm -f intltool-update.out
else
diff --git a/configure.ac b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(mail-notification, 0.7.1, jylefort@brutele.be)
+AC_INIT(mail-notification, 0.8.0, jylefort@brutele.be)
AC_CONFIG_SRCDIR(src/mn-main.c)
AC_PREREQ(2.59)
diff --git a/data/Makefile.in b/data/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.2 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -37,9 +37,9 @@ POST_UNINSTALL = :
subdir = data
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/openssl.m4 \
- $(top_srcdir)/m4/sasl2.m4 $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
+ $(top_srcdir)/m4/openssl.m4 $(top_srcdir)/m4/sasl2.m4 \
+ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -47,7 +47,15 @@ CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
-am__installdirs = "$(DESTDIR)$(applicationsdir)" "$(DESTDIR)$(schemasdir)" "$(DESTDIR)$(serverdir)" "$(DESTDIR)$(settingsdir)" "$(DESTDIR)$(soundlistdir)"
+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 = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(applicationsdir)" \
+ "$(DESTDIR)$(schemasdir)" "$(DESTDIR)$(serverdir)" \
+ "$(DESTDIR)$(settingsdir)" "$(DESTDIR)$(soundlistdir)"
applicationsDATA_INSTALL = $(INSTALL_DATA)
schemasDATA_INSTALL = $(INSTALL_DATA)
serverDATA_INSTALL = $(INSTALL_DATA)
@@ -96,6 +104,7 @@ GNOME_LIBS = @GNOME_LIBS@
GOB2 = @GOB2@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
+ICONV = @ICONV@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -133,6 +142,7 @@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
OBJEXT = @OBJEXT@
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
OPENSSL_LIBS = @OPENSSL_LIBS@
@@ -193,6 +203,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
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_alias = @build_alias@
datadir = @datadir@
@@ -281,7 +293,7 @@ install-applicationsDATA: $(applications_DATA)
test -z "$(applicationsdir)" || $(mkdir_p) "$(DESTDIR)$(applicationsdir)"
@list='$(applications_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " $(applicationsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(applicationsdir)/$$f'"; \
$(applicationsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(applicationsdir)/$$f"; \
done
@@ -289,7 +301,7 @@ install-applicationsDATA: $(applications_DATA)
uninstall-applicationsDATA:
@$(NORMAL_UNINSTALL)
@list='$(applications_DATA)'; for p in $$list; do \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(applicationsdir)/$$f'"; \
rm -f "$(DESTDIR)$(applicationsdir)/$$f"; \
done
@@ -298,7 +310,7 @@ install-schemasDATA: $(schemas_DATA)
test -z "$(schemasdir)" || $(mkdir_p) "$(DESTDIR)$(schemasdir)"
@list='$(schemas_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " $(schemasDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(schemasdir)/$$f'"; \
$(schemasDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(schemasdir)/$$f"; \
done
@@ -306,7 +318,7 @@ install-schemasDATA: $(schemas_DATA)
uninstall-schemasDATA:
@$(NORMAL_UNINSTALL)
@list='$(schemas_DATA)'; for p in $$list; do \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(schemasdir)/$$f'"; \
rm -f "$(DESTDIR)$(schemasdir)/$$f"; \
done
@@ -315,7 +327,7 @@ install-serverDATA: $(server_DATA)
test -z "$(serverdir)" || $(mkdir_p) "$(DESTDIR)$(serverdir)"
@list='$(server_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " $(serverDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(serverdir)/$$f'"; \
$(serverDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(serverdir)/$$f"; \
done
@@ -323,7 +335,7 @@ install-serverDATA: $(server_DATA)
uninstall-serverDATA:
@$(NORMAL_UNINSTALL)
@list='$(server_DATA)'; for p in $$list; do \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(serverdir)/$$f'"; \
rm -f "$(DESTDIR)$(serverdir)/$$f"; \
done
@@ -332,7 +344,7 @@ install-settingsDATA: $(settings_DATA)
test -z "$(settingsdir)" || $(mkdir_p) "$(DESTDIR)$(settingsdir)"
@list='$(settings_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " $(settingsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(settingsdir)/$$f'"; \
$(settingsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(settingsdir)/$$f"; \
done
@@ -340,7 +352,7 @@ install-settingsDATA: $(settings_DATA)
uninstall-settingsDATA:
@$(NORMAL_UNINSTALL)
@list='$(settings_DATA)'; for p in $$list; do \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(settingsdir)/$$f'"; \
rm -f "$(DESTDIR)$(settingsdir)/$$f"; \
done
@@ -349,7 +361,7 @@ install-soundlistDATA: $(soundlist_DATA)
test -z "$(soundlistdir)" || $(mkdir_p) "$(DESTDIR)$(soundlistdir)"
@list='$(soundlist_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " $(soundlistDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(soundlistdir)/$$f'"; \
$(soundlistDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(soundlistdir)/$$f"; \
done
@@ -357,7 +369,7 @@ install-soundlistDATA: $(soundlist_DATA)
uninstall-soundlistDATA:
@$(NORMAL_UNINSTALL)
@list='$(soundlist_DATA)'; for p in $$list; do \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
+ f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(soundlistdir)/$$f'"; \
rm -f "$(DESTDIR)$(soundlistdir)/$$f"; \
done
@@ -422,11 +434,12 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
+@GCONF_SCHEMAS_INSTALL_FALSE@install-data-local:
clean: clean-am
clean-am: clean-generic mostlyclean-am
diff --git a/data/mail-notification.schemas.in b/data/mail-notification.schemas.in
@@ -65,6 +65,28 @@
</locale>
</schema>
<schema>
+ <key>/schemas/apps/mail-notification/commands/mail-reader/enabled</key>
+ <applyto>/apps/mail-notification/commands/mail-reader/enabled</applyto>
+ <owner>mail-notification</owner>
+ <type>bool</type>
+ <default>0</default>
+ <locale name="C">
+ <short>Set a mail reader</short>
+ <long>Whether to set a mail reader or not.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/mail-notification/commands/mail-reader/command</key>
+ <applyto>/apps/mail-notification/commands/mail-reader/command</applyto>
+ <owner>mail-notification</owner>
+ <type>string</type>
+ <default>evolution</default>
+ <locale name="C">
+ <short>Mail reader command</short>
+ <long>The command to run to launch the mail reader.</long>
+ </locale>
+ </schema>
+ <schema>
<key>/schemas/apps/mail-notification/mailboxes</key>
<applyto>/apps/mail-notification/mailboxes</applyto>
<owner>mail-notification</owner>
@@ -251,5 +273,27 @@
<long>The number of pixels to leave between the top or bottom side of the screen and the mail summary popup.</long>
</locale>
</schema>
+ <schema>
+ <key>/schemas/apps/mail-notification/mail-summary-popup/only-recent</key>
+ <applyto>/apps/mail-notification/mail-summary-popup/only-recent</applyto>
+ <owner>mail-notification</owner>
+ <type>bool</type>
+ <default>0</default>
+ <locale name="C">
+ <short>Only display recent mail in mail summary popup</short>
+ <long>Whether to hide previously displayed mail in the mail summary popup or not.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/apps/mail-notification/double-click-action</key>
+ <applyto>/apps/mail-notification/double-click-action</applyto>
+ <owner>mail-notification</owner>
+ <type>string</type>
+ <default>display-mail-summary</default>
+ <locale name="C">
+ <short>Double-click action</short>
+ <long>The action to perform when the icon is double-clicked. Must be "display-mail-summary" or "launch-mail-reader".</long>
+ </locale>
+ </schema>
</schemalist>
</gconfschemafile>
diff --git a/help/C/Makefile.in b/help/C/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.2 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -99,9 +99,9 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(top_srcdir)/help/omf.make $(top_srcdir)/help/xmldocs.make
subdir = help/C
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/openssl.m4 \
- $(top_srcdir)/m4/sasl2.m4 $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
+ $(top_srcdir)/m4/openssl.m4 $(top_srcdir)/m4/sasl2.m4 \
+ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -150,6 +150,7 @@ GNOME_LIBS = @GNOME_LIBS@
GOB2 = @GOB2@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
+ICONV = @ICONV@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -187,6 +188,7 @@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
OBJEXT = @OBJEXT@
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
OPENSSL_LIBS = @OPENSSL_LIBS@
@@ -247,6 +249,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
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_alias = @build_alias@
datadir = @datadir@
@@ -380,7 +384,7 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@@ -433,15 +437,15 @@ ps-am:
uninstall-am: uninstall-info-am uninstall-local
-.PHONY: all all-am check check-am clean clean-generic distclean \
- distclean-generic distdir dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am \
- install-data-local install-exec install-exec-am install-info \
- install-info-am install-man install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \
- uninstall-local
+.PHONY: all all-am check check-am clean clean-generic dist-hook \
+ distclean distclean-generic distdir dvi dvi-am html html-am \
+ info info-am install install-am install-data install-data-am \
+ install-data-hook install-data-local install-exec \
+ install-exec-am install-info install-info-am install-man \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
+ uninstall-info-am uninstall-local
omf: omf_timestamp
diff --git a/help/C/mail-notification-C.omf b/help/C/mail-notification-C.omf
@@ -12,9 +12,9 @@
Mail Notification Manual
</title>
<date>
- 2004-10-06
+ 2004-10-31
</date>
- <version identifier="2.6" date="2004-10-25" description="Seventh release"/>
+ <version identifier="2.7" date="2004-10-31" description="Eighth release"/>
<subject category="GNOME|Internet"/>
<description>
Mail Notification Manual
diff --git a/help/C/mail-notification.xml b/help/C/mail-notification.xml
@@ -2,9 +2,9 @@
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY app "<application>Mail Notification</application>">
- <!ENTITY appversion "0.7.1">
- <!ENTITY manrevision "2.6">
- <!ENTITY date "Monday, October 25, 2004">
+ <!ENTITY appversion "0.8.0">
+ <!ENTITY manrevision "2.7">
+ <!ENTITY date "Sunday, October 31, 2004">
<!ENTITY project "The Mail Notification Project">
@@ -26,7 +26,7 @@
<!ENTITY gnomevfs "<link linkend="gnomevfs">GnomeVFS</link>">
]>
-<!-- $Id: mail-notification.xml,v 1.66 2004/10/25 13:21:59 jylefort Exp $ -->
+<!-- $Id: mail-notification.xml,v 1.72 2004/10/31 17:38:57 jylefort Exp $ -->
<!-- Mail Notification Manual -->
<!-- Copyright (c) 2004 Jean-Yves Lefort -->
@@ -134,6 +134,17 @@
</revdescription>
</revision>
<revision>
+ <revnumber>Mail Notification Manual V2.6</revnumber>
+ <date>Monday, October 25, 2004</date>
+ <revdescription>
+ <para role="author">
+ Jean-Yves Lefort
+ <email>jylefort@brutele.be</email>
+ </para>
+ <para role="publisher">&project;</para>
+ </revdescription>
+ </revision>
+ <revision>
<revnumber>Mail Notification Manual V2.5</revnumber>
<date>Wednesday, October 6, 2004</date>
<revdescription>
@@ -411,7 +422,8 @@
<para>
Leaving your mouse over the icon will reveal more details
about the status of your mailboxes. Double-clicking on the
- icon will display the <link linkend="mail-summary">Mail Summary</link> dialog.
+ icon will perform the action specified in the
+ <link linkend="double-click-action">Double-click Action</link> setting.
</para>
</sect2>
</sect1>
@@ -481,11 +493,25 @@
<term><guilabel>Commands</guilabel></term>
<listitem>
<para>
- You can configure commands to be executed <guilabel>when new mail arrives</guilabel>
+ You can specify a <guilabel>mail reader</guilabel>
+ (which can be launched from various parts of &app;), as
+ well as configure commands to be executed <guilabel>when new mail arrives</guilabel>
and <guilabel>when all mail is read</guilabel>.
</para>
</listitem>
</varlistentry>
+ <varlistentry id="double-click-action">
+ <term><guilabel>Double-click Action</guilabel></term>
+ <listitem>
+ <para>
+ You can choose an action to be performed when the mail
+ icon is double-clicked: <guilabel>display the mail summary dialog</guilabel>
+ or <guilabel>launch the mail reader</guilabel>.
+ The latter is only available if a mail reader is
+ configured in the <link linkend="commands">Commands</link> properties.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</sect2>
@@ -545,8 +571,8 @@
<term><guilabel>Enable mail summary popup</guilabel></term>
<listitem>
<para>
- Whether to display the mail summary popup when new
- mail arrives or not.
+ If this option is enabled, the mail summary popup
+ will be displayed when new mail arrives.
<note>
<para>
The mail summary popup will not be displayed if the <link linkend="mail-summary">Mail Summary</link>
@@ -560,8 +586,9 @@
<term><guilabel>Automatically close after</guilabel></term>
<listitem>
<para>
- Whether to automatically close the mail summary
- popup after a delay has elapsed or not.
+ If this option is enabled, the mail summary popup
+ will be automatically closed after a delay has
+ elapsed.
<note>
<para>
The timer is restarted when new mail arrives.
@@ -570,6 +597,15 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><guilabel>Only display recent mail</guilabel></term>
+ <listitem>
+ <para>
+ If this option is enabled, the mail summary popup
+ will hide previously displayed mail.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</listitem>
</varlistentry>
@@ -878,21 +914,49 @@
changes.
</para>
<para>
- For immediate notification to be supported, &gnomevfs; must be compiled
- with <ulink url="http://oss.sgi.com/projects/fam" type="http">FAM</ulink> support,
- and FAM must be configured properly.
- </para>
- <para>
- Refer to the
- <citerefentry><refentrytitle>fam</refentrytitle><manvolnum>1</manvolnum></citerefentry>
- manual page for more details.
+ Requirements for immediate notification to be enabled:
</para>
+ <variablelist>
+ <varlistentry>
+ <term>&mbox;, &mh;, &maildir; and &sylpheed; mailboxes:</term>
+ <listitem>
+ <para>
+ &gnomevfs; must be compiled
+ with <ulink url="http://oss.sgi.com/projects/fam" type="http">FAM</ulink> support,
+ and FAM must be configured properly.
+ </para>
+ <para>
+ Refer to the
+ <citerefentry><refentrytitle>fam</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ manual page for more details.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>&imap; mailboxes:</term>
+ <listitem>
+ <para>
+ The &imap; server must support the IDLE extension, as defined by
+ <ulink url="http://www.ietf.org/rfc/rfc2177.txt" type="http">RFC 2177</ulink>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>&pop3; and &gmail; mailboxes:</term>
+ <listitem>
+ <para>
+ Immediate notification is not supported.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<note>
<para>
- Immediate notification is only supported for local mailboxes.
- Mailboxes which do not support it will be checked periodically
- according to the <link linkend="delay-between-mail-checks">Delay between mail checks</link>
- setting.
+ If immediate notification cannot be enabled for a mailbox
+ (either because that type of mailbox does not support it or
+ because the requirements are not met), the mailbox will be
+ checked periodically according to the
+ <link linkend="delay-between-mail-checks">Delay between mail checks</link> setting.
</para>
</note>
</sect2>
@@ -940,11 +1004,13 @@ endif</programlisting>
<title>IMAP Implementation</title>
<para>
The &app; &imap; implementation strictly conforms to
- <ulink url="http://www.ietf.org/rfc/rfc3501.txt" type="http">RFC 3501</ulink>.
+ <ulink url="http://www.ietf.org/rfc/rfc3501.txt" type="http">RFC 3501</ulink>
+ and
+ <ulink url="http://www.ietf.org/rfc/rfc2177.txt" type="http">RFC 2177</ulink>.
</para>
<para>
The AUTHENTICATE and LOGIN authentication mechanisms are
- supported.
+ supported, and the IDLE extension is implemented.
</para>
<para>
The authentication logic can be represented with the following
diff --git a/help/Makefile.in b/help/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.2 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -36,9 +36,9 @@ POST_UNINSTALL = :
subdir = help
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/openssl.m4 \
- $(top_srcdir)/m4/sasl2.m4 $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
+ $(top_srcdir)/m4/openssl.m4 $(top_srcdir)/m4/sasl2.m4 \
+ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -96,6 +96,7 @@ GNOME_LIBS = @GNOME_LIBS@
GOB2 = @GOB2@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
+ICONV = @ICONV@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -133,6 +134,7 @@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
OBJEXT = @OBJEXT@
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
OPENSSL_LIBS = @OPENSSL_LIBS@
@@ -193,6 +195,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
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_alias = @build_alias@
datadir = @datadir@
@@ -395,15 +399,17 @@ distdir: $(DISTFILES)
|| exit 1; \
fi; \
done
- list='$(SUBDIRS)'; for subdir in $$list; do \
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d "$(distdir)/$$subdir" \
- || mkdir "$(distdir)/$$subdir" \
+ || $(mkdir_p) "$(distdir)/$$subdir" \
|| exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="../$(top_distdir)" \
- distdir="../$(distdir)/$$subdir" \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
distdir) \
|| exit 1; \
fi; \
@@ -432,7 +438,7 @@ mostlyclean-generic:
clean-generic:
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
diff --git a/intltool-extract.in b/intltool-extract.in
@@ -32,7 +32,7 @@
## Release information
my $PROGRAM = "intltool-extract";
my $PACKAGE = "intltool";
-my $VERSION = "0.31";
+my $VERSION = "0.31.3";
## Loaded modules
use strict;
@@ -266,11 +266,12 @@ sub type_keys {
sub type_xml {
### For generic translatable XML files ###
- while ($input =~ /\s_$w+\s*=\s*\"([^"]+)\"/sg) { # "
- $messages{entity_decode_minimal($1)} = [];
+ while ($input =~ /(?:<!--([^>]*?)-->[^\n]*\n?[^\n]*)?\s_$w+\s*=\s*\"([^"]+)\"/sg) { # "
+ $messages{entity_decode_minimal($2)} = [];
+ $comments{entity_decode_minimal($2)} = $1 if (defined($1));
}
- while ($input =~ /(?:<!--([^>]*?)-->\s*)?<_($w+)(?: xml:space="($w+)")?>(.+?)<\/_\2>/sg) {
+ while ($input =~ /(?:<!--([^>]*?)-->\s*)?<_($w+)(?: xml:space="($w+)")?[^>]*>(.+?)<\/_\2>/sg) {
$_ = $4;
if (!defined($3) || $3 ne "preserve") {
s/\s+/ /g;
diff --git a/intltool-merge.in b/intltool-merge.in
@@ -35,7 +35,7 @@
## Release information
my $PROGRAM = "intltool-merge";
my $PACKAGE = "intltool";
-my $VERSION = "0.31";
+my $VERSION = "0.31.3";
## Loaded modules
use strict;
@@ -91,7 +91,7 @@ my $OUTFILE;
my %po_files_by_lang = ();
my %translations = ();
-my $iconv = $ENV{"INTLTOOL_ICONV"} || "iconv";
+my $iconv = $ENV{"ICONV"} || $ENV{"INTLTOOL_ICONV"} || "@INTLTOOL_ICONV@";
# Use this instead of \w for XML files to handle more possible characters.
my $w = "[-A-Za-z0-9._:]";
diff --git a/intltool-update.in b/intltool-update.in
@@ -30,7 +30,7 @@
## Release information
my $PROGRAM = "intltool-update";
-my $VERSION = "0.31";
+my $VERSION = "0.31.3";
my $PACKAGE = "intltool";
## Loaded modules
@@ -525,7 +525,7 @@ sub Console_WriteError_InvalidOption
sub GenerateHeaders
{
- my $EXTRACT = `which intltool-extract 2>/dev/null`;
+ my $EXTRACT = "@INTLTOOL_EXTRACT@";
chomp $EXTRACT;
$EXTRACT = $ENV{"INTLTOOL_EXTRACT"} if $ENV{"INTLTOOL_EXTRACT"};
@@ -579,13 +579,10 @@ sub GenerateHeaders
#
sub GeneratePOTemplate
{
- my $XGETTEXT = `which xgettext 2>/dev/null`;
- my $XGETTEXT_ARGS = '';
+ my $XGETTEXT = $ENV{"XGETTEXT"} || "@INTLTOOL_XGETTEXT@";
+ my $XGETTEXT_ARGS = $ENV{"XGETTEXT_ARGS"} || '';
chomp $XGETTEXT;
- $XGETTEXT = $ENV{"XGETTEXT"} if $ENV{"XGETTEXT"};
- $XGETTEXT_ARGS = $ENV{"XGETTEXT_ARGS"} if $ENV{"XGETTEXT_ARGS"};
-
if (! -x $XGETTEXT)
{
print STDERR " *** xgettext is not found on this system!\n".
@@ -597,7 +594,7 @@ sub GeneratePOTemplate
open INFILE, $POTFILES_in;
unlink "POTFILES.in.temp";
- open OUTFILE, ">POTFILES.in.temp";
+ open OUTFILE, ">POTFILES.in.temp" or die("Cannot open POTFILES.in.temp for writing");
my $gettext_support_nonascii = 0;
@@ -753,6 +750,7 @@ sub POFile_Update
{
-f "$MODULE.pot" or die "$PROGRAM: $MODULE.pot does not exist.\n";
+ my $MSGMERGE = $ENV{"MSGMERGE"} || "@INTLTOOL_MSGMERGE@";
my ($lang, $outfile) = @_;
print "Merging $lang.po with $MODULE.pot..." if $VERBOSE;
@@ -761,7 +759,7 @@ sub POFile_Update
$outfile = "$lang.po" if ($outfile eq "");
# I think msgmerge won't overwrite old file if merge is not successful
- system ("msgmerge", "-o", $outfile, $infile, "$MODULE.pot");
+ system ("$MSGMERGE", "-o", $outfile, $infile, "$MODULE.pot");
}
sub Console_WriteError_NotExisting
@@ -795,14 +793,17 @@ sub POFile_GetLanguage ($)
sub Console_Write_TranslationStatus
{
my ($lang, $output_file) = @_;
+ my $MSGFMT = $ENV{"MSGFMT"} || "@INTLTOOL_MSGFMT@";
$output_file = "$lang.po" if ($output_file eq "");
- system ("msgfmt", "-o", "/dev/null", "--statistics", $output_file);
+ system ("$MSGFMT", "-o", "/dev/null", "--statistics", $output_file);
}
sub Console_Write_CoverageReport
{
+ my $MSGFMT = $ENV{"MSGFMT"} || "@INTLTOOL_MSGFMT@";
+
&GatherPOFiles;
foreach my $lang (@languages)
@@ -816,7 +817,7 @@ sub Console_Write_CoverageReport
foreach my $lang (@languages)
{
print "$lang: ";
- system ("msgfmt", "-o", "/dev/null", "--statistics", "$lang.po");
+ system ("$MSGFMT", "-o", "/dev/null", "--statistics", "$lang.po");
}
}
@@ -833,7 +834,7 @@ sub SubstituteVariable
{
if (/^(\w+)=(.*)$/)
{
- ($varhash{$1} = $2) =~ s/^["'](.*)["']$/$1)/;
+ ($varhash{$1} = $2) =~ s/^["'](.*)["']$/$1/;
}
}
@@ -845,7 +846,10 @@ sub SubstituteVariable
return SubstituteVariable ("$untouched$sub$rest");
}
- return $str;
+
+ # We're using Perl backticks ` and "echo -n" here in order to
+ # expand any shell escapes (such as backticks themselves) in every variable
+ return `echo -n "$str"`;
}
sub CONF_Handle_Open
@@ -954,19 +958,23 @@ sub FindPackageName
if ($conf_source =~ /^AM_INIT_AUTOMAKE\(([^,\)]+),([^,\)]+)/m)
{
($name, $version) = ($1, $2);
- ($varhash{"AC_PACKAGE_NAME"} = $name) =~ s/[\[\]\s]//g;
- ($varhash{"PACKAGE"} = $name) =~ s/[\[\]\s]//g;
- ($varhash{"AC_PACKAGE_VERSION"} = $version) =~ s/[\[\]\s]//g;
- ($varhash{"VERSION"} = $version) =~ s/[\[\]\s]//g;
- }
+ $name =~ s/[\[\]\s]//g;
+ $version =~ s/[\[\]\s]//g;
+ $varhash{"AC_PACKAGE_NAME"} = $name;
+ $varhash{"PACKAGE"} = $name;
+ $varhash{"AC_PACKAGE_VERSION"} = $version;
+ $varhash{"VERSION"} = $version;
+ }
if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)/m)
{
($name, $version) = ($1, $2);
- ($varhash{"AC_PACKAGE_NAME"} = $name) =~ s/[\[\]\s]//g;
- ($varhash{"PACKAGE"} = $name) =~ s/[\[\]\s]//g;
- ($varhash{"AC_PACKAGE_VERSION"} = $version) =~ s/[\[\]\s]//g;
- ($varhash{"VERSION"} = $version) =~ s/[\[\]\s]//g;
+ $name =~ s/[\[\]\s]//g;
+ $version =~ s/[\[\]\s]//g;
+ $varhash{"AC_PACKAGE_NAME"} = $name;
+ $varhash{"PACKAGE"} = $name;
+ $varhash{"AC_PACKAGE_VERSION"} = $version;
+ $varhash{"VERSION"} = $version;
}
# \s makes this not work, why?
@@ -1018,7 +1026,7 @@ sub FindMakevarsDomain
close IN;
}
- $domain = $1 if $makevars_source =~ /^DOMAIN[ ]*=\[?([^\n\]]+)/m;
+ $domain = $1 if $makevars_source =~ /^DOMAIN[ ]*=\[?([^\n\]\$]+)/m;
$domain =~ s/^\s+//;
$domain =~ s/\s+$//;
diff --git a/m4/Makefile.in b/m4/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.2 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -36,9 +36,9 @@ POST_UNINSTALL = :
subdir = m4
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/openssl.m4 \
- $(top_srcdir)/m4/sasl2.m4 $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
+ $(top_srcdir)/m4/openssl.m4 $(top_srcdir)/m4/sasl2.m4 \
+ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -87,6 +87,7 @@ GNOME_LIBS = @GNOME_LIBS@
GOB2 = @GOB2@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
+ICONV = @ICONV@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -124,6 +125,7 @@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
OBJEXT = @OBJEXT@
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
OPENSSL_LIBS = @OPENSSL_LIBS@
@@ -184,6 +186,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
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_alias = @build_alias@
datadir = @datadir@
@@ -295,7 +299,7 @@ mostlyclean-generic:
clean-generic:
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
diff --git a/m4/intltool.m4 b/m4/intltool.m4
@@ -0,0 +1,179 @@
+## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*-
+## Copyright (C) 2001 Eazel, Inc.
+## Author: Maciej Stachowiak <mjs@noisehavoc.org>
+## Kenneth Christiansen <kenneth@gnu.org>
+##
+## 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.
+##
+## As a special exception to the GNU General Public License, if you
+## distribute this file as part of a program that contains a
+## configuration script generated by Autoconf, you may include it under
+## the same distribution terms that you use for the rest of that program.
+
+dnl AC_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
+# serial 1 AC_PROG_INTLTOOL
+AC_DEFUN([AC_PROG_INTLTOOL],
+[
+
+if test -n "$1"; then
+ AC_MSG_CHECKING(for intltool >= $1)
+
+ INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ printf "%d", $[1] * 100 + $[2]; }'`
+ INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $[2]; }' < ${ac_aux_dir}/intltool-update.in`
+ changequote({{,}})
+ INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split(${{2}}, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in`
+ changequote([,])
+
+ if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then
+ AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
+ else
+ AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool $1 or later.])
+ exit 1
+ fi
+fi
+
+ INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
+ INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+
+AC_SUBST(INTLTOOL_DESKTOP_RULE)
+AC_SUBST(INTLTOOL_DIRECTORY_RULE)
+AC_SUBST(INTLTOOL_KEYS_RULE)
+AC_SUBST(INTLTOOL_PROP_RULE)
+AC_SUBST(INTLTOOL_OAF_RULE)
+AC_SUBST(INTLTOOL_PONG_RULE)
+AC_SUBST(INTLTOOL_SERVER_RULE)
+AC_SUBST(INTLTOOL_SHEET_RULE)
+AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
+AC_SUBST(INTLTOOL_UI_RULE)
+AC_SUBST(INTLTOOL_XAM_RULE)
+AC_SUBST(INTLTOOL_KBD_RULE)
+AC_SUBST(INTLTOOL_XML_RULE)
+AC_SUBST(INTLTOOL_CAVES_RULE)
+AC_SUBST(INTLTOOL_SCHEMAS_RULE)
+AC_SUBST(INTLTOOL_THEME_RULE)
+
+# Use the tools built into the package, not the ones that are installed.
+
+INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
+INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
+INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
+
+AC_SUBST(INTLTOOL_EXTRACT)
+AC_SUBST(INTLTOOL_MERGE)
+AC_SUBST(INTLTOOL_UPDATE)
+
+AC_PATH_PROG(INTLTOOL_PERL, perl)
+if test -z "$INTLTOOL_PERL"; then
+ AC_MSG_ERROR([perl not found; required for intltool])
+fi
+if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
+ AC_MSG_ERROR([perl 5.x required for intltool])
+fi
+if test "x$2" != "xno-xml"; then
+ AC_MSG_CHECKING([for XML::Parser])
+ if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
+ AC_MSG_RESULT([ok])
+ else
+ AC_MSG_ERROR([XML::Parser perl module is required for intltool])
+ fi
+fi
+
+AC_PATH_PROG(ICONV, iconv, iconv)
+AC_PATH_PROG(MSGFMT, msgfmt, msgfmt)
+AC_PATH_PROG(MSGMERGE, msgmerge, msgmerge)
+AC_PATH_PROG(XGETTEXT, xgettext, xgettext)
+
+# Remove file type tags (using []) from po/POTFILES.
+
+ifdef([AC_DIVERSION_ICMDS],[
+ AC_DIVERT_PUSH(AC_DIVERSION_ICMDS)
+ changequote(,)
+ mv -f po/POTFILES po/POTFILES.tmp
+ sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES
+ rm -f po/POTFILES.tmp
+ changequote([,])
+ AC_DIVERT_POP()
+],[
+ ifdef([AC_CONFIG_COMMANDS_PRE],[
+ AC_CONFIG_COMMANDS_PRE([
+ changequote(,)
+ mv -f po/POTFILES po/POTFILES.tmp
+ sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES
+ rm -f po/POTFILES.tmp
+ changequote([,])
+ ])
+ ])
+])
+
+# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
+
+AC_CONFIG_COMMANDS([intltool], [
+
+intltool_edit="-e 's:@INTLTOOL_EXTRACT@:`pwd`/intltool-extract:g' \
+ -e 's:@INTLTOOL_ICONV@:${ICONV}:g' \
+ -e 's:@INTLTOOL_MSGFMT@:${MSGFMT}:g' \
+ -e 's:@INTLTOOL_MSGMERGE@:${MSGMERGE}:g' \
+ -e 's:@INTLTOOL_XGETTEXT@:${XGETTEXT}:g' \
+ -e 's:@INTLTOOL_PERL@:${INTLTOOL_PERL}:g'"
+
+eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-extract.in \
+ > intltool-extract.out
+if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
+ rm -f intltool-extract.out
+else
+ mv -f intltool-extract.out intltool-extract
+fi
+chmod ugo+x intltool-extract
+chmod u+w intltool-extract
+
+eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-merge.in \
+ > intltool-merge.out
+if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
+ rm -f intltool-merge.out
+else
+ mv -f intltool-merge.out intltool-merge
+fi
+chmod ugo+x intltool-merge
+chmod u+w intltool-merge
+
+eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-update.in \
+ > intltool-update.out
+if cmp -s intltool-update intltool-update.out 2>/dev/null; then
+ rm -f intltool-update.out
+else
+ mv -f intltool-update.out intltool-update
+fi
+chmod ugo+x intltool-update
+chmod u+w intltool-update
+
+], INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir=${ac_aux_dir}
+INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' ICONV='${ICONV}'
+MSGFMT='${MSGFMT}' MSGMERGE='${MSGMERGE}' XGETTEXT='${XGETTEXT}')
+
+])
diff --git a/po/POTFILES.in b/po/POTFILES.in
@@ -37,7 +37,7 @@ src/mn-main.c
src/mn-mbox-mailbox.gob
src/mn-md5.c
src/mn-md5.h
-src/mn-message-label.gob
+src/mn-message-box.gob
src/mn-message-mime.c
src/mn-message-mime.h
src/mn-message.gob
@@ -67,6 +67,7 @@ src/mn-summary.c
src/mn-summary.h
src/mn-sylpheed-mailbox.gob
src/mn-system-mailbox-properties.gob
+src/mn-tooltips.gob
src/mn-unsupported-mailbox.gob
src/mn-uri.gob
src/mn-util.c
diff --git a/po/bg.gmo b/po/bg.gmo
Binary files differ.
diff --git a/po/bg.po b/po/bg.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gnome in bulgarian 0.6.2\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2004-10-25 15:26+0200\n"
+"POT-Creation-Date: 2004-10-31 18:42+0100\n"
"PO-Revision-Date: 2004-10-05 16:13+0200\n"
"Last-Translator: Vladimir \"Kaladan\" Petkov <vpetkov@i-space.org>\n"
"Language-Team: Bulgarian <bg@li.org>\n"
@@ -34,7 +34,7 @@ msgstr "Настройване на известяването за поща"
#: data/mail-notification-properties.desktop.in.h:2
#: data/mail-notification.desktop.in.h:2
#: data/mail-notification.soundlist.in.h:1 src/mn-about-dialog.gob:40
-#: src/mn-mail-icon.gob:163 src/mn-main.c:271
+#: src/mn-mail-icon.gob:194 src/mn-main.c:271
msgid "Mail Notification"
msgstr "Известяване за поща"
@@ -63,196 +63,236 @@ msgid "Do not show the immediate notification error dialog"
msgstr ""
#: data/mail-notification.schemas.in.h:6
+#, fuzzy
+msgid "Double-click action"
+msgstr "Команда при двойна натискане"
+
+#: data/mail-notification.schemas.in.h:7
msgid "Enable mail summary popup"
msgstr ""
-#: data/mail-notification.schemas.in.h:7
+#: data/mail-notification.schemas.in.h:8
msgid "Fingerprints of trusted X509 certificates"
msgstr "Пръстови отпечатъци на проверени X509 сертификати"
-#: data/mail-notification.schemas.in.h:8
+#: data/mail-notification.schemas.in.h:9
msgid "Has already been run"
msgstr "Вече е стартиран"
-#: data/mail-notification.schemas.in.h:9
+#: data/mail-notification.schemas.in.h:10
#, fuzzy
msgid "Height of mail summary dialog"
msgstr "Височина на диалоговия прозорец за настройките"
-#: data/mail-notification.schemas.in.h:10
+#: data/mail-notification.schemas.in.h:11
msgid "Height of properties dialog"
msgstr "Височина на диалоговия прозорец за настройките"
-#: data/mail-notification.schemas.in.h:11
+#: data/mail-notification.schemas.in.h:12
#, fuzzy
msgid "Mail read command"
msgstr "Нова команда за поща"
-#: data/mail-notification.schemas.in.h:12
+#: data/mail-notification.schemas.in.h:13
+#, fuzzy
+msgid "Mail reader command"
+msgstr "Нова команда за поща"
+
+#: data/mail-notification.schemas.in.h:14
msgid "Mail summary popup horizontal offset"
msgstr ""
-#: data/mail-notification.schemas.in.h:13
+#: data/mail-notification.schemas.in.h:15
msgid "Mail summary popup position"
msgstr ""
-#: data/mail-notification.schemas.in.h:14
+#: data/mail-notification.schemas.in.h:16
msgid "Mail summary popup vertical offset"
msgstr ""
-#: data/mail-notification.schemas.in.h:15
+#: data/mail-notification.schemas.in.h:17
#, fuzzy
msgid "Mailbox list"
msgstr "Списък на пощенските кутии"
-#: data/mail-notification.schemas.in.h:16
+#: data/mail-notification.schemas.in.h:18
msgid "Minutes between mail checks"
msgstr "Минути между проверките"
-#: data/mail-notification.schemas.in.h:17
+#: data/mail-notification.schemas.in.h:19
msgid "Minutes to wait before closing the mail summary popup"
msgstr ""
-#: data/mail-notification.schemas.in.h:18
+#: data/mail-notification.schemas.in.h:20
msgid "New mail command"
msgstr "Нова команда за поща"
-#: data/mail-notification.schemas.in.h:19
+#: data/mail-notification.schemas.in.h:21
+msgid "Only display recent mail in mail summary popup"
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:22
#, fuzzy
msgid "Run a command when all mail is read"
msgstr "Стартиране на команда при пристигането на нова поща"
-#: data/mail-notification.schemas.in.h:20
+#: data/mail-notification.schemas.in.h:23
msgid "Run a command when new mail arrives"
msgstr "Стартиране на команда при пристигането на нова поща"
-#: data/mail-notification.schemas.in.h:21
+#: data/mail-notification.schemas.in.h:24
msgid "Seconds between mail checks"
msgstr "Секунди между проверките за поща"
-#: data/mail-notification.schemas.in.h:22
+#: data/mail-notification.schemas.in.h:25
msgid "Seconds to wait before closing the mail summary popup"
msgstr ""
-#: data/mail-notification.schemas.in.h:23
+#: data/mail-notification.schemas.in.h:26
+#, fuzzy
+msgid "Set a mail reader"
+msgstr "Избор на файл или папка"
+
+#: data/mail-notification.schemas.in.h:27
+msgid ""
+"The action to perform when the icon is double-clicked. Must be \"display-"
+"mail-summary\" or \"launch-mail-reader\"."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:28
#, fuzzy
msgid ""
"The amount of time to wait before closing the mail summary popup (minutes "
"part)."
msgstr "Времевият интервал за изчакване между проверките за нова поща"
-#: data/mail-notification.schemas.in.h:24
+#: data/mail-notification.schemas.in.h:29
#, fuzzy
msgid ""
"The amount of time to wait before closing the mail summary popup (seconds "
"part)."
msgstr "Времевият интервал за изчакване между проверките за нова поща"
-#: data/mail-notification.schemas.in.h:25
+#: data/mail-notification.schemas.in.h:30
+#, fuzzy
+msgid "The command to run to launch the mail reader."
+msgstr "Командата, която да се стартира при пристигането на нова поща."
+
+#: data/mail-notification.schemas.in.h:31
#, fuzzy
msgid "The command to run when all mail is read."
msgstr "Командата, която да се стартира при пристигането на нова поща."
-#: data/mail-notification.schemas.in.h:26
+#: data/mail-notification.schemas.in.h:32
msgid "The command to run when new mail arrives."
msgstr "Командата, която да се стартира при пристигането на нова поща."
-#: data/mail-notification.schemas.in.h:27
+#: data/mail-notification.schemas.in.h:33
#, fuzzy
msgid "The height of the mail summary dialog in pixels."
msgstr "Височината в пиксели на диалоговия прозорец за настройките."
-#: data/mail-notification.schemas.in.h:28
+#: data/mail-notification.schemas.in.h:34
msgid "The height of the properties dialog in pixels."
msgstr "Височината в пиксели на диалоговия прозорец за настройките."
-#: data/mail-notification.schemas.in.h:29
+#: data/mail-notification.schemas.in.h:35
msgid "The list of mailboxes to monitor."
msgstr "Списъкът на пощенските кутии за следене."
-#: data/mail-notification.schemas.in.h:30
+#: data/mail-notification.schemas.in.h:36
msgid ""
"The list of trusted SSL/TLS servers (hostname:port) lacking a X509 "
"certificate."
msgstr ""
-#: data/mail-notification.schemas.in.h:31
+#: data/mail-notification.schemas.in.h:37
msgid ""
"The list of trusted X509 certificates, represented by their MD5 fingerprint."
msgstr ""
"Списъкът на проверените сертификати тип X509, представени от техните "
"пръстови отпечатъци в MD5 формат."
-#: data/mail-notification.schemas.in.h:32
+#: data/mail-notification.schemas.in.h:38
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup."
msgstr ""
-#: data/mail-notification.schemas.in.h:33
+#: data/mail-notification.schemas.in.h:39
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup."
msgstr ""
-#: data/mail-notification.schemas.in.h:34
+#: data/mail-notification.schemas.in.h:40
msgid ""
"The position of the mail summary popup. Must be \"top-left\", \"top-right\", "
"\"bottom-left\" or \"bottom-right\"."
msgstr ""
-#: data/mail-notification.schemas.in.h:35
+#: data/mail-notification.schemas.in.h:41
#, fuzzy
msgid "The width of the mail summary dialog in pixels."
msgstr "Ширината на диалоговия прозорец за настройките в пиксели."
-#: data/mail-notification.schemas.in.h:36
+#: data/mail-notification.schemas.in.h:42
msgid "The width of the properties dialog in pixels."
msgstr "Ширината на диалоговия прозорец за настройките в пиксели."
-#: data/mail-notification.schemas.in.h:37
+#: data/mail-notification.schemas.in.h:43
msgid "Trusted servers list"
msgstr "Списък на проверените сървъри"
-#: data/mail-notification.schemas.in.h:38
+#: data/mail-notification.schemas.in.h:44
msgid "Whether Mail Notification has already been run or not."
msgstr "Дали известяването за поща вече е стартирано или не."
-#: data/mail-notification.schemas.in.h:39
+#: data/mail-notification.schemas.in.h:45
msgid "Whether the status icon should blink on errors or not."
msgstr "Дали иконата за състоянието да мига при грешки или не"
-#: data/mail-notification.schemas.in.h:40
+#: data/mail-notification.schemas.in.h:46
#, fuzzy
msgid "Whether to automatically close the mail summary popup or not."
msgstr "Дали да се стартира команда при пристигането на нова поща или не"
-#: data/mail-notification.schemas.in.h:41
+#: data/mail-notification.schemas.in.h:47
#, fuzzy
msgid "Whether to display the mail summary popup when new mail arrives or not."
msgstr "Дали да се стартира команда при пристигането на нова поща или не"
-#: data/mail-notification.schemas.in.h:42
+#: data/mail-notification.schemas.in.h:48
+msgid ""
+"Whether to hide previously displayed mail in the mail summary popup or not."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:49
msgid ""
"Whether to prevent the immediate notification error dialog from being "
"displayed or not."
msgstr ""
-#: data/mail-notification.schemas.in.h:43
+#: data/mail-notification.schemas.in.h:50
#, fuzzy
msgid "Whether to run a command when all mail is read or not."
msgstr "Дали да се стартира команда при пристигането на нова поща или не"
-#: data/mail-notification.schemas.in.h:44
+#: data/mail-notification.schemas.in.h:51
msgid "Whether to run a command when new mail arrives or not."
msgstr "Дали да се стартира команда при пристигането на нова поща или не"
-#: data/mail-notification.schemas.in.h:45
+#: data/mail-notification.schemas.in.h:52
+#, fuzzy
+msgid "Whether to set a mail reader or not."
+msgstr "Дали известяването за поща вече е стартирано или не."
+
+#: data/mail-notification.schemas.in.h:53
#, fuzzy
msgid "Width of mail summary dialog"
msgstr "Ширина на диалоговия прозорец за настройките"
-#: data/mail-notification.schemas.in.h:46
+#: data/mail-notification.schemas.in.h:54
msgid "Width of properties dialog"
msgstr "Ширина на диалоговия прозорец за настройките"
@@ -434,127 +474,127 @@ msgstr ""
msgid "unable to parse response \"%s\""
msgstr "неуспех при преглед на отговор \"%s\""
-#: src/mn-client-session.c:592 src/mn-client-session.c:599
+#: src/mn-client-session.c:601 src/mn-client-session.c:608
#, c-format
msgid "unable to read from server: %s"
msgstr "неуспех при четенето от сървър: %s"
-#: src/mn-client-session.c:597
+#: src/mn-client-session.c:606
msgid "unable to read from server: EOF"
msgstr "неуспех при четенето от сървър: EOF"
-#: src/mn-client-session.c:609
+#: src/mn-client-session.c:618
#, c-format
msgid "unable to decode data using SASL: %s"
msgstr ""
-#: src/mn-client-session.c:746
+#: src/mn-client-session.c:755
#, c-format
msgid "unable to encode data using SASL: %s"
msgstr ""
-#: src/mn-client-session.c:777 src/mn-client-session.c:784
+#: src/mn-client-session.c:786 src/mn-client-session.c:793
#, c-format
msgid "unable to write to server: %s"
msgstr "неуспех при записването на сървър: %s"
-#: src/mn-client-session.c:782
+#: src/mn-client-session.c:791
msgid "unable to write to server: EOF"
msgstr "неуспех при записването на сървър: EOF"
-#: src/mn-client-session.c:814
+#: src/mn-client-session.c:823
#, c-format
msgid "unable to encode Base64: %s"
msgstr ""
-#: src/mn-client-session.c:917
+#: src/mn-client-session.c:927
#, c-format
msgid "unable to initialize the SASL library: %s"
msgstr ""
-#: src/mn-client-session.c:926
+#: src/mn-client-session.c:936
#, c-format
msgid "unable to retrieve local address of socket: %s"
msgstr ""
-#: src/mn-client-session.c:932
+#: src/mn-client-session.c:942
#, c-format
msgid "unable to retrieve remote address of socket: %s"
msgstr ""
-#: src/mn-client-session.c:966
+#: src/mn-client-session.c:976
#, c-format
msgid "warning: unable to set SASL security properties: %s"
msgstr ""
-#: src/mn-client-session.c:1005
+#: src/mn-client-session.c:1015
msgid ""
"unable to start SASL authentication: SASL asked for something we did not know"
msgstr ""
-#: src/mn-client-session.c:1009
+#: src/mn-client-session.c:1019
#, c-format
msgid "unable to start SASL authentication: %s"
msgstr ""
-#: src/mn-client-session.c:1013
+#: src/mn-client-session.c:1023
#, c-format
msgid "unable to create a SASL connection: %s"
msgstr ""
-#: src/mn-client-session.c:1063
+#: src/mn-client-session.c:1073
msgid "SASL asked for something we did not know, aborting SASL authentication"
msgstr ""
-#: src/mn-client-session.c:1067
+#: src/mn-client-session.c:1077
#, c-format
msgid "%s, aborting SASL authentication"
msgstr ""
#. compliance error
-#: src/mn-client-session.c:1072
+#: src/mn-client-session.c:1082
#, c-format
msgid "unable to decode Base64 input from server: %s"
msgstr ""
-#: src/mn-client-session.c:1075
+#: src/mn-client-session.c:1085
msgid ""
"the server sent a SASL challenge, but there was a pending initial SASL "
"client response"
msgstr ""
-#: src/mn-client-session.c:1089
+#: src/mn-client-session.c:1099
msgid ""
"the server did not send a SASL challenge, but there was no pending initial "
"SASL client response"
msgstr ""
-#: src/mn-client-session.c:1112
+#: src/mn-client-session.c:1122
#, c-format
msgid "a SASL security layer of strength factor %i is now active"
msgstr ""
#. a security layer is active but we can't retrieve maxoutbuf -> fatal
-#: src/mn-client-session.c:1117
+#: src/mn-client-session.c:1127
#, c-format
msgid "unable to get SASL_MAXOUTBUF property: %s"
msgstr ""
-#: src/mn-client-session.c:1123
+#: src/mn-client-session.c:1133
#, c-format
msgid "warning: unable to get SASL_SSF property: %s"
msgstr ""
-#: src/mn-conf.c:123
+#: src/mn-conf.c:136
#, c-format
msgid "recursively unsetting %s"
msgstr ""
-#: src/mn-conf.c:127
+#: src/mn-conf.c:140
msgid "syncing the GConf database"
msgstr "синхронизиране на базата данни на GConf"
-#: src/mn-conf.c:130
+#: src/mn-conf.c:143
msgid "completed"
msgstr "завършено"
@@ -568,33 +608,33 @@ msgid ""
"when needed)"
msgstr ""
-#: src/mn-gmail-mailbox.gob:63
+#: src/mn-gmail-mailbox.gob:81
msgid "libsoup has not been compiled with SSL/TLS support"
msgstr ""
-#: src/mn-gmail-mailbox.gob:105
+#: src/mn-gmail-mailbox.gob:123
#, fuzzy, c-format
msgid "unable to parse URI \"%s\""
msgstr "неуспех при преглед на отговор \"%s\""
-#: src/mn-gmail-mailbox.gob:159
+#: src/mn-gmail-mailbox.gob:177
#, c-format
msgid "unable to transfer data: %s"
msgstr "неуспех при пренасянето на данни: %s"
-#: src/mn-gmail-mailbox.gob:280
+#: src/mn-gmail-mailbox.gob:298
msgid "logging in"
msgstr "влизане"
-#: src/mn-gmail-mailbox.gob:358
+#: src/mn-gmail-mailbox.gob:376
msgid "login failed"
msgstr "влизането е неуспешно"
-#: src/mn-gmail-mailbox.gob:433
+#: src/mn-gmail-mailbox.gob:451
msgid "searching for unread mail"
msgstr "търсене за непрочетена поща"
-#: src/mn-gmail-mailbox.gob:529
+#: src/mn-gmail-mailbox.gob:490
msgid "unable to parse Gmail data"
msgstr "неуспех при прегледа на данни от Gmail"
@@ -658,76 +698,80 @@ msgstr "Номера на порта на IMAP сървъра"
msgid "The mailbox name"
msgstr "Име на пощенската кутия"
-#: src/mn-imap-mailbox.gob:133 src/mn-pop3-mailbox.gob:142
+#: src/mn-imap-mailbox.gob:164 src/mn-pop3-mailbox.gob:142
msgid "SSL/TLS support has not been compiled in"
msgstr ""
-#: src/mn-imap-mailbox.gob:204
+#: src/mn-imap-mailbox.gob:253
msgid "server did not send capabilities"
msgstr ""
-#: src/mn-imap-mailbox.gob:319
+#: src/mn-imap-mailbox.gob:374
msgid "server advertised LOGINDISABLED, not using LOGIN authentication"
msgstr ""
-#: src/mn-imap-mailbox.gob:320
+#: src/mn-imap-mailbox.gob:375
msgid "unable to login"
msgstr "неуспех при влизането"
#. compliance error
-#: src/mn-imap-mailbox.gob:451
+#: src/mn-imap-mailbox.gob:516
#, fuzzy
msgid "server did not send search results"
msgstr "сървърът не изпраща състоянието"
#. compliance error
-#: src/mn-imap-mailbox.gob:527
+#: src/mn-imap-mailbox.gob:596
#, fuzzy
msgid "server did not send all the messages we requested"
msgstr "сървърът не изпраща състоянието"
-#: src/mn-imap-mailbox.gob:574
+#: src/mn-imap-mailbox.gob:645
#, fuzzy
msgid "unable to fetch message"
msgstr "неуспех при свързването: %s"
#. compliance error
-#: src/mn-imap-mailbox.gob:621
+#: src/mn-imap-mailbox.gob:763
msgid "server did not send status"
msgstr "сървърът не изпраща състоянието"
-#: src/mn-imap-mailbox.gob:856 src/mn-pop3-mailbox.gob:913
+#: src/mn-imap-mailbox.gob:1035 src/mn-pop3-mailbox.gob:922
msgid "unknown server error"
msgstr "неизвестна грешка в сървъра"
-#: src/mn-imap-mailbox.gob:927 src/mn-pop3-mailbox.gob:226
+#: src/mn-imap-mailbox.gob:1106 src/mn-pop3-mailbox.gob:226
msgid "server does not support in-band SSL/TLS"
msgstr ""
-#: src/mn-imap-mailbox.gob:946 src/mn-pop3-mailbox.gob:832
+#: src/mn-imap-mailbox.gob:1125 src/mn-pop3-mailbox.gob:841
msgid ""
"a SASL authentication mechanism was selected but SASL support has not been "
"compiled in"
msgstr ""
-#: src/mn-imap-mailbox.gob:954 src/mn-pop3-mailbox.gob:844
+#: src/mn-imap-mailbox.gob:1133 src/mn-pop3-mailbox.gob:853
#, c-format
msgid "unknown authentication mechanism \"%s\""
msgstr "неизвестен механизъм за идентификация \"%s\""
-#: src/mn-imap-mailbox.gob:972
+#: src/mn-imap-mailbox.gob:1151
msgid "falling back to IMAP LOGIN authentication"
msgstr ""
-#: src/mn-imap-mailbox.gob:977 src/mn-pop3-mailbox.gob:879
+#: src/mn-imap-mailbox.gob:1156 src/mn-pop3-mailbox.gob:888
msgid "authentication failed"
msgstr "неуспешна идентификация"
-#: src/mn-mail-icon.gob:84 ui/summary-dialog.glade.h:2
+#: src/mn-mail-icon.gob:92 ui/summary-dialog.glade.h:2
+msgid "_Launch Mail Reader"
+msgstr ""
+
+#: src/mn-mail-icon.gob:93 ui/summary-dialog.glade.h:3
msgid "_Update"
msgstr "_Актуализиране"
-#: src/mn-mail-icon.gob:90
+#: src/mn-mail-icon.gob:99
msgid "R_emove From Notification Area"
msgstr "Пре_махване от зоната за известяване"
@@ -784,7 +828,7 @@ msgstr "Завършено"
msgid "Whether the properties are completely filled or not"
msgstr ""
-#: src/mn-mailbox-view.gob:263 src/mn-message-label.gob:74
+#: src/mn-mailbox-view.gob:263 src/mn-message-box.gob:58
msgid "Mailbox"
msgstr "Пощенска кутия"
@@ -810,37 +854,38 @@ msgid "The mailbox human-readable name"
msgstr "Името на пощенската кутия във формат разбираем от хора"
#: src/mn-mailbox.gob:145
-msgid "Whether the mailbox has to be manually checked or not"
-msgstr ""
+#, fuzzy
+msgid "Whether the mailbox has to be polled or not"
+msgstr "Дали изображението да мига или не"
-#: src/mn-mailbox.gob:150
+#: src/mn-mailbox.gob:151
msgid "Whether the mailbox has new mail or not"
msgstr ""
-#: src/mn-mailbox.gob:155
+#: src/mn-mailbox.gob:156
msgid "The list of new and unread MNMessage objects"
msgstr ""
-#: src/mn-mailbox.gob:209
+#: src/mn-mailbox.gob:210
msgid "The mailbox error, if any"
msgstr "Грешката в пощенската кутия, ако има"
-#: src/mn-mailbox.gob:308
+#: src/mn-mailbox.gob:309
msgid "does not exist"
msgstr "не съществува"
-#: src/mn-mailbox.gob:340
+#: src/mn-mailbox.gob:341
msgid "unknown format"
msgstr "непознат формат"
-#: src/mn-mailbox.gob:406
+#: src/mn-mailbox.gob:407
#, fuzzy, c-format
msgid "unable to enable immediate notification for %s: %s"
msgstr ""
"Известяването за поща не можа да разреши моменталното известяване за една "
"или повече пощенски кутии. %s"
-#: src/mn-mailbox.gob:424
+#: src/mn-mailbox.gob:425
#, c-format
msgid ""
"As a fallback, they will be checked every %i second (this delay is "
@@ -851,7 +896,7 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/mn-mailbox.gob:435
+#: src/mn-mailbox.gob:436
#, c-format
msgid ""
"As a fallback, they will be checked every %i minute (this delay is "
@@ -862,7 +907,7 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/mn-mailbox.gob:446
+#: src/mn-mailbox.gob:447
#, c-format
msgid ""
"As a fallback, they will be checked approximately every %i minute (this "
@@ -873,11 +918,11 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/mn-mailbox.gob:462
+#: src/mn-mailbox.gob:463
msgid "A monitoring error has occurred"
msgstr "Получи се грешка при наблюдението"
-#: src/mn-mailbox.gob:463
+#: src/mn-mailbox.gob:464
#, c-format
msgid ""
"Mail Notification was unable to enable immediate notification for one or "
@@ -886,26 +931,26 @@ msgstr ""
"Известяването за поща не можа да разреши моменталното известяване за една "
"или повече пощенски кутии. %s"
-#: src/mn-mailboxes.gob:143
+#: src/mn-mailboxes.gob:142
msgid "Whether one or more of the mailboxes has to be polled"
msgstr ""
-#: src/mn-mailboxes.gob:276
+#: src/mn-mailboxes.gob:272
#, c-format
msgid "%s is unsupported: %s"
msgstr "%s е неподдържан: %s"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has new mail"
msgstr "%s има поща"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has no new mail"
msgstr "%s няма нова поща"
-#: src/mn-mailboxes.gob:333
+#: src/mn-mailboxes.gob:330
#, c-format
msgid "%s reported an error: %s"
msgstr "%s докладва за грешка: %s"
@@ -1022,51 +1067,51 @@ msgstr "грешка при четенето на пощенската кути
msgid "unable to open mailbox: %s"
msgstr "грешка при отварянето на пощенската кутия: %s"
-#: src/mn-message-label.gob:77
+#: src/mn-message-box.gob:61
msgid "Unreadable message"
msgstr ""
-#: src/mn-message-label.gob:97
+#: src/mn-message-box.gob:66
msgid "From"
msgstr ""
-#: src/mn-message-label.gob:98
+#: src/mn-message-box.gob:67
msgid "Subject"
msgstr ""
-#: src/mn-message-label.gob:102
+#: src/mn-message-box.gob:72
msgid "Sent"
msgstr ""
-#: src/mn-message-label.gob:151
+#: src/mn-message-box.gob:184
#, c-format
msgid "%i second ago"
msgid_plural "%i seconds ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:155
+#: src/mn-message-box.gob:188
#, c-format
msgid "%i minute ago"
msgid_plural "%i minutes ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:160
+#: src/mn-message-box.gob:193
#, c-format
msgid "%i hour ago"
msgid_plural "%i hours ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:165
+#: src/mn-message-box.gob:198
#, c-format
msgid "%i day ago"
msgid_plural "%i days ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:170
+#: src/mn-message-box.gob:203
#, c-format
msgid "%i week ago"
msgid_plural "%i weeks ago"
@@ -1116,21 +1161,21 @@ msgstr "_in-band SSL/TLS"
msgid "SSL/TLS on sepa_rate port"
msgstr "SSL/TLS на отделен по_рт"
-#: src/mn-pop3-mailbox-properties.gob:85
+#: src/mn-pop3-mailbox-properties.gob:86
msgid "The hostname or IP address of the POP3 server"
msgstr "Хостът или IP адресът на POP3 сървъра"
-#: src/mn-pop3-mailbox-properties.gob:86
+#: src/mn-pop3-mailbox-properties.gob:87
msgid "Your username on the POP3 server"
msgstr "Потребителското име в POP3 сървъра"
-#: src/mn-pop3-mailbox-properties.gob:87
+#: src/mn-pop3-mailbox-properties.gob:88
msgid ""
"Your password on the POP3 server (if left blank, you will be prompted for "
"the password when needed)"
msgstr ""
-#: src/mn-pop3-mailbox-properties.gob:88 src/mn-pop3-mailbox-properties.gob:89
+#: src/mn-pop3-mailbox-properties.gob:89 src/mn-pop3-mailbox-properties.gob:90
msgid "The port number of the POP3 server"
msgstr "Номера на порта на POP3 сървъра"
@@ -1138,95 +1183,78 @@ msgstr "Номера на порта на POP3 сървъра"
msgid "invalid arguments for the LOGIN-DELAY capability"
msgstr ""
-#: src/mn-pop3-mailbox.gob:549
+#: src/mn-pop3-mailbox.gob:556
#, fuzzy
msgid "unknown error"
msgstr "неизвестна грешка в сървъра"
-#: src/mn-pop3-mailbox.gob:681
+#: src/mn-pop3-mailbox.gob:690
#, c-format
msgid "honouring LOGIN-DELAY, sleeping for %i second"
msgid_plural "honouring LOGIN-DELAY, sleeping for %i seconds"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-pop3-mailbox.gob:840
+#: src/mn-pop3-mailbox.gob:849
msgid "server does not support APOP authentication"
msgstr "Сървърът не поддържа идентификация тип APOP"
-#: src/mn-pop3-mailbox.gob:868
+#: src/mn-pop3-mailbox.gob:877
msgid "falling back to APOP authentication"
msgstr ""
-#: src/mn-pop3-mailbox.gob:873
+#: src/mn-pop3-mailbox.gob:882
msgid "falling back to USER/PASS authentication"
msgstr ""
-#: src/mn-properties.c:170
+#: src/mn-properties.c:181
#, fuzzy
msgid "top left"
msgstr "Завършено"
-#: src/mn-properties.c:171
+#: src/mn-properties.c:182
msgid "top right"
msgstr ""
-#: src/mn-properties.c:172
+#: src/mn-properties.c:183
msgid "bottom left"
msgstr ""
-#: src/mn-properties.c:173
+#: src/mn-properties.c:184
msgid "bottom right"
msgstr ""
-#: src/mn-properties.c:251
+#: src/mn-properties.c:270
msgid "No mailbox selected."
msgstr "Няма избрана кутия."
-#: src/mn-properties.c:256
+#: src/mn-properties.c:275
#, fuzzy, c-format
msgid "%i mailbox selected."
msgid_plural "%i mailboxes selected."
msgstr[0] "%i избрана кутия."
msgstr[1] "%i избрана кутия."
-#: src/mn-shell.gob:86
+#: src/mn-shell.gob:92
msgid "You have new mail."
msgstr "Имате поща."
-#: src/mn-shell.gob:263
-#, fuzzy
-msgid "The following mailbox has new mail:\n"
-msgid_plural "The following mailboxes have new mail:\n"
-msgstr[0] "Следната пощенска кутия има нова поща:\n"
-msgstr[1] "Следната пощенска кутия има нова поща:\n"
-
-#: src/mn-shell.gob:267
-msgid "You have no new mail."
-msgstr "Нямата нова поща."
+#: src/mn-shell.gob:347
+msgid "Mailboxes Having New Mail"
+msgstr ""
-#: src/mn-shell.gob:270
-#, fuzzy
-msgid "The following mailbox reported an error:\n"
-msgid_plural "The following mailboxes reported an error:\n"
-msgstr[0] "Следната пощенска кутия докладва за грешка:\n"
-msgstr[1] "Следната пощенска кутия докладва за грешка:\n"
+#: src/mn-shell.gob:349
+msgid "Errors"
+msgstr ""
-#: src/mn-shell.gob:275
+#: src/mn-shell.gob:351
#, fuzzy
-msgid "The following mailbox is unsupported:\n"
-msgid_plural "The following mailboxes are unsupported:\n"
-msgstr[0] "Следните пощенски кутии не се поддържат:\n"
-msgstr[1] "Следните пощенски кутии не се поддържат:\n"
-
-#: src/mn-shell.gob:320
-msgid "A command error has occurred in Mail Notification"
-msgstr "Грешка с командите се получи в известяването за поща"
+msgid "Unsupported Mailboxes"
+msgstr "Системна кутия"
-#: src/mn-shell.gob:321
-#, fuzzy, c-format
-msgid "Unable to execute \"%s\": %s."
-msgstr "неуспех при намирането на %s: %s"
+#: src/mn-shell.gob:364 ui/summary-dialog.glade.h:1
+msgid "Mail Summary"
+msgstr ""
#: src/mn-soup.c:140
#, fuzzy, c-format
@@ -1327,11 +1355,20 @@ msgstr "Получи се сериозна грешка в известяван
msgid "unable to get current time: %s"
msgstr "неуспех при свързването с %s"
-#: src/mn-util.c:887
+#: src/mn-util.c:906
#, c-format
msgid "invalid signal specification \"%s\""
msgstr ""
+#: src/mn-util.c:945
+msgid "A command error has occurred in Mail Notification"
+msgstr "Грешка с командите се получи в известяването за поща"
+
+#: src/mn-util.c:946
+#, fuzzy, c-format
+msgid "Unable to execute \"%s\": %s."
+msgstr "неуспех при намирането на %s: %s"
+
#: ui/authentication.glade.h:1 ui/properties.glade.h:2
msgid "*"
msgstr "*"
@@ -1354,154 +1391,186 @@ msgid "<span weight=\"bold\">Commands</span>"
msgstr "<span weight=\"bold\">Команди</span>"
#: ui/properties.glade.h:4
-msgid "<span weight=\"bold\">General</span>"
+#, fuzzy
+msgid "<span weight=\"bold\">Double-click Action</span>"
msgstr "<span weight=\"bold\">Основни</span>"
#: ui/properties.glade.h:5
+msgid "<span weight=\"bold\">General</span>"
+msgstr "<span weight=\"bold\">Основни</span>"
+
+#: ui/properties.glade.h:6
#, fuzzy
msgid "<span weight=\"bold\">Mailbox List</span>"
msgstr "<span weight=\"bold\">Пощенски кутии</span>"
-#: ui/properties.glade.h:6
+#: ui/properties.glade.h:7
#, fuzzy
msgid "<span weight=\"bold\">Position</span>"
msgstr "<span weight=\"bold\">Команди</span>"
-#: ui/properties.glade.h:7
+#: ui/properties.glade.h:8
msgid "General"
msgstr ""
-#: ui/properties.glade.h:8
+#: ui/properties.glade.h:9
msgid "Hori_zontal offset:"
msgstr ""
-#: ui/properties.glade.h:9
+#: ui/properties.glade.h:10
msgid "Mail Notification Properties"
msgstr "Настройки на известяването за поща"
-#: ui/properties.glade.h:10
+#: ui/properties.glade.h:11
msgid "Mail Summary Popup"
msgstr ""
-#: ui/properties.glade.h:11
+#: ui/properties.glade.h:12
#, fuzzy
msgid "Mailboxes"
msgstr "Пощенска кутия"
-#: ui/properties.glade.h:12
+#: ui/properties.glade.h:13
+msgid "Only display _recent mail"
+msgstr ""
+
+#: ui/properties.glade.h:14
#, fuzzy
msgid "P_osition:"
msgstr "_Местоположение:"
-#: ui/properties.glade.h:13
+#: ui/properties.glade.h:15
#, fuzzy
msgid "The amount of time to wait before closing the mail summary popup"
msgstr "Времевият интервал за изчакване между проверките за нова поща"
-#: ui/properties.glade.h:14
+#: ui/properties.glade.h:16
msgid "The amount of time to wait between mail checks"
msgstr "Времевият интервал за изчакване между проверките за нова поща"
-#: ui/properties.glade.h:15
+#: ui/properties.glade.h:17
+#, fuzzy
+msgid "The command to run to launch the mail reader"
+msgstr "Командата, която да се изпълни при пристигането на нова поща"
+
+#: ui/properties.glade.h:18
#, fuzzy
msgid "The command to run when all mail is read"
msgstr "Командата, която да се изпълни при пристигането на нова поща"
-#: ui/properties.glade.h:16
+#: ui/properties.glade.h:19
msgid "The command to run when new mail arrives"
msgstr "Командата, която да се изпълни при пристигането на нова поща"
-#: ui/properties.glade.h:17
+#: ui/properties.glade.h:20
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup"
msgstr ""
-#: ui/properties.glade.h:18
+#: ui/properties.glade.h:21
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup"
msgstr ""
-#: ui/properties.glade.h:19
+#: ui/properties.glade.h:22
#, fuzzy
msgid "When _all mail is read:"
msgstr "При пристигане на _нова поща:"
-#: ui/properties.glade.h:20
+#: ui/properties.glade.h:23
msgid "When _new mail arrives:"
msgstr "При пристигане на _нова поща:"
-#: ui/properties.glade.h:21
+#: ui/properties.glade.h:24
msgid "Whether the status icon should blink on errors or not"
msgstr "Дали иконата за състоянието да започне да мига при грешки или не"
-#: ui/properties.glade.h:22
+#: ui/properties.glade.h:25
#, fuzzy
msgid "Whether to automatically close the mail summary popup or not"
msgstr "Дали да се стартира команда при пристигането на нова поща или не"
-#: ui/properties.glade.h:23
+#: ui/properties.glade.h:26
#, fuzzy
msgid "Whether to display the mail summary popup when new mail arrives or not"
msgstr "Дали да се стартира команда при пристигането на нова поща или не"
-#: ui/properties.glade.h:24
+#: ui/properties.glade.h:27
+msgid "Whether to hide previously displayed mail or not"
+msgstr ""
+
+#: ui/properties.glade.h:28
#, fuzzy
msgid "Whether to run a command when all mail is read or not"
msgstr "Дали да се стартира команда при пристигането на нова поща или не"
-#: ui/properties.glade.h:25
+#: ui/properties.glade.h:29
msgid "Whether to run a command when new mail arrives or not"
msgstr "Дали да се стартира команда при пристигането на нова поща или не"
-#: ui/properties.glade.h:26
+#: ui/properties.glade.h:30
+#, fuzzy
+msgid "Whether to set a mail reader or not"
+msgstr "Дали да се стартира команда при пристигането на нова поща или не"
+
+#: ui/properties.glade.h:31
msgid ""
"Whether to start Mail Notification when you log into your GNOME session or "
"not"
msgstr ""
"Дали да се стартира известяването за поща, когато влизате в GNOME или не"
-#: ui/properties.glade.h:27
+#: ui/properties.glade.h:32
msgid "_Automatically close after:"
msgstr ""
-#: ui/properties.glade.h:28
+#: ui/properties.glade.h:33
msgid "_Blink on errors"
msgstr "_Мигане при грешки"
-#: ui/properties.glade.h:29
+#: ui/properties.glade.h:34
msgid "_Delay between mail checks:"
msgstr "_Време между проверките за поща:"
-#: ui/properties.glade.h:30
+#: ui/properties.glade.h:35
+#, fuzzy
+msgid "_Display the mail summary dialog"
+msgstr "Изобразяване на диалоговия прозорец с информацията"
+
+#: ui/properties.glade.h:36
msgid "_Enable mail summary popup"
msgstr ""
-#: ui/properties.glade.h:31
+#: ui/properties.glade.h:37
+msgid "_Launch the mail reader"
+msgstr ""
+
+#: ui/properties.glade.h:38
+msgid "_Mail reader:"
+msgstr ""
+
+#: ui/properties.glade.h:39
msgid "_Start Mail Notification on GNOME login"
msgstr "_Стартиране на известяването за поща при влизане в GNOME"
-#: ui/properties.glade.h:32
+#: ui/properties.glade.h:40
msgid "_Vertical offset:"
msgstr ""
-#: ui/properties.glade.h:33
+#: ui/properties.glade.h:41
msgid "minutes"
msgstr "минути"
-#: ui/properties.glade.h:34
+#: ui/properties.glade.h:42
msgid "pixels"
msgstr ""
-#: ui/properties.glade.h:35
+#: ui/properties.glade.h:43
msgid "seconds"
msgstr "секунди"
-#: ui/summary-dialog.glade.h:1
-msgid "Mail Summary"
-msgstr ""
-
#: ui/summary-popup.glade.h:1
#, fuzzy
msgid "<span size=\"larger\" weight=\"bold\">Mail Summary</span>"
@@ -1544,9 +1613,6 @@ msgstr "_Настройки на известяването за поща"
msgid "_Skip configuration"
msgstr "_Пропускане на настройването"
-#~ msgid "Double-clicked command"
-#~ msgstr "Команда при двойна натискане"
-
#~ msgid "Run a command when the icon is double-clicked"
#~ msgstr "Стартиране на команда при двойно натискане на иконата"
@@ -1581,6 +1647,18 @@ msgstr "_Пропускане на настройването"
#~ msgid "Unable to execute double-clicked command: %s."
#~ msgstr "Неуспех при стартирането на командата: %s."
+#~ msgid "The following mailbox has new mail:\n"
+#~ msgstr "Следната пощенска кутия има нова поща:\n"
+
+#~ msgid "You have no new mail."
+#~ msgstr "Нямата нова поща."
+
+#~ msgid "The following mailbox reported an error:\n"
+#~ msgstr "Следната пощенска кутия докладва за грешка:\n"
+
+#~ msgid "The following mailbox is unsupported:\n"
+#~ msgstr "Следните пощенски кутии не се поддържат:\n"
+
#~ msgid "Unable to execute new mail command: %s."
#~ msgstr "Неуспех при стартирането на нова пощенска команда: %s."
diff --git a/po/de.gmo b/po/de.gmo
Binary files differ.
diff --git a/po/de.po b/po/de.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mail-notification 0.7.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2004-10-25 15:26+0200\n"
+"POT-Creation-Date: 2004-10-31 18:42+0100\n"
"PO-Revision-Date: 2004-10-24 10:59+0200\n"
"Last-Translator: Hendrik Brandt <eru@gmx.li>\n"
"Language-Team: German <gnome-de@gnome.org>\n"
@@ -34,7 +34,7 @@ msgstr "Die E-Mail-Eingangsüberwachung einstellen"
#: data/mail-notification-properties.desktop.in.h:2
#: data/mail-notification.desktop.in.h:2
#: data/mail-notification.soundlist.in.h:1 src/mn-about-dialog.gob:40
-#: src/mn-mail-icon.gob:163 src/mn-main.c:271
+#: src/mn-mail-icon.gob:194 src/mn-main.c:271
msgid "Mail Notification"
msgstr "E-Mail-Eingangsüberwachung"
@@ -63,108 +63,138 @@ msgid "Do not show the immediate notification error dialog"
msgstr "Den Fehlerdialog der Sofortbenachrichtigung nicht sofort anzeigen"
#: data/mail-notification.schemas.in.h:6
+msgid "Double-click action"
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:7
msgid "Enable mail summary popup"
msgstr "Nachrichtenübersicht aktivieren"
-#: data/mail-notification.schemas.in.h:7
+#: data/mail-notification.schemas.in.h:8
msgid "Fingerprints of trusted X509 certificates"
msgstr "Fingerabdrücke vertrauensvoller X509-Zertifikate"
-#: data/mail-notification.schemas.in.h:8
+#: data/mail-notification.schemas.in.h:9
msgid "Has already been run"
msgstr "Wurde schon einmal gestartet"
-#: data/mail-notification.schemas.in.h:9
+#: data/mail-notification.schemas.in.h:10
msgid "Height of mail summary dialog"
msgstr "Höhe der Nachrichtenübersicht"
-#: data/mail-notification.schemas.in.h:10
+#: data/mail-notification.schemas.in.h:11
msgid "Height of properties dialog"
msgstr "Höhe des Einstellungen-Dialogs"
-#: data/mail-notification.schemas.in.h:11
+#: data/mail-notification.schemas.in.h:12
msgid "Mail read command"
msgstr "Befehl zum Lesen einer Nachricht"
-#: data/mail-notification.schemas.in.h:12
+#: data/mail-notification.schemas.in.h:13
+#, fuzzy
+msgid "Mail reader command"
+msgstr "Befehl zum Lesen einer Nachricht"
+
+#: data/mail-notification.schemas.in.h:14
msgid "Mail summary popup horizontal offset"
msgstr "Horizontaler Abstand der Nachrichtenübersicht"
-#: data/mail-notification.schemas.in.h:13
+#: data/mail-notification.schemas.in.h:15
msgid "Mail summary popup position"
msgstr "Position der Nachrichtenübersicht"
-#: data/mail-notification.schemas.in.h:14
+#: data/mail-notification.schemas.in.h:16
msgid "Mail summary popup vertical offset"
msgstr "Vertikaler"
-#: data/mail-notification.schemas.in.h:15
+#: data/mail-notification.schemas.in.h:17
msgid "Mailbox list"
msgstr "Liste der Postfächer"
-#: data/mail-notification.schemas.in.h:16
+#: data/mail-notification.schemas.in.h:18
msgid "Minutes between mail checks"
msgstr "Minuten zwischen den Aktualisierungen"
-#: data/mail-notification.schemas.in.h:17
+#: data/mail-notification.schemas.in.h:19
msgid "Minutes to wait before closing the mail summary popup"
msgstr "Wartezeit bis zum Schließen der Nachrichtenübersicht"
-#: data/mail-notification.schemas.in.h:18
+#: data/mail-notification.schemas.in.h:20
msgid "New mail command"
msgstr "Befehl bei neuer Nachricht"
-#: data/mail-notification.schemas.in.h:19
+#: data/mail-notification.schemas.in.h:21
+#, fuzzy
+msgid "Only display recent mail in mail summary popup"
+msgstr "Die Nachrichtenübersicht schließen"
+
+#: data/mail-notification.schemas.in.h:22
msgid "Run a command when all mail is read"
msgstr "Einen Befehl ausführen, wenn alle Nachrichten gelesen sind"
-#: data/mail-notification.schemas.in.h:20
+#: data/mail-notification.schemas.in.h:23
msgid "Run a command when new mail arrives"
msgstr "Einen Befehl ausführen, wenn eine neue Nachricht eintrifft"
-#: data/mail-notification.schemas.in.h:21
+#: data/mail-notification.schemas.in.h:24
msgid "Seconds between mail checks"
msgstr "Sekunden zwischen den Aktualisierungen"
-#: data/mail-notification.schemas.in.h:22
+#: data/mail-notification.schemas.in.h:25
msgid "Seconds to wait before closing the mail summary popup"
msgstr "Wartezeit in Sekunden bis zum Schließen der Nachrichtenübersicht"
-#: data/mail-notification.schemas.in.h:23
+#: data/mail-notification.schemas.in.h:26
+#, fuzzy
+msgid "Set a mail reader"
+msgstr "Wählen Sie eine Datei oder ein Verzeichnis"
+
+#: data/mail-notification.schemas.in.h:27
+msgid ""
+"The action to perform when the icon is double-clicked. Must be \"display-"
+"mail-summary\" or \"launch-mail-reader\"."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:28
msgid ""
"The amount of time to wait before closing the mail summary popup (minutes "
"part)."
msgstr ""
"Die Zeitspanne bis zum Schließen der Nachrichtenübersicht (Minutenteil)."
-#: data/mail-notification.schemas.in.h:24
+#: data/mail-notification.schemas.in.h:29
msgid ""
"The amount of time to wait before closing the mail summary popup (seconds "
"part)."
msgstr ""
"Die Zeitspanne bis zum Schließen der Nachrichtenübersicht (Sekundenteil)."
-#: data/mail-notification.schemas.in.h:25
+#: data/mail-notification.schemas.in.h:30
+#, fuzzy
+msgid "The command to run to launch the mail reader."
+msgstr "Der Befehl der ausgeführt wird, wenn alle Nachrichten gelesen wurden"
+
+#: data/mail-notification.schemas.in.h:31
msgid "The command to run when all mail is read."
msgstr "Der Befehl der ausgeführt wird, wenn alle Nachrichten gelesen wurden"
-#: data/mail-notification.schemas.in.h:26
+#: data/mail-notification.schemas.in.h:32
msgid "The command to run when new mail arrives."
msgstr "Der Befehl der ausgeführt wird, wenn eine neue Nachricht eintrifft."
-#: data/mail-notification.schemas.in.h:27
+#: data/mail-notification.schemas.in.h:33
msgid "The height of the mail summary dialog in pixels."
msgstr "Die Höhe der Nachrichtenübersicht in Pixel."
-#: data/mail-notification.schemas.in.h:28
+#: data/mail-notification.schemas.in.h:34
msgid "The height of the properties dialog in pixels."
msgstr "Die Höhe des Einstellungsdialogs in Pixel."
-#: data/mail-notification.schemas.in.h:29
+#: data/mail-notification.schemas.in.h:35
msgid "The list of mailboxes to monitor."
msgstr "Die Liste der zu überwachenden Postfächer."
-#: data/mail-notification.schemas.in.h:30
+#: data/mail-notification.schemas.in.h:36
msgid ""
"The list of trusted SSL/TLS servers (hostname:port) lacking a X509 "
"certificate."
@@ -172,14 +202,14 @@ msgstr ""
"Die Liste vertrauensvoller SSL/TLS-Server (Host-Name:Port) ohne X509-"
"Zertifikat."
-#: data/mail-notification.schemas.in.h:31
+#: data/mail-notification.schemas.in.h:37
msgid ""
"The list of trusted X509 certificates, represented by their MD5 fingerprint."
msgstr ""
"Die Liste vertrauensvoller X509-Zertifikate, repräsentiert durch ihre MD5-"
"Fingerabdrücke."
-#: data/mail-notification.schemas.in.h:32
+#: data/mail-notification.schemas.in.h:38
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup."
@@ -187,7 +217,7 @@ msgstr ""
"Die Anzahl an Pixeln die zwischen dem linken oder rechten Bildschirmrand und "
"der Nachrichtenübersicht."
-#: data/mail-notification.schemas.in.h:33
+#: data/mail-notification.schemas.in.h:39
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup."
@@ -195,7 +225,7 @@ msgstr ""
"Die Anzahl an Pixeln die zwischen dem oberen oder runteren Bildschirmrand "
"und der Nachrichtenübersicht."
-#: data/mail-notification.schemas.in.h:34
+#: data/mail-notification.schemas.in.h:40
msgid ""
"The position of the mail summary popup. Must be \"top-left\", \"top-right\", "
"\"bottom-left\" or \"bottom-right\"."
@@ -203,62 +233,76 @@ msgstr ""
"Die Position der Nachrichtenübersicht. Der Wert muss »oben-links«, »oben-"
"rechts«, »unten-links« oder »unten-rechts« sein."
-#: data/mail-notification.schemas.in.h:35
+#: data/mail-notification.schemas.in.h:41
msgid "The width of the mail summary dialog in pixels."
msgstr "Die Breite der Nachrichtenübersicht in Pixel."
-#: data/mail-notification.schemas.in.h:36
+#: data/mail-notification.schemas.in.h:42
msgid "The width of the properties dialog in pixels."
msgstr "Die Breite des Einstellungen-Dialogs in Pixel."
-#: data/mail-notification.schemas.in.h:37
+#: data/mail-notification.schemas.in.h:43
msgid "Trusted servers list"
msgstr "Liste vertrauensvoller Server"
-#: data/mail-notification.schemas.in.h:38
+#: data/mail-notification.schemas.in.h:44
msgid "Whether Mail Notification has already been run or not."
msgstr ""
"Legt fest, ob die E-Mail-Eingangsüberwachnung schon einmal gestartet wurde."
-#: data/mail-notification.schemas.in.h:39
+#: data/mail-notification.schemas.in.h:45
msgid "Whether the status icon should blink on errors or not."
msgstr ""
"Legt fest, ob das Nachrichtensymbol bei Auftreten eines Fehlers blinkt."
-#: data/mail-notification.schemas.in.h:40
+#: data/mail-notification.schemas.in.h:46
msgid "Whether to automatically close the mail summary popup or not."
msgstr ""
"Legt fest, ob ein Befehl ausgeführt wird, wenn eine neue Nachricht eintrifft."
-#: data/mail-notification.schemas.in.h:41
+#: data/mail-notification.schemas.in.h:47
msgid "Whether to display the mail summary popup when new mail arrives or not."
msgstr ""
"Legt fest, ob die Nachrichtenübersicht angezeigt wird, wenn eine neue "
"Nachricht eintrifft."
-#: data/mail-notification.schemas.in.h:42
+#: data/mail-notification.schemas.in.h:48
+#, fuzzy
+msgid ""
+"Whether to hide previously displayed mail in the mail summary popup or not."
+msgstr ""
+"Legt fest, ob ein Befehl ausgeführt wird, wenn eine neue Nachricht eintrifft."
+
+#: data/mail-notification.schemas.in.h:49
msgid ""
"Whether to prevent the immediate notification error dialog from being "
"displayed or not."
msgstr ""
"Legt fest, ob der Fehlerdialog der Sofortbenachrichtigung angezeigt wird."
-#: data/mail-notification.schemas.in.h:43
+#: data/mail-notification.schemas.in.h:50
msgid "Whether to run a command when all mail is read or not."
msgstr ""
"Legt fest, ob ein Befehl ausgeführt wird, wenn alle Nachrichten gelesen "
"wurden."
-#: data/mail-notification.schemas.in.h:44
+#: data/mail-notification.schemas.in.h:51
msgid "Whether to run a command when new mail arrives or not."
msgstr ""
"Legt fest, ob ein Befehl ausgeführt wird, wenn eine neue Nachricht eintrifft."
-#: data/mail-notification.schemas.in.h:45
+#: data/mail-notification.schemas.in.h:52
+#, fuzzy
+msgid "Whether to set a mail reader or not."
+msgstr ""
+"Legt fest, ob ein Befehl ausgeführt wird, wenn alle Nachrichten gelesen "
+"wurden."
+
+#: data/mail-notification.schemas.in.h:53
msgid "Width of mail summary dialog"
msgstr "Breite der Nachrichtenübersicht"
-#: data/mail-notification.schemas.in.h:46
+#: data/mail-notification.schemas.in.h:54
msgid "Width of properties dialog"
msgstr "Breite des Einstellungen-Dialogs"
@@ -458,96 +502,96 @@ msgstr "Die Antwort »%s« ist in diesem Kontext nicht zugelassen"
msgid "unable to parse response \"%s\""
msgstr "Die Antwort »%s« konnte nicht analysiert werden"
-#: src/mn-client-session.c:592 src/mn-client-session.c:599
+#: src/mn-client-session.c:601 src/mn-client-session.c:608
#, c-format
msgid "unable to read from server: %s"
msgstr "Es konnte nicht vom Server gelesen werden: %s"
-#: src/mn-client-session.c:597
+#: src/mn-client-session.c:606
msgid "unable to read from server: EOF"
msgstr "Es konnte nicht vom Server gelesen werden: EOF"
-#: src/mn-client-session.c:609
+#: src/mn-client-session.c:618
#, c-format
msgid "unable to decode data using SASL: %s"
msgstr "Die Daten konnten nicht per SASL dekodiert werden: %s"
-#: src/mn-client-session.c:746
+#: src/mn-client-session.c:755
#, c-format
msgid "unable to encode data using SASL: %s"
msgstr "Die Daten konnten nicht per SASL kodiert werden: %s"
-#: src/mn-client-session.c:777 src/mn-client-session.c:784
+#: src/mn-client-session.c:786 src/mn-client-session.c:793
#, c-format
msgid "unable to write to server: %s"
msgstr "Es konnte nicht auf den Server geschrieben werden: %s"
-#: src/mn-client-session.c:782
+#: src/mn-client-session.c:791
msgid "unable to write to server: EOF"
msgstr "Es konnte nicht auf den Server geschrieben werden: EOF"
-#: src/mn-client-session.c:814
+#: src/mn-client-session.c:823
#, c-format
msgid "unable to encode Base64: %s"
msgstr "Es konnte nicht mit Base64 kodiert werden: %s"
-#: src/mn-client-session.c:917
+#: src/mn-client-session.c:927
#, c-format
msgid "unable to initialize the SASL library: %s"
msgstr "Die SASL-Bibliothek konnte nicht initializiert werden: %s"
-#: src/mn-client-session.c:926
+#: src/mn-client-session.c:936
#, c-format
msgid "unable to retrieve local address of socket: %s"
msgstr "Die lokale Adresse des Socket konnte nicht herausgefunden werden: %s"
-#: src/mn-client-session.c:932
+#: src/mn-client-session.c:942
#, c-format
msgid "unable to retrieve remote address of socket: %s"
msgstr ""
"Die entfernte Adresse des Socket konnte nicht herausgefunden werden: %s"
-#: src/mn-client-session.c:966
+#: src/mn-client-session.c:976
#, c-format
msgid "warning: unable to set SASL security properties: %s"
msgstr ""
"Warnung: Die SASL-Sicherheitseigenschaften konnten nicht gesetzt werden: %s"
-#: src/mn-client-session.c:1005
+#: src/mn-client-session.c:1015
msgid ""
"unable to start SASL authentication: SASL asked for something we did not know"
msgstr ""
"Die SASL-Authentifizierung konnte nicht gestartet werden: es wurde eine "
"unbekannte Anfrage von SASL gestellt"
-#: src/mn-client-session.c:1009
+#: src/mn-client-session.c:1019
#, c-format
msgid "unable to start SASL authentication: %s"
msgstr "Die SASL-Authentifizierung konnte nicht gestartet werden: %s"
-#: src/mn-client-session.c:1013
+#: src/mn-client-session.c:1023
#, c-format
msgid "unable to create a SASL connection: %s"
msgstr "Es konnte keine Verbindung mit SASL erzeugt werden: %s"
-#: src/mn-client-session.c:1063
+#: src/mn-client-session.c:1073
msgid "SASL asked for something we did not know, aborting SASL authentication"
msgstr ""
"Es wurde eine unbekannte Anfrage von SASL gestellt, SASL-Authentifizierung "
"wird abgebrochen"
-#: src/mn-client-session.c:1067
+#: src/mn-client-session.c:1077
#, c-format
msgid "%s, aborting SASL authentication"
msgstr "%s, SASL-Authentifizierung wird abgebrochen"
#. compliance error
-#: src/mn-client-session.c:1072
+#: src/mn-client-session.c:1082
#, c-format
msgid "unable to decode Base64 input from server: %s"
msgstr "Die Server-seitige Base64-Eingabe konnte nicht dekodiert werden: %s"
-#: src/mn-client-session.c:1075
+#: src/mn-client-session.c:1085
msgid ""
"the server sent a SASL challenge, but there was a pending initial SASL "
"client response"
@@ -555,7 +599,7 @@ msgstr ""
"Der Server hat während einer beginnenden SASL-Client-Antwort einen Fehler "
"gesendet"
-#: src/mn-client-session.c:1089
+#: src/mn-client-session.c:1099
msgid ""
"the server did not send a SASL challenge, but there was no pending initial "
"SASL client response"
@@ -563,32 +607,32 @@ msgstr ""
"Der Server hat kein SASL-Problem gesendet, während noch eine Client-seitige "
"SASL-Reaktion begonnen wurde"
-#: src/mn-client-session.c:1112
+#: src/mn-client-session.c:1122
#, c-format
msgid "a SASL security layer of strength factor %i is now active"
msgstr "Die SASL-Sicherheitsebene der Stärke %i ist jetzt aktiv"
#. a security layer is active but we can't retrieve maxoutbuf -> fatal
-#: src/mn-client-session.c:1117
+#: src/mn-client-session.c:1127
#, c-format
msgid "unable to get SASL_MAXOUTBUF property: %s"
msgstr "Der Wert SASL_MAXOUTBUF wurde nicht gefunden: %s"
-#: src/mn-client-session.c:1123
+#: src/mn-client-session.c:1133
#, c-format
msgid "warning: unable to get SASL_SSF property: %s"
msgstr "Warnung: Der Wert SASL_SSF wurde nicht gefunden: %s"
-#: src/mn-conf.c:123
+#: src/mn-conf.c:136
#, c-format
msgid "recursively unsetting %s"
msgstr "%s rekursiv zurück setzen"
-#: src/mn-conf.c:127
+#: src/mn-conf.c:140
msgid "syncing the GConf database"
msgstr "Synchronisiere mit der GConf-Datenbank"
-#: src/mn-conf.c:130
+#: src/mn-conf.c:143
msgid "completed"
msgstr "Abgeschlossen"
@@ -604,33 +648,33 @@ msgstr ""
"Ihr Gmail-Passwort (falls Sie nichts eingeben, werden Sie jedesmal wenn es "
"notwendig ist nach dem Passwort gefragt)"
-#: src/mn-gmail-mailbox.gob:63
+#: src/mn-gmail-mailbox.gob:81
msgid "libsoup has not been compiled with SSL/TLS support"
msgstr "»libsoup« wurde nicht mit SSL/TLS-Unterstützung erstellt"
-#: src/mn-gmail-mailbox.gob:105
+#: src/mn-gmail-mailbox.gob:123
#, c-format
msgid "unable to parse URI \"%s\""
msgstr "Die Adresse »%s« konnte nicht analysiert werden"
-#: src/mn-gmail-mailbox.gob:159
+#: src/mn-gmail-mailbox.gob:177
#, c-format
msgid "unable to transfer data: %s"
msgstr "Daten konnten nicht übertragen werden: %s"
-#: src/mn-gmail-mailbox.gob:280
+#: src/mn-gmail-mailbox.gob:298
msgid "logging in"
msgstr "Anmelden bei"
-#: src/mn-gmail-mailbox.gob:358
+#: src/mn-gmail-mailbox.gob:376
msgid "login failed"
msgstr "Anmeldung fehlgeschlagen"
-#: src/mn-gmail-mailbox.gob:433
+#: src/mn-gmail-mailbox.gob:451
msgid "searching for unread mail"
msgstr "Es wird nach ungelesenen Nachrichten gesucht"
-#: src/mn-gmail-mailbox.gob:529
+#: src/mn-gmail-mailbox.gob:490
msgid "unable to parse Gmail data"
msgstr "Die Gmail-Daten konnte nicht analysiert werden"
@@ -696,54 +740,54 @@ msgstr "Die Port-Nummer auf dem IMAP-Server"
msgid "The mailbox name"
msgstr "Der Postfachname"
-#: src/mn-imap-mailbox.gob:133 src/mn-pop3-mailbox.gob:142
+#: src/mn-imap-mailbox.gob:164 src/mn-pop3-mailbox.gob:142
msgid "SSL/TLS support has not been compiled in"
msgstr ""
"Die Unterstützung für SSL/TLS wurde beim Erstellen des Programms nicht "
"eingebaut"
-#: src/mn-imap-mailbox.gob:204
+#: src/mn-imap-mailbox.gob:253
msgid "server did not send capabilities"
msgstr "Der Server hat seine Fähigkeiten nicht bekannt gegeben"
-#: src/mn-imap-mailbox.gob:319
+#: src/mn-imap-mailbox.gob:374
msgid "server advertised LOGINDISABLED, not using LOGIN authentication"
msgstr ""
"Der Server gibt LOGINDISABLED zurück, LOGIN-Authentifizierung wird nicht "
"verwendet"
-#: src/mn-imap-mailbox.gob:320
+#: src/mn-imap-mailbox.gob:375
msgid "unable to login"
msgstr "Anmeldung fehlgeschlagen"
#. compliance error
-#: src/mn-imap-mailbox.gob:451
+#: src/mn-imap-mailbox.gob:516
msgid "server did not send search results"
msgstr "Der Server hat keine Suchergebnisse gesendet"
#. compliance error
-#: src/mn-imap-mailbox.gob:527
+#: src/mn-imap-mailbox.gob:596
msgid "server did not send all the messages we requested"
msgstr "Der Server hat nicht alle angeforderten Nachrichten gesendet"
-#: src/mn-imap-mailbox.gob:574
+#: src/mn-imap-mailbox.gob:645
msgid "unable to fetch message"
msgstr "Nachrichten konnten nicht abgerufen werden"
#. compliance error
-#: src/mn-imap-mailbox.gob:621
+#: src/mn-imap-mailbox.gob:763
msgid "server did not send status"
msgstr "Der Server hat seinen Status nicht bekannt gegeben"
-#: src/mn-imap-mailbox.gob:856 src/mn-pop3-mailbox.gob:913
+#: src/mn-imap-mailbox.gob:1035 src/mn-pop3-mailbox.gob:922
msgid "unknown server error"
msgstr "Unbekannter Server-Fehler"
-#: src/mn-imap-mailbox.gob:927 src/mn-pop3-mailbox.gob:226
+#: src/mn-imap-mailbox.gob:1106 src/mn-pop3-mailbox.gob:226
msgid "server does not support in-band SSL/TLS"
msgstr "Der Server unterstütz kein band-internes SSL/TLS"
-#: src/mn-imap-mailbox.gob:946 src/mn-pop3-mailbox.gob:832
+#: src/mn-imap-mailbox.gob:1125 src/mn-pop3-mailbox.gob:841
msgid ""
"a SASL authentication mechanism was selected but SASL support has not been "
"compiled in"
@@ -751,24 +795,28 @@ msgstr ""
"Sie haben eine Authentifizierung mit SASL ausgewählt, jedoch wurde die "
"Unterstützung für SASL beim Erstellen des Programms nicht eingebaut"
-#: src/mn-imap-mailbox.gob:954 src/mn-pop3-mailbox.gob:844
+#: src/mn-imap-mailbox.gob:1133 src/mn-pop3-mailbox.gob:853
#, c-format
msgid "unknown authentication mechanism \"%s\""
msgstr "Unbekannte Authentifizierungsmethode »%s«"
-#: src/mn-imap-mailbox.gob:972
+#: src/mn-imap-mailbox.gob:1151
msgid "falling back to IMAP LOGIN authentication"
msgstr "Es wird auf die Authentifizierung per IMAP LOGIN zurückgegriffen"
-#: src/mn-imap-mailbox.gob:977 src/mn-pop3-mailbox.gob:879
+#: src/mn-imap-mailbox.gob:1156 src/mn-pop3-mailbox.gob:888
msgid "authentication failed"
msgstr "Authentifizierung fehlgeschlagen"
-#: src/mn-mail-icon.gob:84 ui/summary-dialog.glade.h:2
+#: src/mn-mail-icon.gob:92 ui/summary-dialog.glade.h:2
+msgid "_Launch Mail Reader"
+msgstr ""
+
+#: src/mn-mail-icon.gob:93 ui/summary-dialog.glade.h:3
msgid "_Update"
msgstr "_Aktualisieren"
-#: src/mn-mail-icon.gob:90
+#: src/mn-mail-icon.gob:99
msgid "R_emove From Notification Area"
msgstr "Aus dem Benachrichtigungsfeld entfernen"
@@ -825,7 +873,7 @@ msgstr "Vollständig"
msgid "Whether the properties are completely filled or not"
msgstr "Legt fest, ob die Einstellungen vollständig ausgefüllt sind"
-#: src/mn-mailbox-view.gob:263 src/mn-message-label.gob:74
+#: src/mn-mailbox-view.gob:263 src/mn-message-box.gob:58
msgid "Mailbox"
msgstr "Postfach"
@@ -851,35 +899,36 @@ msgid "The mailbox human-readable name"
msgstr "Der lesbare Postfachname"
#: src/mn-mailbox.gob:145
-msgid "Whether the mailbox has to be manually checked or not"
+#, fuzzy
+msgid "Whether the mailbox has to be polled or not"
msgstr "Legt fest, ob das Postfach manuell überprüft werden soll"
-#: src/mn-mailbox.gob:150
+#: src/mn-mailbox.gob:151
msgid "Whether the mailbox has new mail or not"
msgstr "Legt fest, ob das Postfach neue Nachrichten enthält"
-#: src/mn-mailbox.gob:155
+#: src/mn-mailbox.gob:156
msgid "The list of new and unread MNMessage objects"
msgstr "Die Liste neuer und ungelesener MNMessage-Objekte"
-#: src/mn-mailbox.gob:209
+#: src/mn-mailbox.gob:210
msgid "The mailbox error, if any"
msgstr "Der Postfachfehler, falls vorhanden"
-#: src/mn-mailbox.gob:308
+#: src/mn-mailbox.gob:309
msgid "does not exist"
msgstr "existiert nicht"
-#: src/mn-mailbox.gob:340
+#: src/mn-mailbox.gob:341
msgid "unknown format"
msgstr "unbekanntes Format"
-#: src/mn-mailbox.gob:406
+#: src/mn-mailbox.gob:407
#, c-format
msgid "unable to enable immediate notification for %s: %s"
msgstr "Die Sofortbenachrichtigung konnte für %s nicht aktiviert werden: %s"
-#: src/mn-mailbox.gob:424
+#: src/mn-mailbox.gob:425
#, fuzzy, c-format
msgid ""
"As a fallback, they will be checked every %i second (this delay is "
@@ -898,7 +947,7 @@ msgstr[1] ""
"alle %i Sekunden überprüft (Dieser Wert kann über den Einstellungsdialog "
"angepasst werden)."
-#: src/mn-mailbox.gob:435
+#: src/mn-mailbox.gob:436
#, fuzzy, c-format
msgid ""
"As a fallback, they will be checked every %i minute (this delay is "
@@ -917,7 +966,7 @@ msgstr[1] ""
"alle %i Minuten überprüft (Dieser Wert kann über den Einstellungsdialog "
"angepasst werden)."
-#: src/mn-mailbox.gob:446
+#: src/mn-mailbox.gob:447
#, fuzzy, c-format
msgid ""
"As a fallback, they will be checked approximately every %i minute (this "
@@ -936,11 +985,11 @@ msgstr[1] ""
"alle %i Minuten überprüft (Dieser Wert kann über den Einstellungsdialog "
"angepasst werden)."
-#: src/mn-mailbox.gob:462
+#: src/mn-mailbox.gob:463
msgid "A monitoring error has occurred"
msgstr "Bei der Überwachung ist ein Fehler aufgetreten"
-#: src/mn-mailbox.gob:463
+#: src/mn-mailbox.gob:464
#, c-format
msgid ""
"Mail Notification was unable to enable immediate notification for one or "
@@ -949,26 +998,26 @@ msgstr ""
"Die E-Mail-Eingangsüberwachung konnte die Sofortbenachrichtigung für ein "
"oder mehrere Postfächer nicht aktivieren: %s"
-#: src/mn-mailboxes.gob:143
+#: src/mn-mailboxes.gob:142
msgid "Whether one or more of the mailboxes has to be polled"
msgstr "Legt fest, ob ein oder mehrere Postfächer befragt werden sollen"
-#: src/mn-mailboxes.gob:276
+#: src/mn-mailboxes.gob:272
#, c-format
msgid "%s is unsupported: %s"
msgstr "%s wird nicht unterstützt: %s"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has new mail"
msgstr "%s hat neue Nachrichten"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has no new mail"
msgstr "%s hat keine neuen Nachrichten"
-#: src/mn-mailboxes.gob:333
+#: src/mn-mailboxes.gob:330
#, c-format
msgid "%s reported an error: %s"
msgstr "%s hat einen Fehler erzeugt: %s"
@@ -1089,47 +1138,47 @@ msgstr "Postfach konnte nicht neu geladen werden: %s"
msgid "unable to open mailbox: %s"
msgstr "Postfach konnte nicht geöffnet werden: %s"
-#: src/mn-message-label.gob:77
+#: src/mn-message-box.gob:61
msgid "Unreadable message"
msgstr "Nichtlesbare Nachricht"
-#: src/mn-message-label.gob:97
+#: src/mn-message-box.gob:66
msgid "From"
msgstr "Von"
-#: src/mn-message-label.gob:98
+#: src/mn-message-box.gob:67
msgid "Subject"
msgstr "Betreff"
-#: src/mn-message-label.gob:102
+#: src/mn-message-box.gob:72
msgid "Sent"
msgstr "Gesendet"
-#: src/mn-message-label.gob:151
+#: src/mn-message-box.gob:184
#, c-format
msgid "%i second ago"
msgid_plural "%i seconds ago"
msgstr[0] "Vor %i Sekunde"
-#: src/mn-message-label.gob:155
+#: src/mn-message-box.gob:188
#, c-format
msgid "%i minute ago"
msgid_plural "%i minutes ago"
msgstr[0] "Vor %i Minute"
-#: src/mn-message-label.gob:160
+#: src/mn-message-box.gob:193
#, c-format
msgid "%i hour ago"
msgid_plural "%i hours ago"
msgstr[0] "Vor %i Stunde"
-#: src/mn-message-label.gob:165
+#: src/mn-message-box.gob:198
#, c-format
msgid "%i day ago"
msgid_plural "%i days ago"
msgstr[0] "Vor %i Tag"
-#: src/mn-message-label.gob:170
+#: src/mn-message-box.gob:203
#, c-format
msgid "%i week ago"
msgid_plural "%i weeks ago"
@@ -1178,15 +1227,15 @@ msgstr "_band-internes SSL/TLS"
msgid "SSL/TLS on sepa_rate port"
msgstr "SSL/TLS über e_xtra Port"
-#: src/mn-pop3-mailbox-properties.gob:85
+#: src/mn-pop3-mailbox-properties.gob:86
msgid "The hostname or IP address of the POP3 server"
msgstr "Der Name oder die IP-Adresse des POP3-Servers"
-#: src/mn-pop3-mailbox-properties.gob:86
+#: src/mn-pop3-mailbox-properties.gob:87
msgid "Your username on the POP3 server"
msgstr "Ihr Benutzername für diesen POP3-Server"
-#: src/mn-pop3-mailbox-properties.gob:87
+#: src/mn-pop3-mailbox-properties.gob:88
msgid ""
"Your password on the POP3 server (if left blank, you will be prompted for "
"the password when needed)"
@@ -1194,7 +1243,7 @@ msgstr ""
"Ihr Passwort für diesen POP3-Server (falls Sie nichts eingeben, werden Sie "
"jedesmal wenn es notwendig ist nach dem Passwort gefragt)"
-#: src/mn-pop3-mailbox-properties.gob:88 src/mn-pop3-mailbox-properties.gob:89
+#: src/mn-pop3-mailbox-properties.gob:89 src/mn-pop3-mailbox-properties.gob:90
msgid "The port number of the POP3 server"
msgstr "Die Port-Nummer des POP3-Servers"
@@ -1202,11 +1251,11 @@ msgstr "Die Port-Nummer des POP3-Servers"
msgid "invalid arguments for the LOGIN-DELAY capability"
msgstr "Ungültige Argumente für die Anmeldeverzögerung"
-#: src/mn-pop3-mailbox.gob:549
+#: src/mn-pop3-mailbox.gob:556
msgid "unknown error"
msgstr "Unbekannter Fehler"
-#: src/mn-pop3-mailbox.gob:681
+#: src/mn-pop3-mailbox.gob:690
#, c-format
msgid "honouring LOGIN-DELAY, sleeping for %i second"
msgid_plural "honouring LOGIN-DELAY, sleeping for %i seconds"
@@ -1215,82 +1264,66 @@ msgstr[0] ""
"gewartetAnmeldeverzögerung wird berücksichtigt, es wird für %i Sekunden "
"gewartet"
-#: src/mn-pop3-mailbox.gob:840
+#: src/mn-pop3-mailbox.gob:849
msgid "server does not support APOP authentication"
msgstr "Der Server unterstütz eine Authentifizierung per APOP nicht."
-#: src/mn-pop3-mailbox.gob:868
+#: src/mn-pop3-mailbox.gob:877
msgid "falling back to APOP authentication"
msgstr "Es wird auf Authentifizierung mit APOP zurück gegriffen."
-#: src/mn-pop3-mailbox.gob:873
+#: src/mn-pop3-mailbox.gob:882
msgid "falling back to USER/PASS authentication"
msgstr ""
"Es wird auf Authentifizierung per Nutzername und Passwort zurück gegriffen."
-#: src/mn-properties.c:170
+#: src/mn-properties.c:181
msgid "top left"
msgstr "oben links"
-#: src/mn-properties.c:171
+#: src/mn-properties.c:182
msgid "top right"
msgstr "oben rechts"
-#: src/mn-properties.c:172
+#: src/mn-properties.c:183
msgid "bottom left"
msgstr "unten links"
-#: src/mn-properties.c:173
+#: src/mn-properties.c:184
msgid "bottom right"
msgstr "unten rechts"
-#: src/mn-properties.c:251
+#: src/mn-properties.c:270
msgid "No mailbox selected."
msgstr "Kein Postfach ausgewählt."
-#: src/mn-properties.c:256
+#: src/mn-properties.c:275
#, c-format
msgid "%i mailbox selected."
msgid_plural "%i mailboxes selected."
msgstr[0] "Ein Posfach ausgewählt."
msgstr[1] "%i Postfächer ausgewählt."
-#: src/mn-shell.gob:86
+#: src/mn-shell.gob:92
msgid "You have new mail."
msgstr "Sie haben neue Nachrichten."
-#: src/mn-shell.gob:263
-msgid "The following mailbox has new mail:\n"
-msgid_plural "The following mailboxes have new mail:\n"
-msgstr[0] "Dieses Postfach hat neue Nachrichten:\n"
-msgstr[1] "Diese Postfächer haben neue Nachrichten:\n"
-
-#: src/mn-shell.gob:267
-msgid "You have no new mail."
-msgstr "Sie haben keine neuen Nachrichten."
-
-#: src/mn-shell.gob:270
-msgid "The following mailbox reported an error:\n"
-msgid_plural "The following mailboxes reported an error:\n"
-msgstr[0] "Das folgende Postfach hat einen Fehler ausgegeben:\n"
-msgstr[1] "Die folgenden Postfächer haben einen Fehler ausgegeben:\n"
-
-#: src/mn-shell.gob:275
-msgid "The following mailbox is unsupported:\n"
-msgid_plural "The following mailboxes are unsupported:\n"
-msgstr[0] "Das folgende Postfach wird nicht unterstützt:\n"
-msgstr[1] "Die folgenden Postfächer werden nicht unterstützt:\n"
-
-#: src/mn-shell.gob:320
-msgid "A command error has occurred in Mail Notification"
+#: src/mn-shell.gob:347
+msgid "Mailboxes Having New Mail"
msgstr ""
-"Es ist ein Fehler beim Ausführen eines Befehls in der E-Mail-"
-"Eingangsüberwachung aufgetreten."
-#: src/mn-shell.gob:321
-#, c-format
-msgid "Unable to execute \"%s\": %s."
-msgstr "»%s« konnte nicht ausgeführt werden: %s."
+#: src/mn-shell.gob:349
+msgid "Errors"
+msgstr ""
+
+#: src/mn-shell.gob:351
+#, fuzzy
+msgid "Unsupported Mailboxes"
+msgstr "Systempostfach"
+
+#: src/mn-shell.gob:364 ui/summary-dialog.glade.h:1
+msgid "Mail Summary"
+msgstr "Nachrichtenübersicht"
#: src/mn-soup.c:140
#, c-format
@@ -1392,11 +1425,22 @@ msgstr ""
msgid "unable to get current time: %s"
msgstr "Die aktuelle Zeit konnte nicht ermittelt werden: %s"
-#: src/mn-util.c:887
+#: src/mn-util.c:906
#, c-format
msgid "invalid signal specification \"%s\""
msgstr "Ungültige Signalspezifikation »%s«"
+#: src/mn-util.c:945
+msgid "A command error has occurred in Mail Notification"
+msgstr ""
+"Es ist ein Fehler beim Ausführen eines Befehls in der E-Mail-"
+"Eingangsüberwachung aufgetreten."
+
+#: src/mn-util.c:946
+#, c-format
+msgid "Unable to execute \"%s\": %s."
+msgstr "»%s« konnte nicht ausgeführt werden: %s."
+
#: ui/authentication.glade.h:1 ui/properties.glade.h:2
msgid "*"
msgstr "*"
@@ -1418,60 +1462,74 @@ msgid "<span weight=\"bold\">Commands</span>"
msgstr "<span weight=\"bold\">Befehle</span>"
#: ui/properties.glade.h:4
+#, fuzzy
+msgid "<span weight=\"bold\">Double-click Action</span>"
+msgstr "<span weight=\"bold\">Position</span>"
+
+#: ui/properties.glade.h:5
msgid "<span weight=\"bold\">General</span>"
msgstr "<span weight=\"bold\">Allgemein</span>"
-#: ui/properties.glade.h:5
+#: ui/properties.glade.h:6
msgid "<span weight=\"bold\">Mailbox List</span>"
msgstr "<span weight=\"bold\">Postfächer</span>"
-#: ui/properties.glade.h:6
+#: ui/properties.glade.h:7
msgid "<span weight=\"bold\">Position</span>"
msgstr "<span weight=\"bold\">Position</span>"
-#: ui/properties.glade.h:7
+#: ui/properties.glade.h:8
msgid "General"
msgstr "Allgemein"
-#: ui/properties.glade.h:8
+#: ui/properties.glade.h:9
msgid "Hori_zontal offset:"
msgstr "_Horizontaler Abstand:"
-#: ui/properties.glade.h:9
+#: ui/properties.glade.h:10
msgid "Mail Notification Properties"
msgstr "Einstellung der E-Mail-Eingangsüberwachung"
-#: ui/properties.glade.h:10
+#: ui/properties.glade.h:11
msgid "Mail Summary Popup"
msgstr "Aufklappende Nachrichtenübersicht"
-#: ui/properties.glade.h:11
+#: ui/properties.glade.h:12
msgid "Mailboxes"
msgstr "Postfächer"
-#: ui/properties.glade.h:12
+#: ui/properties.glade.h:13
+msgid "Only display _recent mail"
+msgstr ""
+
+#: ui/properties.glade.h:14
msgid "P_osition:"
msgstr "P_osition:"
-#: ui/properties.glade.h:13
+#: ui/properties.glade.h:15
msgid "The amount of time to wait before closing the mail summary popup"
msgstr "Die Wartedauer ehe die Nachrichtenübersicht geschlossen wurde"
-#: ui/properties.glade.h:14
+#: ui/properties.glade.h:16
msgid "The amount of time to wait between mail checks"
msgstr "Die Zeit die zwischen zwei Überprüfungen auf neue Nachrichten vergeht"
-#: ui/properties.glade.h:15
+#: ui/properties.glade.h:17
+#, fuzzy
+msgid "The command to run to launch the mail reader"
+msgstr "Der auszuführende Befehl wenn alle Nachrichten gelesen wurden"
+
+#: ui/properties.glade.h:18
msgid "The command to run when all mail is read"
msgstr "Der auszuführende Befehl wenn alle Nachrichten gelesen wurden"
-#: ui/properties.glade.h:16
+#: ui/properties.glade.h:19
msgid "The command to run when new mail arrives"
msgstr ""
"Geben Sie hier den Befehl ein, der ausgeführt wird sobald eine neue "
"Nachricht eintrifft."
-#: ui/properties.glade.h:17
+#: ui/properties.glade.h:20
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup"
@@ -1479,7 +1537,7 @@ msgstr ""
"Die Anzahl an Pixeln die zwischen dem linken oder rechten Bildschirmrand und "
"der Nachrichtenübersicht."
-#: ui/properties.glade.h:18
+#: ui/properties.glade.h:21
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup"
@@ -1487,42 +1545,53 @@ msgstr ""
"Die Anzahl an Pixel zwischen dem oberen oder unteren Bildschirmrand und der "
"Nachrichtenübersicht."
-#: ui/properties.glade.h:19
+#: ui/properties.glade.h:22
msgid "When _all mail is read:"
msgstr "Wenn alle Nachricht _gelesen wurden:"
-#: ui/properties.glade.h:20
+#: ui/properties.glade.h:23
msgid "When _new mail arrives:"
msgstr "Wenn neue Nachricht _eintrifft:"
-#: ui/properties.glade.h:21
+#: ui/properties.glade.h:24
msgid "Whether the status icon should blink on errors or not"
msgstr ""
"Wenn diese Option gewählt ist, blinkt das Nachrichtensymbol bei Auftreten "
"eines Fehlers."
-#: ui/properties.glade.h:22
+#: ui/properties.glade.h:25
msgid "Whether to automatically close the mail summary popup or not"
msgstr "Legt fest, ob die Nachrichtenübersicht automatisch geschlossen wird"
-#: ui/properties.glade.h:23
+#: ui/properties.glade.h:26
msgid "Whether to display the mail summary popup when new mail arrives or not"
msgstr ""
"Legt fest, ob die Nachrichtenübersicht aufklappt wenn eine neue Nachricht "
"eintrifft"
-#: ui/properties.glade.h:24
+#: ui/properties.glade.h:27
+#, fuzzy
+msgid "Whether to hide previously displayed mail or not"
+msgstr "Legt fest, ob das Postfach neue Nachrichten enthält"
+
+#: ui/properties.glade.h:28
msgid "Whether to run a command when all mail is read or not"
msgstr ""
"Legt fest, ob ein Befehl ausgeführt wird wenn alle Nachrichten gelesen wurden"
-#: ui/properties.glade.h:25
+#: ui/properties.glade.h:29
msgid "Whether to run a command when new mail arrives or not"
msgstr ""
"Wenn diese Option ausgewählt ist, können Sie einen Befehl angeben der "
"ausgeführt wird, sobald eine neue Nachricht eintrifft."
-#: ui/properties.glade.h:26
+#: ui/properties.glade.h:30
+#, fuzzy
+msgid "Whether to set a mail reader or not"
+msgstr ""
+"Legt fest, ob ein Befehl ausgeführt wird wenn alle Nachrichten gelesen wurden"
+
+#: ui/properties.glade.h:31
msgid ""
"Whether to start Mail Notification when you log into your GNOME session or "
"not"
@@ -1530,46 +1599,56 @@ msgstr ""
"Wenn diese Option ausgewählt ist, wird die E-Mail-Eingangsüberwachnung beim "
"Starten von GNOME ebenfalls gestartet."
-#: ui/properties.glade.h:27
+#: ui/properties.glade.h:32
msgid "_Automatically close after:"
msgstr "_Automatisch schließen nach:"
-#: ui/properties.glade.h:28
+#: ui/properties.glade.h:33
msgid "_Blink on errors"
msgstr "_Bei Fehler blinken"
-#: ui/properties.glade.h:29
+#: ui/properties.glade.h:34
msgid "_Delay between mail checks:"
msgstr "_Nach neuen Nachrichten sehen alle:"
-#: ui/properties.glade.h:30
+#: ui/properties.glade.h:35
+#, fuzzy
+msgid "_Display the mail summary dialog"
+msgstr "Die Nachrichtenübersicht anzeigen"
+
+#: ui/properties.glade.h:36
msgid "_Enable mail summary popup"
msgstr "_Aufklappende Nachrichtenübersicht aktivieren"
-#: ui/properties.glade.h:31
+#: ui/properties.glade.h:37
+msgid "_Launch the mail reader"
+msgstr ""
+
+#: ui/properties.glade.h:38
+#, fuzzy
+msgid "_Mail reader:"
+msgstr "_Nachrichtenübersicht"
+
+#: ui/properties.glade.h:39
msgid "_Start Mail Notification on GNOME login"
msgstr "_Laden beim Starten von GNOME"
-#: ui/properties.glade.h:32
+#: ui/properties.glade.h:40
msgid "_Vertical offset:"
msgstr "_Vertikaler Abstand:"
-#: ui/properties.glade.h:33
+#: ui/properties.glade.h:41
msgid "minutes"
msgstr "Minuten"
-#: ui/properties.glade.h:34
+#: ui/properties.glade.h:42
msgid "pixels"
msgstr "Pixel"
-#: ui/properties.glade.h:35
+#: ui/properties.glade.h:43
msgid "seconds"
msgstr "Sekunden"
-#: ui/summary-dialog.glade.h:1
-msgid "Mail Summary"
-msgstr "Nachrichtenübersicht"
-
#: ui/summary-popup.glade.h:1
msgid "<span size=\"larger\" weight=\"bold\">Mail Summary</span>"
msgstr "<span size=\"larger\" weight=\"bold\">Nachrichtenübersicht</span>"
@@ -1622,3 +1701,21 @@ msgstr "Konfiguration über_springen"
#~ "über den Einstellungsdialog angepasst werden).Als Rücksicherung werden "
#~ "diese alle %i Minuten überprüft (Dieser Wert kann über den "
#~ "Einstellungsdialog angepasst werden)."
+
+#~ msgid "The following mailbox has new mail:\n"
+#~ msgid_plural "The following mailboxes have new mail:\n"
+#~ msgstr[0] "Dieses Postfach hat neue Nachrichten:\n"
+#~ msgstr[1] "Diese Postfächer haben neue Nachrichten:\n"
+
+#~ msgid "You have no new mail."
+#~ msgstr "Sie haben keine neuen Nachrichten."
+
+#~ msgid "The following mailbox reported an error:\n"
+#~ msgid_plural "The following mailboxes reported an error:\n"
+#~ msgstr[0] "Das folgende Postfach hat einen Fehler ausgegeben:\n"
+#~ msgstr[1] "Die folgenden Postfächer haben einen Fehler ausgegeben:\n"
+
+#~ msgid "The following mailbox is unsupported:\n"
+#~ msgid_plural "The following mailboxes are unsupported:\n"
+#~ msgstr[0] "Das folgende Postfach wird nicht unterstützt:\n"
+#~ msgstr[1] "Die folgenden Postfächer werden nicht unterstützt:\n"
diff --git a/po/fr.gmo b/po/fr.gmo
Binary files differ.
diff --git a/po/fr.po b/po/fr.po
@@ -8,10 +8,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: mail-notification 0.7.1\n"
+"Project-Id-Version: mail-notification 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2004-10-25 15:26+0200\n"
-"PO-Revision-Date: 2004-10-25 15:22+0200\n"
+"POT-Creation-Date: 2004-10-31 18:42+0100\n"
+"PO-Revision-Date: 2004-10-31 18:39+0100\n"
"Last-Translator: Jean-Yves Lefort <jylefort@brutele.be>\n"
"Language-Team: Jean-Yves Lefort <jylefort@brutele.be>\n"
"MIME-Version: 1.0\n"
@@ -34,7 +34,7 @@ msgstr "Configurer la Notification de Courrier"
#: data/mail-notification-properties.desktop.in.h:2
#: data/mail-notification.desktop.in.h:2
#: data/mail-notification.soundlist.in.h:1 src/mn-about-dialog.gob:40
-#: src/mn-mail-icon.gob:163 src/mn-main.c:271
+#: src/mn-mail-icon.gob:194 src/mn-main.c:271
msgid "Mail Notification"
msgstr "Notification de Courrier"
@@ -65,74 +65,99 @@ msgstr ""
"immédiate"
#: data/mail-notification.schemas.in.h:6
+msgid "Double-click action"
+msgstr "Action du Double-click"
+
+#: data/mail-notification.schemas.in.h:7
msgid "Enable mail summary popup"
msgstr "Activer le popup d'aperçu du courrier"
-#: data/mail-notification.schemas.in.h:7
+#: data/mail-notification.schemas.in.h:8
msgid "Fingerprints of trusted X509 certificates"
msgstr "Empreintes digitales des certificats X509 de confiance"
-#: data/mail-notification.schemas.in.h:8
+#: data/mail-notification.schemas.in.h:9
msgid "Has already been run"
msgstr "A déjà été exécuté"
-#: data/mail-notification.schemas.in.h:9
+#: data/mail-notification.schemas.in.h:10
msgid "Height of mail summary dialog"
msgstr "Hauteur de la boîte de dialogue contenant l'aperçu du courrier"
-#: data/mail-notification.schemas.in.h:10
+#: data/mail-notification.schemas.in.h:11
msgid "Height of properties dialog"
msgstr "Hauteur de la boîte de dialogue contenant les propriétés"
-#: data/mail-notification.schemas.in.h:11
+#: data/mail-notification.schemas.in.h:12
msgid "Mail read command"
msgstr "Commande de courrier lu"
-#: data/mail-notification.schemas.in.h:12
+#: data/mail-notification.schemas.in.h:13
+msgid "Mail reader command"
+msgstr "Commande de lecteur de courrier"
+
+#: data/mail-notification.schemas.in.h:14
msgid "Mail summary popup horizontal offset"
msgstr "Décalage horizontal du popup d'aperçu du courrier"
-#: data/mail-notification.schemas.in.h:13
+#: data/mail-notification.schemas.in.h:15
msgid "Mail summary popup position"
msgstr "Position du popup d'aperçu du courrier"
-#: data/mail-notification.schemas.in.h:14
+#: data/mail-notification.schemas.in.h:16
msgid "Mail summary popup vertical offset"
msgstr "Décalage vertical du popup d'aperçu du courrier"
-#: data/mail-notification.schemas.in.h:15
+#: data/mail-notification.schemas.in.h:17
msgid "Mailbox list"
msgstr "Liste des boîtes aux lettres"
-#: data/mail-notification.schemas.in.h:16
+#: data/mail-notification.schemas.in.h:18
msgid "Minutes between mail checks"
msgstr "Minutes entre les vérifications de courrier"
-#: data/mail-notification.schemas.in.h:17
+#: data/mail-notification.schemas.in.h:19
msgid "Minutes to wait before closing the mail summary popup"
msgstr "Minutes à attendre avant de fermer le popup d'aperçu du courrier"
-#: data/mail-notification.schemas.in.h:18
+#: data/mail-notification.schemas.in.h:20
msgid "New mail command"
msgstr "Commande de nouveau message"
-#: data/mail-notification.schemas.in.h:19
+#: data/mail-notification.schemas.in.h:21
+msgid "Only display recent mail in mail summary popup"
+msgstr ""
+"Afficher uniquement le courrier récent dans le popup d'aperçu du courrier"
+
+#: data/mail-notification.schemas.in.h:22
msgid "Run a command when all mail is read"
msgstr "Exécuter une commande lorsque tout le courrier est lu"
-#: data/mail-notification.schemas.in.h:20
+#: data/mail-notification.schemas.in.h:23
msgid "Run a command when new mail arrives"
msgstr "Exécuter une commande lorsque du nouveau courrier arrive"
-#: data/mail-notification.schemas.in.h:21
+#: data/mail-notification.schemas.in.h:24
msgid "Seconds between mail checks"
msgstr "Secondes entre les vérifications de courrier"
-#: data/mail-notification.schemas.in.h:22
+#: data/mail-notification.schemas.in.h:25
msgid "Seconds to wait before closing the mail summary popup"
msgstr "Secondes à attendre avant de fermer le popup d'aperçu du courrier"
-#: data/mail-notification.schemas.in.h:23
+#: data/mail-notification.schemas.in.h:26
+msgid "Set a mail reader"
+msgstr "Spécifier un lecteur de courrier"
+
+#: data/mail-notification.schemas.in.h:27
+msgid ""
+"The action to perform when the icon is double-clicked. Must be \"display-"
+"mail-summary\" or \"launch-mail-reader\"."
+msgstr ""
+"L'action à effectuer lorsque l'icône est double-clickée. Doit être \"display-"
+"mail-summary\" ou \"launch-mail-reader\"."
+
+#: data/mail-notification.schemas.in.h:28
msgid ""
"The amount of time to wait before closing the mail summary popup (minutes "
"part)."
@@ -140,7 +165,7 @@ msgstr ""
"La quantité de temps à attendre avant de fermer le popup d'aperçu du "
"courrier (partie minutes)."
-#: data/mail-notification.schemas.in.h:24
+#: data/mail-notification.schemas.in.h:29
msgid ""
"The amount of time to wait before closing the mail summary popup (seconds "
"part)."
@@ -148,28 +173,32 @@ msgstr ""
"La quantité de temps à attendre avant de fermer le popup d'aperçu du "
"courrier (partie secondes)."
-#: data/mail-notification.schemas.in.h:25
+#: data/mail-notification.schemas.in.h:30
+msgid "The command to run to launch the mail reader."
+msgstr "La commande à exécuter pour démarrer le lecteur de courrier."
+
+#: data/mail-notification.schemas.in.h:31
msgid "The command to run when all mail is read."
msgstr "La commande à exécuter lorsque tout le courrier est lu"
-#: data/mail-notification.schemas.in.h:26
+#: data/mail-notification.schemas.in.h:32
msgid "The command to run when new mail arrives."
msgstr "La commande à exécuter lorsque du nouveau courrier arrive."
-#: data/mail-notification.schemas.in.h:27
+#: data/mail-notification.schemas.in.h:33
msgid "The height of the mail summary dialog in pixels."
msgstr ""
"La hauteur de la boîte de dialogue contenant l'aperçu du courrier en pixels."
-#: data/mail-notification.schemas.in.h:28
+#: data/mail-notification.schemas.in.h:34
msgid "The height of the properties dialog in pixels."
msgstr "La hauteur de la boîte de dialogue contenant les propriétés en pixels."
-#: data/mail-notification.schemas.in.h:29
+#: data/mail-notification.schemas.in.h:35
msgid "The list of mailboxes to monitor."
msgstr "La liste des boîtes aux lettres à surveiller."
-#: data/mail-notification.schemas.in.h:30
+#: data/mail-notification.schemas.in.h:36
msgid ""
"The list of trusted SSL/TLS servers (hostname:port) lacking a X509 "
"certificate."
@@ -177,14 +206,14 @@ msgstr ""
"La liste des serveurs SSL/TLS (hôte:port) de confiance auxquels il manque un "
"certificat X509."
-#: data/mail-notification.schemas.in.h:31
+#: data/mail-notification.schemas.in.h:37
msgid ""
"The list of trusted X509 certificates, represented by their MD5 fingerprint."
msgstr ""
"La liste des certificats X509 de confiance, représentés par leur empreinte "
"digitale."
-#: data/mail-notification.schemas.in.h:32
+#: data/mail-notification.schemas.in.h:38
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup."
@@ -192,7 +221,7 @@ msgstr ""
"Le nombre de pixels à laisser entre la gauche ou la droite de l'écran et le "
"popup d'aperçu du courrier."
-#: data/mail-notification.schemas.in.h:33
+#: data/mail-notification.schemas.in.h:39
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup."
@@ -200,7 +229,7 @@ msgstr ""
"Le nombre de pixels à laisser entre le haut ou le bas de l'écran et le popup "
"d'aperçu du courrier."
-#: data/mail-notification.schemas.in.h:34
+#: data/mail-notification.schemas.in.h:40
msgid ""
"The position of the mail summary popup. Must be \"top-left\", \"top-right\", "
"\"bottom-left\" or \"bottom-right\"."
@@ -208,39 +237,46 @@ msgstr ""
"La position du popup d'aperçu du courrier. Doit etre \"top-left\", \"top-"
"right\", \"bottom-left\" or \"bottom-right\"."
-#: data/mail-notification.schemas.in.h:35
+#: data/mail-notification.schemas.in.h:41
msgid "The width of the mail summary dialog in pixels."
msgstr ""
"La largeur de la boîte de dialogue contenant l'aperçu du courrier en pixels."
-#: data/mail-notification.schemas.in.h:36
+#: data/mail-notification.schemas.in.h:42
msgid "The width of the properties dialog in pixels."
msgstr "La largeur de la boîte de dialogue contenant les propriétés en pixels."
-#: data/mail-notification.schemas.in.h:37
+#: data/mail-notification.schemas.in.h:43
msgid "Trusted servers list"
msgstr "Liste des serveurs de confiance"
-#: data/mail-notification.schemas.in.h:38
+#: data/mail-notification.schemas.in.h:44
msgid "Whether Mail Notification has already been run or not."
msgstr "Si la Notification de Courrier a déjà été exécutée ou pas."
-#: data/mail-notification.schemas.in.h:39
+#: data/mail-notification.schemas.in.h:45
msgid "Whether the status icon should blink on errors or not."
msgstr "Si l'icône de statut doit clignoter lors d'erreurs ou pas."
-#: data/mail-notification.schemas.in.h:40
+#: data/mail-notification.schemas.in.h:46
msgid "Whether to automatically close the mail summary popup or not."
msgstr ""
"Si le popup d'aperçu du courrier doit être automatiquement fermé ou pas."
-#: data/mail-notification.schemas.in.h:41
+#: data/mail-notification.schemas.in.h:47
msgid "Whether to display the mail summary popup when new mail arrives or not."
msgstr ""
"Si le popup d'aperçu du courrier doit être affiché lorsque du nouveau "
"courrier arrive ou pas."
-#: data/mail-notification.schemas.in.h:42
+#: data/mail-notification.schemas.in.h:48
+msgid ""
+"Whether to hide previously displayed mail in the mail summary popup or not."
+msgstr ""
+"Si le courrier précédemment affiché dans le popup d'aperçu du courrier doit "
+"être caché ou pas."
+
+#: data/mail-notification.schemas.in.h:49
msgid ""
"Whether to prevent the immediate notification error dialog from being "
"displayed or not."
@@ -248,21 +284,25 @@ msgstr ""
"Si il faut empêcher la boîte de dialogue contenant l'erreur de notification "
"immédiate de s'afficher ou pas."
-#: data/mail-notification.schemas.in.h:43
+#: data/mail-notification.schemas.in.h:50
msgid "Whether to run a command when all mail is read or not."
msgstr ""
"Si une commande doit être exécutée lorsque tout le courrier est lu ou pas."
-#: data/mail-notification.schemas.in.h:44
+#: data/mail-notification.schemas.in.h:51
msgid "Whether to run a command when new mail arrives or not."
msgstr ""
"Si une commande doit être exécutée lorsque du nouveau courrier arrive ou pas."
-#: data/mail-notification.schemas.in.h:45
+#: data/mail-notification.schemas.in.h:52
+msgid "Whether to set a mail reader or not."
+msgstr "Si un lecteur de courrier est spécifié ou pas."
+
+#: data/mail-notification.schemas.in.h:53
msgid "Width of mail summary dialog"
msgstr "Largeur de la boîte de dialogue contenant l'aperçu du courrier"
-#: data/mail-notification.schemas.in.h:46
+#: data/mail-notification.schemas.in.h:54
msgid "Width of properties dialog"
msgstr "Largeur de la boîte de dialogue contenant les propriétés"
@@ -460,95 +500,95 @@ msgstr "la réponse \"%s\" n'est pas valable dans le contexte actuel"
msgid "unable to parse response \"%s\""
msgstr "impossible d'interpréter la réponse \"%s\""
-#: src/mn-client-session.c:592 src/mn-client-session.c:599
+#: src/mn-client-session.c:601 src/mn-client-session.c:608
#, c-format
msgid "unable to read from server: %s"
msgstr "impossible de lire depuis le serveur: %s"
-#: src/mn-client-session.c:597
+#: src/mn-client-session.c:606
msgid "unable to read from server: EOF"
msgstr "impossible de lire depuis le serveur: EOF"
-#: src/mn-client-session.c:609
+#: src/mn-client-session.c:618
#, c-format
msgid "unable to decode data using SASL: %s"
msgstr "impossible de décoder les données en utilisant SASL: %s"
-#: src/mn-client-session.c:746
+#: src/mn-client-session.c:755
#, c-format
msgid "unable to encode data using SASL: %s"
msgstr "impossible d'encoder les données en utilisant SASL: %s"
-#: src/mn-client-session.c:777 src/mn-client-session.c:784
+#: src/mn-client-session.c:786 src/mn-client-session.c:793
#, c-format
msgid "unable to write to server: %s"
msgstr "impossible d'écrire vers le serveur: %s"
-#: src/mn-client-session.c:782
+#: src/mn-client-session.c:791
msgid "unable to write to server: EOF"
msgstr "impossible d'écrire vers le serveur: EOF"
-#: src/mn-client-session.c:814
+#: src/mn-client-session.c:823
#, c-format
msgid "unable to encode Base64: %s"
msgstr "impossible d'encoder en Base64: %s"
-#: src/mn-client-session.c:917
+#: src/mn-client-session.c:927
#, c-format
msgid "unable to initialize the SASL library: %s"
msgstr "impossible d'initialiser la bibliothèque SASL: %s"
-#: src/mn-client-session.c:926
+#: src/mn-client-session.c:936
#, c-format
msgid "unable to retrieve local address of socket: %s"
msgstr "impossible d'obtenir l'adresse locale du socket: %s"
-#: src/mn-client-session.c:932
+#: src/mn-client-session.c:942
#, c-format
msgid "unable to retrieve remote address of socket: %s"
msgstr "impossible d'obtenir l'adresse distante du socket: %s"
-#: src/mn-client-session.c:966
+#: src/mn-client-session.c:976
#, c-format
msgid "warning: unable to set SASL security properties: %s"
msgstr ""
"avertissement: impossible de spécifier les propriétés de sécurité SASL: %s"
-#: src/mn-client-session.c:1005
+#: src/mn-client-session.c:1015
msgid ""
"unable to start SASL authentication: SASL asked for something we did not know"
msgstr ""
"impossible de démarrer l'authentification SASL: SASL a demandé quelque chose "
"que nous ne connaissions pas"
-#: src/mn-client-session.c:1009
+#: src/mn-client-session.c:1019
#, c-format
msgid "unable to start SASL authentication: %s"
msgstr "impossible de démarrer l'authentification SASL: %s"
-#: src/mn-client-session.c:1013
+#: src/mn-client-session.c:1023
#, c-format
msgid "unable to create a SASL connection: %s"
msgstr "impossible de créer une connection SASL: %s"
-#: src/mn-client-session.c:1063
+#: src/mn-client-session.c:1073
msgid "SASL asked for something we did not know, aborting SASL authentication"
msgstr ""
"SASL a demandé quelque chose que nous ne connaissions pas, annulation de "
"l'authentification SASL"
-#: src/mn-client-session.c:1067
+#: src/mn-client-session.c:1077
#, c-format
msgid "%s, aborting SASL authentication"
msgstr "%s, annulation de l'authentification SASL"
#. compliance error
-#: src/mn-client-session.c:1072
+#: src/mn-client-session.c:1082
#, c-format
msgid "unable to decode Base64 input from server: %s"
msgstr "impossible de décoder l'entrée Base64 du serveur: %s"
-#: src/mn-client-session.c:1075
+#: src/mn-client-session.c:1085
msgid ""
"the server sent a SASL challenge, but there was a pending initial SASL "
"client response"
@@ -556,7 +596,7 @@ msgstr ""
"le serveur a envoyé un défi SASL, mais il y avait une réponse client SASL "
"initiale en attente"
-#: src/mn-client-session.c:1089
+#: src/mn-client-session.c:1099
msgid ""
"the server did not send a SASL challenge, but there was no pending initial "
"SASL client response"
@@ -564,33 +604,33 @@ msgstr ""
"le serveur n'a pas envoyé de défi SASL, mais il n'y avait pas de réponse "
"client SASL initiale en attente"
-#: src/mn-client-session.c:1112
+#: src/mn-client-session.c:1122
#, c-format
msgid "a SASL security layer of strength factor %i is now active"
msgstr ""
"une couche de sécurité SASL de facteur de force %i est maintenant active"
#. a security layer is active but we can't retrieve maxoutbuf -> fatal
-#: src/mn-client-session.c:1117
+#: src/mn-client-session.c:1127
#, c-format
msgid "unable to get SASL_MAXOUTBUF property: %s"
msgstr "impossible d'obtenir la propriété SASL_MAXOUTBUF: %s"
-#: src/mn-client-session.c:1123
+#: src/mn-client-session.c:1133
#, c-format
msgid "warning: unable to get SASL_SSF property: %s"
msgstr "avertissement: impossible d'obtenir la propriété SASL_SSF: %s"
-#: src/mn-conf.c:123
+#: src/mn-conf.c:136
#, c-format
msgid "recursively unsetting %s"
msgstr "en train de supprimer récursivement %s"
-#: src/mn-conf.c:127
+#: src/mn-conf.c:140
msgid "syncing the GConf database"
msgstr "en train de synchroniser la base de données GConf"
-#: src/mn-conf.c:130
+#: src/mn-conf.c:143
msgid "completed"
msgstr "terminé"
@@ -606,33 +646,33 @@ msgstr ""
"Votre mot de passe Gmail (si laissé vide, le mot de passe vous sera demandé "
"en temps utile)"
-#: src/mn-gmail-mailbox.gob:63
+#: src/mn-gmail-mailbox.gob:81
msgid "libsoup has not been compiled with SSL/TLS support"
msgstr "libsoup n'a pas été compilé avec le support SSL/TLS"
-#: src/mn-gmail-mailbox.gob:105
+#: src/mn-gmail-mailbox.gob:123
#, c-format
msgid "unable to parse URI \"%s\""
msgstr "impossible d'interpréter l'URI \"%s\""
-#: src/mn-gmail-mailbox.gob:159
+#: src/mn-gmail-mailbox.gob:177
#, c-format
msgid "unable to transfer data: %s"
msgstr "impossible de transférer des données: %s"
-#: src/mn-gmail-mailbox.gob:280
+#: src/mn-gmail-mailbox.gob:298
msgid "logging in"
msgstr "ouverture de session en cours"
-#: src/mn-gmail-mailbox.gob:358
+#: src/mn-gmail-mailbox.gob:376
msgid "login failed"
msgstr "l'ouverture de session a échoué"
-#: src/mn-gmail-mailbox.gob:433
+#: src/mn-gmail-mailbox.gob:451
msgid "searching for unread mail"
msgstr "recherche du courrier non lu"
-#: src/mn-gmail-mailbox.gob:529
+#: src/mn-gmail-mailbox.gob:490
msgid "unable to parse Gmail data"
msgstr "impossible d'interpréter les données Gmail"
@@ -698,52 +738,52 @@ msgstr "Le numéro de port du serveur IMAP"
msgid "The mailbox name"
msgstr "Le nom de la boîte aux lettres"
-#: src/mn-imap-mailbox.gob:133 src/mn-pop3-mailbox.gob:142
+#: src/mn-imap-mailbox.gob:164 src/mn-pop3-mailbox.gob:142
msgid "SSL/TLS support has not been compiled in"
msgstr "le support SSL/TLS n'a pas été inclus lors de la compilation"
-#: src/mn-imap-mailbox.gob:204
+#: src/mn-imap-mailbox.gob:253
msgid "server did not send capabilities"
msgstr "le serveur n'a pas envoyé ses possibilités"
-#: src/mn-imap-mailbox.gob:319
+#: src/mn-imap-mailbox.gob:374
msgid "server advertised LOGINDISABLED, not using LOGIN authentication"
msgstr ""
"le serveur a annoncé LOGINDISABLED, pas d'utilisation de l'authentification "
"LOGIN"
-#: src/mn-imap-mailbox.gob:320
+#: src/mn-imap-mailbox.gob:375
msgid "unable to login"
msgstr "impossible d'ouvrir la session"
#. compliance error
-#: src/mn-imap-mailbox.gob:451
+#: src/mn-imap-mailbox.gob:516
msgid "server did not send search results"
msgstr "le serveur n'a pas envoyé les résultats de la recherche"
#. compliance error
-#: src/mn-imap-mailbox.gob:527
+#: src/mn-imap-mailbox.gob:596
msgid "server did not send all the messages we requested"
msgstr "le serveur n'a pas envoyé tous les messages que nous avons demandé"
-#: src/mn-imap-mailbox.gob:574
+#: src/mn-imap-mailbox.gob:645
msgid "unable to fetch message"
msgstr "impossible d'obtenir le message"
#. compliance error
-#: src/mn-imap-mailbox.gob:621
+#: src/mn-imap-mailbox.gob:763
msgid "server did not send status"
msgstr "le serveur n'a pas envoyé de statut"
-#: src/mn-imap-mailbox.gob:856 src/mn-pop3-mailbox.gob:913
+#: src/mn-imap-mailbox.gob:1035 src/mn-pop3-mailbox.gob:922
msgid "unknown server error"
msgstr "erreur serveur inconnue"
-#: src/mn-imap-mailbox.gob:927 src/mn-pop3-mailbox.gob:226
+#: src/mn-imap-mailbox.gob:1106 src/mn-pop3-mailbox.gob:226
msgid "server does not support in-band SSL/TLS"
msgstr "le serveur ne supporte pas le mode SSL/TLS interne"
-#: src/mn-imap-mailbox.gob:946 src/mn-pop3-mailbox.gob:832
+#: src/mn-imap-mailbox.gob:1125 src/mn-pop3-mailbox.gob:841
msgid ""
"a SASL authentication mechanism was selected but SASL support has not been "
"compiled in"
@@ -751,24 +791,28 @@ msgstr ""
"un mécanisme d'authentification SASL a été sélectionné mais le support SASL "
"n'a pas été inclus lors de la compilation"
-#: src/mn-imap-mailbox.gob:954 src/mn-pop3-mailbox.gob:844
+#: src/mn-imap-mailbox.gob:1133 src/mn-pop3-mailbox.gob:853
#, c-format
msgid "unknown authentication mechanism \"%s\""
msgstr "mécanisme d'authentification inconnu \"%s\""
-#: src/mn-imap-mailbox.gob:972
+#: src/mn-imap-mailbox.gob:1151
msgid "falling back to IMAP LOGIN authentication"
msgstr "rétrogradation vers l'authentification IMAP LOGIN"
-#: src/mn-imap-mailbox.gob:977 src/mn-pop3-mailbox.gob:879
+#: src/mn-imap-mailbox.gob:1156 src/mn-pop3-mailbox.gob:888
msgid "authentication failed"
msgstr "l'authentification a échoué"
-#: src/mn-mail-icon.gob:84 ui/summary-dialog.glade.h:2
+#: src/mn-mail-icon.gob:92 ui/summary-dialog.glade.h:2
+msgid "_Launch Mail Reader"
+msgstr "_Exécuter le Lecteur de Courrier"
+
+#: src/mn-mail-icon.gob:93 ui/summary-dialog.glade.h:3
msgid "_Update"
msgstr "_Mettre à Jour"
-#: src/mn-mail-icon.gob:90
+#: src/mn-mail-icon.gob:99
msgid "R_emove From Notification Area"
msgstr "_Enlever de l'Aire de Notification"
@@ -825,7 +869,7 @@ msgstr "Complet"
msgid "Whether the properties are completely filled or not"
msgstr "Si les propriétés sont complètement remplies ou pas"
-#: src/mn-mailbox-view.gob:263 src/mn-message-label.gob:74
+#: src/mn-mailbox-view.gob:263 src/mn-message-box.gob:58
msgid "Mailbox"
msgstr "Boîte aux lettres"
@@ -851,35 +895,35 @@ msgid "The mailbox human-readable name"
msgstr "Le nom, lisible par un humain, de la boîte aux lettres"
#: src/mn-mailbox.gob:145
-msgid "Whether the mailbox has to be manually checked or not"
-msgstr "Si la boîte aux lettres doit être vérifiée manuellement ou pas"
+msgid "Whether the mailbox has to be polled or not"
+msgstr "Si la boîte aux lettres doit être vérifiée explicitement ou pas"
-#: src/mn-mailbox.gob:150
+#: src/mn-mailbox.gob:151
msgid "Whether the mailbox has new mail or not"
msgstr "Si la boîte aux lettres a du nouveau courrier ou pas"
-#: src/mn-mailbox.gob:155
+#: src/mn-mailbox.gob:156
msgid "The list of new and unread MNMessage objects"
msgstr "La liste des objets MNMessage neufs et non lus"
-#: src/mn-mailbox.gob:209
+#: src/mn-mailbox.gob:210
msgid "The mailbox error, if any"
msgstr "L'erreur de la boîte aux lettres si il y en a une"
-#: src/mn-mailbox.gob:308
+#: src/mn-mailbox.gob:309
msgid "does not exist"
msgstr "n'existe pas"
-#: src/mn-mailbox.gob:340
+#: src/mn-mailbox.gob:341
msgid "unknown format"
msgstr "format inconnu"
-#: src/mn-mailbox.gob:406
+#: src/mn-mailbox.gob:407
#, c-format
msgid "unable to enable immediate notification for %s: %s"
msgstr "impossible d'activer la notification immédiate pour %s: %s"
-#: src/mn-mailbox.gob:424
+#: src/mn-mailbox.gob:425
#, c-format
msgid ""
"As a fallback, they will be checked every %i second (this delay is "
@@ -894,7 +938,7 @@ msgstr[1] ""
"Comme solution de secours, elles seront vérifiées toutes les %i secondes (ce "
"délai est configurable depuis les Propriétés)."
-#: src/mn-mailbox.gob:435
+#: src/mn-mailbox.gob:436
#, c-format
msgid ""
"As a fallback, they will be checked every %i minute (this delay is "
@@ -909,7 +953,7 @@ msgstr[1] ""
"Comme solution de secours, elles seront vérifiées toutes les %i minutes (ce "
"délai est configurable depuis les Propriétés)."
-#: src/mn-mailbox.gob:446
+#: src/mn-mailbox.gob:447
#, c-format
msgid ""
"As a fallback, they will be checked approximately every %i minute (this "
@@ -924,11 +968,11 @@ msgstr[1] ""
"Comme solution de secours, elles seront vérifiées approximativement toutes "
"les %i minutes (ce délai est configurable depuis les Propriétés)."
-#: src/mn-mailbox.gob:462
+#: src/mn-mailbox.gob:463
msgid "A monitoring error has occurred"
msgstr "Une erreur de surveillance s'est produite"
-#: src/mn-mailbox.gob:463
+#: src/mn-mailbox.gob:464
#, c-format
msgid ""
"Mail Notification was unable to enable immediate notification for one or "
@@ -937,27 +981,27 @@ msgstr ""
"La Notification de Courrier n'a pas été en mesure d'activer la notification "
"immédiate pour une ou plusieures boîtes aux lettres. %s"
-#: src/mn-mailboxes.gob:143
+#: src/mn-mailboxes.gob:142
msgid "Whether one or more of the mailboxes has to be polled"
msgstr ""
"Si une ou plusieurs boîtes aux lettres doivent être vérifiées explicitement"
-#: src/mn-mailboxes.gob:276
+#: src/mn-mailboxes.gob:272
#, c-format
msgid "%s is unsupported: %s"
msgstr "%s n'est pas pris en charge: %s"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has new mail"
msgstr "%s a du nouveau courrier"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has no new mail"
msgstr "%s n'a pas de nouveau courrier"
-#: src/mn-mailboxes.gob:333
+#: src/mn-mailboxes.gob:330
#, c-format
msgid "%s reported an error: %s"
msgstr "%s a indiqué une erreur: %s"
@@ -1077,51 +1121,51 @@ msgstr "erreur lors de la lecture de la boîte aux lettres: %s"
msgid "unable to open mailbox: %s"
msgstr "impossible d'ouvrir la boîte aux lettres: %s"
-#: src/mn-message-label.gob:77
+#: src/mn-message-box.gob:61
msgid "Unreadable message"
msgstr "Message non lisible"
-#: src/mn-message-label.gob:97
+#: src/mn-message-box.gob:66
msgid "From"
msgstr "De"
-#: src/mn-message-label.gob:98
+#: src/mn-message-box.gob:67
msgid "Subject"
msgstr "Sujet"
-#: src/mn-message-label.gob:102
+#: src/mn-message-box.gob:72
msgid "Sent"
msgstr "Envoyé"
-#: src/mn-message-label.gob:151
+#: src/mn-message-box.gob:184
#, c-format
msgid "%i second ago"
msgid_plural "%i seconds ago"
msgstr[0] "il y a %i seconde"
msgstr[1] "il y a %i secondes"
-#: src/mn-message-label.gob:155
+#: src/mn-message-box.gob:188
#, c-format
msgid "%i minute ago"
msgid_plural "%i minutes ago"
msgstr[0] "il y a %i minute"
msgstr[1] "il y a %i minutes"
-#: src/mn-message-label.gob:160
+#: src/mn-message-box.gob:193
#, c-format
msgid "%i hour ago"
msgid_plural "%i hours ago"
msgstr[0] "il y a %i heure"
msgstr[1] "il y a %i heures"
-#: src/mn-message-label.gob:165
+#: src/mn-message-box.gob:198
#, c-format
msgid "%i day ago"
msgid_plural "%i days ago"
msgstr[0] "il y a %i jour"
msgstr[1] "il y a %i jours"
-#: src/mn-message-label.gob:170
+#: src/mn-message-box.gob:203
#, c-format
msgid "%i week ago"
msgid_plural "%i weeks ago"
@@ -1170,15 +1214,15 @@ msgstr "SSL/TLS _interne"
msgid "SSL/TLS on sepa_rate port"
msgstr "SSL/TLS sur port sépa_ré"
-#: src/mn-pop3-mailbox-properties.gob:85
+#: src/mn-pop3-mailbox-properties.gob:86
msgid "The hostname or IP address of the POP3 server"
msgstr "Le nom d'hôte ou adresse IP du serveur POP3"
-#: src/mn-pop3-mailbox-properties.gob:86
+#: src/mn-pop3-mailbox-properties.gob:87
msgid "Your username on the POP3 server"
msgstr "Votre nom d'utilisateur sur le serveur POP3"
-#: src/mn-pop3-mailbox-properties.gob:87
+#: src/mn-pop3-mailbox-properties.gob:88
msgid ""
"Your password on the POP3 server (if left blank, you will be prompted for "
"the password when needed)"
@@ -1186,7 +1230,7 @@ msgstr ""
"Votre mot de passe sur le serveur POP3 (si laissé vide, le mot de passe vous "
"sera demandé en temps utile)"
-#: src/mn-pop3-mailbox-properties.gob:88 src/mn-pop3-mailbox-properties.gob:89
+#: src/mn-pop3-mailbox-properties.gob:89 src/mn-pop3-mailbox-properties.gob:90
msgid "The port number of the POP3 server"
msgstr "Le numéro de port du serveur POP3"
@@ -1194,90 +1238,75 @@ msgstr "Le numéro de port du serveur POP3"
msgid "invalid arguments for the LOGIN-DELAY capability"
msgstr "arguments invalides pour la possibilité LOGIN-DELAY"
-#: src/mn-pop3-mailbox.gob:549
+#: src/mn-pop3-mailbox.gob:556
msgid "unknown error"
msgstr "erreur inconnue"
-#: src/mn-pop3-mailbox.gob:681
+#: src/mn-pop3-mailbox.gob:690
#, c-format
msgid "honouring LOGIN-DELAY, sleeping for %i second"
msgid_plural "honouring LOGIN-DELAY, sleeping for %i seconds"
msgstr[0] "attente de %i seconde afin d'obéir à LOGIN-DELAY"
msgstr[1] "attente de %i secondes afin d'obéir à LOGIN-DELAY"
-#: src/mn-pop3-mailbox.gob:840
+#: src/mn-pop3-mailbox.gob:849
msgid "server does not support APOP authentication"
msgstr "le serveur ne supporte pas l'authentification APOP"
-#: src/mn-pop3-mailbox.gob:868
+#: src/mn-pop3-mailbox.gob:877
msgid "falling back to APOP authentication"
msgstr "rétrogradation vers l'authentification APOP"
-#: src/mn-pop3-mailbox.gob:873
+#: src/mn-pop3-mailbox.gob:882
msgid "falling back to USER/PASS authentication"
msgstr "rétrogradation vers l'authentification USER/PASS"
-#: src/mn-properties.c:170
+#: src/mn-properties.c:181
msgid "top left"
msgstr "en haut à gauche"
-#: src/mn-properties.c:171
+#: src/mn-properties.c:182
msgid "top right"
msgstr "en haut à droite"
-#: src/mn-properties.c:172
+#: src/mn-properties.c:183
msgid "bottom left"
msgstr "en bas à gauche"
-#: src/mn-properties.c:173
+#: src/mn-properties.c:184
msgid "bottom right"
msgstr "en bas à droite"
-#: src/mn-properties.c:251
+#: src/mn-properties.c:270
msgid "No mailbox selected."
msgstr "Pas de boîte aux lettres sélectionnée."
-#: src/mn-properties.c:256
+#: src/mn-properties.c:275
#, c-format
msgid "%i mailbox selected."
msgid_plural "%i mailboxes selected."
msgstr[0] "%i boîte aux lettres sélectionnée"
msgstr[1] "%i boîtes aux lettres sélectionnées"
-#: src/mn-shell.gob:86
+#: src/mn-shell.gob:92
msgid "You have new mail."
msgstr "Vous avez du nouveau courrier."
-#: src/mn-shell.gob:263
-msgid "The following mailbox has new mail:\n"
-msgid_plural "The following mailboxes have new mail:\n"
-msgstr[0] "La boîte aux lettres suivante a du nouveau courrier:\n"
-msgstr[1] "Les boîtes aux lettres suivantes ont du nouveau courrier:\n"
-
-#: src/mn-shell.gob:267
-msgid "You have no new mail."
-msgstr "Vous n'avez pas de nouveau courrier."
-
-#: src/mn-shell.gob:270
-msgid "The following mailbox reported an error:\n"
-msgid_plural "The following mailboxes reported an error:\n"
-msgstr[0] "La boîte aux lettres suivante a indiqué une erreur:\n"
-msgstr[1] "Les boîtes aux lettres suivantes ont indiqué une erreur:\n"
-
-#: src/mn-shell.gob:275
-msgid "The following mailbox is unsupported:\n"
-msgid_plural "The following mailboxes are unsupported:\n"
-msgstr[0] "La boîte aux lettres suivante n'est pas prise en charge:\n"
-msgstr[1] "Les boîtes aux lettres suivantes ne sont pas prises en charge:\n"
-
-#: src/mn-shell.gob:320
-msgid "A command error has occurred in Mail Notification"
-msgstr "Une erreur de commande s'est produite dans la Notification de Courrier"
+#: src/mn-shell.gob:347
+msgid "Mailboxes Having New Mail"
+msgstr "Boîtes aux Lettres Ayant du Nouveau Courrier"
-#: src/mn-shell.gob:321
-#, c-format
-msgid "Unable to execute \"%s\": %s."
-msgstr "Impossible d'exécuter \"%s\": %s"
+#: src/mn-shell.gob:349
+msgid "Errors"
+msgstr "Erreurs"
+
+#: src/mn-shell.gob:351
+msgid "Unsupported Mailboxes"
+msgstr "Boîtes aux Lettres Non Supportées"
+
+#: src/mn-shell.gob:364 ui/summary-dialog.glade.h:1
+msgid "Mail Summary"
+msgstr "Aperçu du Courrier"
#: src/mn-soup.c:140
#, c-format
@@ -1378,11 +1407,20 @@ msgstr "Une erreur fatale s'est produite dans la Notification de Courrier"
msgid "unable to get current time: %s"
msgstr "impossible d'obtenir l'heure courante: %s"
-#: src/mn-util.c:887
+#: src/mn-util.c:906
#, c-format
msgid "invalid signal specification \"%s\""
msgstr "spécification de signal \"%s\" invalide"
+#: src/mn-util.c:945
+msgid "A command error has occurred in Mail Notification"
+msgstr "Une erreur de commande s'est produite dans la Notification de Courrier"
+
+#: src/mn-util.c:946
+#, c-format
+msgid "Unable to execute \"%s\": %s."
+msgstr "Impossible d'exécuter \"%s\": %s"
+
#: ui/authentication.glade.h:1 ui/properties.glade.h:2
msgid "*"
msgstr "*"
@@ -1404,59 +1442,71 @@ msgid "<span weight=\"bold\">Commands</span>"
msgstr "<span weight=\"bold\">Commandes</span>"
#: ui/properties.glade.h:4
+msgid "<span weight=\"bold\">Double-click Action</span>"
+msgstr "<span weight=\"bold\">Action du Double-Click</span>"
+
+#: ui/properties.glade.h:5
msgid "<span weight=\"bold\">General</span>"
msgstr "<span weight=\"bold\">Général</span>"
-#: ui/properties.glade.h:5
+#: ui/properties.glade.h:6
msgid "<span weight=\"bold\">Mailbox List</span>"
msgstr "<span weight=\"bold\">Liste des Boîtes aux Lettres</span>"
-#: ui/properties.glade.h:6
+#: ui/properties.glade.h:7
msgid "<span weight=\"bold\">Position</span>"
msgstr "<span weight=\"bold\">Position</span>"
-#: ui/properties.glade.h:7
+#: ui/properties.glade.h:8
msgid "General"
msgstr "Général"
-#: ui/properties.glade.h:8
+#: ui/properties.glade.h:9
msgid "Hori_zontal offset:"
msgstr "Décalage hori_zontal:"
-#: ui/properties.glade.h:9
+#: ui/properties.glade.h:10
msgid "Mail Notification Properties"
msgstr "Propriétés de la Notification de Courrier"
-#: ui/properties.glade.h:10
+#: ui/properties.glade.h:11
msgid "Mail Summary Popup"
msgstr "Popup d'Aperçu du Courrier"
-#: ui/properties.glade.h:11
+#: ui/properties.glade.h:12
msgid "Mailboxes"
msgstr "Boîtes aux Lettres"
-#: ui/properties.glade.h:12
+#: ui/properties.glade.h:13
+msgid "Only display _recent mail"
+msgstr "Afficher uniquement le courrier _récent"
+
+#: ui/properties.glade.h:14
msgid "P_osition:"
msgstr "P_osition:"
-#: ui/properties.glade.h:13
+#: ui/properties.glade.h:15
msgid "The amount of time to wait before closing the mail summary popup"
msgstr ""
"La quantité de temps à attendre avant de fermer le popup d'aperçu du courrier"
-#: ui/properties.glade.h:14
+#: ui/properties.glade.h:16
msgid "The amount of time to wait between mail checks"
msgstr "La quantité de temps à attendre entre les vérifications de courrier"
-#: ui/properties.glade.h:15
+#: ui/properties.glade.h:17
+msgid "The command to run to launch the mail reader"
+msgstr "La commande à exécuter pour démarrer le lecteur de courrier."
+
+#: ui/properties.glade.h:18
msgid "The command to run when all mail is read"
msgstr "La commande à exécuter lorsque tout le courrier est lu"
-#: ui/properties.glade.h:16
+#: ui/properties.glade.h:19
msgid "The command to run when new mail arrives"
msgstr "La commande à exécuter lorsque du nouveau courrier arrive"
-#: ui/properties.glade.h:17
+#: ui/properties.glade.h:20
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup"
@@ -1464,7 +1514,7 @@ msgstr ""
"Le nombre de pixels à laisser entre la gauche ou la droite de l'écran et le "
"popup d'aperçu du courrier"
-#: ui/properties.glade.h:18
+#: ui/properties.glade.h:21
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup"
@@ -1472,40 +1522,48 @@ msgstr ""
"Le nombre de pixels à laisser entre le haut ou le bas de l'écran et le popup "
"d'aperçu du courrier"
-#: ui/properties.glade.h:19
+#: ui/properties.glade.h:22
msgid "When _all mail is read:"
msgstr "Quand _tout le courrier est lu:"
-#: ui/properties.glade.h:20
+#: ui/properties.glade.h:23
msgid "When _new mail arrives:"
msgstr "Quand du _nouveau courrier arrive:"
-#: ui/properties.glade.h:21
+#: ui/properties.glade.h:24
msgid "Whether the status icon should blink on errors or not"
msgstr "Si l'icône de statut doit clignoter lors d'erreurs ou pas"
-#: ui/properties.glade.h:22
+#: ui/properties.glade.h:25
msgid "Whether to automatically close the mail summary popup or not"
msgstr ""
"Si le popup d'aperçu du courrier doit être automatiquement fermé ou pas"
-#: ui/properties.glade.h:23
+#: ui/properties.glade.h:26
msgid "Whether to display the mail summary popup when new mail arrives or not"
msgstr ""
"Si le popup d'aperçu du courrier doit être affiché lorsque du nouveau "
"courrier arrive ou pas"
-#: ui/properties.glade.h:24
+#: ui/properties.glade.h:27
+msgid "Whether to hide previously displayed mail or not"
+msgstr "Si le courrier précédemment affiché doit être caché ou pas"
+
+#: ui/properties.glade.h:28
msgid "Whether to run a command when all mail is read or not"
msgstr ""
"Si une commande doit être exécutée lorsque tout le courrier est lu ou pas"
-#: ui/properties.glade.h:25
+#: ui/properties.glade.h:29
msgid "Whether to run a command when new mail arrives or not"
msgstr ""
"Si une commande doit être exécutée lorsque du nouveau courrier arrive ou pas"
-#: ui/properties.glade.h:26
+#: ui/properties.glade.h:30
+msgid "Whether to set a mail reader or not"
+msgstr "Si un lecteur de courrier est spécifié ou pas"
+
+#: ui/properties.glade.h:31
msgid ""
"Whether to start Mail Notification when you log into your GNOME session or "
"not"
@@ -1513,47 +1571,55 @@ msgstr ""
"Si la Notification de Courrier doit être démarrée lorsque vous ouvrez votre "
"session GNOME ou pas"
-#: ui/properties.glade.h:27
+#: ui/properties.glade.h:32
msgid "_Automatically close after:"
msgstr "_Fermer automatiquement après:"
-#: ui/properties.glade.h:28
+#: ui/properties.glade.h:33
msgid "_Blink on errors"
msgstr "_Clignoter lors d'erreurs"
-#: ui/properties.glade.h:29
+#: ui/properties.glade.h:34
msgid "_Delay between mail checks:"
msgstr "_Délai entre les vérifications de courrier:"
-#: ui/properties.glade.h:30
+#: ui/properties.glade.h:35
+msgid "_Display the mail summary dialog"
+msgstr "_Afficher la boîte de dialogue contenant l'aperçu du courrier"
+
+#: ui/properties.glade.h:36
msgid "_Enable mail summary popup"
msgstr "_Activer le popup d'aperçu du courrier"
-#: ui/properties.glade.h:31
+#: ui/properties.glade.h:37
+msgid "_Launch the mail reader"
+msgstr "_Exécuter le lecteur de courrier"
+
+#: ui/properties.glade.h:38
+msgid "_Mail reader:"
+msgstr "_Lecteur de courrier:"
+
+#: ui/properties.glade.h:39
msgid "_Start Mail Notification on GNOME login"
msgstr ""
"_Démarrer la Notification de Courrier lors de l'ouverture de session GNOME"
-#: ui/properties.glade.h:32
+#: ui/properties.glade.h:40
msgid "_Vertical offset:"
msgstr "Décalage _vertical:"
-#: ui/properties.glade.h:33
+#: ui/properties.glade.h:41
msgid "minutes"
msgstr "minutes"
-#: ui/properties.glade.h:34
+#: ui/properties.glade.h:42
msgid "pixels"
msgstr "pixels"
-#: ui/properties.glade.h:35
+#: ui/properties.glade.h:43
msgid "seconds"
msgstr "secondes"
-#: ui/summary-dialog.glade.h:1
-msgid "Mail Summary"
-msgstr "Aperçu du Courrier"
-
#: ui/summary-popup.glade.h:1
msgid "<span size=\"larger\" weight=\"bold\">Mail Summary</span>"
msgstr "<span size=\"larger\" weight=\"bold\">Aperçu du Courrier</span>"
diff --git a/po/mail-notification.pot b/po/mail-notification.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2004-10-25 15:26+0200\n"
+"POT-Creation-Date: 2004-10-31 18:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -32,7 +32,7 @@ msgstr ""
#: data/mail-notification-properties.desktop.in.h:2
#: data/mail-notification.desktop.in.h:2
#: data/mail-notification.soundlist.in.h:1 src/mn-about-dialog.gob:40
-#: src/mn-mail-icon.gob:163 src/mn-main.c:271
+#: src/mn-mail-icon.gob:194 src/mn-main.c:271
msgid "Mail Notification"
msgstr ""
@@ -61,181 +61,216 @@ msgid "Do not show the immediate notification error dialog"
msgstr ""
#: data/mail-notification.schemas.in.h:6
-msgid "Enable mail summary popup"
+msgid "Double-click action"
msgstr ""
#: data/mail-notification.schemas.in.h:7
-msgid "Fingerprints of trusted X509 certificates"
+msgid "Enable mail summary popup"
msgstr ""
#: data/mail-notification.schemas.in.h:8
-msgid "Has already been run"
+msgid "Fingerprints of trusted X509 certificates"
msgstr ""
#: data/mail-notification.schemas.in.h:9
-msgid "Height of mail summary dialog"
+msgid "Has already been run"
msgstr ""
#: data/mail-notification.schemas.in.h:10
-msgid "Height of properties dialog"
+msgid "Height of mail summary dialog"
msgstr ""
#: data/mail-notification.schemas.in.h:11
-msgid "Mail read command"
+msgid "Height of properties dialog"
msgstr ""
#: data/mail-notification.schemas.in.h:12
-msgid "Mail summary popup horizontal offset"
+msgid "Mail read command"
msgstr ""
#: data/mail-notification.schemas.in.h:13
-msgid "Mail summary popup position"
+msgid "Mail reader command"
msgstr ""
#: data/mail-notification.schemas.in.h:14
-msgid "Mail summary popup vertical offset"
+msgid "Mail summary popup horizontal offset"
msgstr ""
#: data/mail-notification.schemas.in.h:15
-msgid "Mailbox list"
+msgid "Mail summary popup position"
msgstr ""
#: data/mail-notification.schemas.in.h:16
-msgid "Minutes between mail checks"
+msgid "Mail summary popup vertical offset"
msgstr ""
#: data/mail-notification.schemas.in.h:17
-msgid "Minutes to wait before closing the mail summary popup"
+msgid "Mailbox list"
msgstr ""
#: data/mail-notification.schemas.in.h:18
-msgid "New mail command"
+msgid "Minutes between mail checks"
msgstr ""
#: data/mail-notification.schemas.in.h:19
-msgid "Run a command when all mail is read"
+msgid "Minutes to wait before closing the mail summary popup"
msgstr ""
#: data/mail-notification.schemas.in.h:20
-msgid "Run a command when new mail arrives"
+msgid "New mail command"
msgstr ""
#: data/mail-notification.schemas.in.h:21
-msgid "Seconds between mail checks"
+msgid "Only display recent mail in mail summary popup"
msgstr ""
#: data/mail-notification.schemas.in.h:22
-msgid "Seconds to wait before closing the mail summary popup"
+msgid "Run a command when all mail is read"
msgstr ""
#: data/mail-notification.schemas.in.h:23
+msgid "Run a command when new mail arrives"
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:24
+msgid "Seconds between mail checks"
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:25
+msgid "Seconds to wait before closing the mail summary popup"
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:26
+msgid "Set a mail reader"
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:27
+msgid ""
+"The action to perform when the icon is double-clicked. Must be \"display-"
+"mail-summary\" or \"launch-mail-reader\"."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:28
msgid ""
"The amount of time to wait before closing the mail summary popup (minutes "
"part)."
msgstr ""
-#: data/mail-notification.schemas.in.h:24
+#: data/mail-notification.schemas.in.h:29
msgid ""
"The amount of time to wait before closing the mail summary popup (seconds "
"part)."
msgstr ""
-#: data/mail-notification.schemas.in.h:25
+#: data/mail-notification.schemas.in.h:30
+msgid "The command to run to launch the mail reader."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:31
msgid "The command to run when all mail is read."
msgstr ""
-#: data/mail-notification.schemas.in.h:26
+#: data/mail-notification.schemas.in.h:32
msgid "The command to run when new mail arrives."
msgstr ""
-#: data/mail-notification.schemas.in.h:27
+#: data/mail-notification.schemas.in.h:33
msgid "The height of the mail summary dialog in pixels."
msgstr ""
-#: data/mail-notification.schemas.in.h:28
+#: data/mail-notification.schemas.in.h:34
msgid "The height of the properties dialog in pixels."
msgstr ""
-#: data/mail-notification.schemas.in.h:29
+#: data/mail-notification.schemas.in.h:35
msgid "The list of mailboxes to monitor."
msgstr ""
-#: data/mail-notification.schemas.in.h:30
+#: data/mail-notification.schemas.in.h:36
msgid ""
"The list of trusted SSL/TLS servers (hostname:port) lacking a X509 "
"certificate."
msgstr ""
-#: data/mail-notification.schemas.in.h:31
+#: data/mail-notification.schemas.in.h:37
msgid ""
"The list of trusted X509 certificates, represented by their MD5 fingerprint."
msgstr ""
-#: data/mail-notification.schemas.in.h:32
+#: data/mail-notification.schemas.in.h:38
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup."
msgstr ""
-#: data/mail-notification.schemas.in.h:33
+#: data/mail-notification.schemas.in.h:39
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup."
msgstr ""
-#: data/mail-notification.schemas.in.h:34
+#: data/mail-notification.schemas.in.h:40
msgid ""
"The position of the mail summary popup. Must be \"top-left\", \"top-right\", "
"\"bottom-left\" or \"bottom-right\"."
msgstr ""
-#: data/mail-notification.schemas.in.h:35
+#: data/mail-notification.schemas.in.h:41
msgid "The width of the mail summary dialog in pixels."
msgstr ""
-#: data/mail-notification.schemas.in.h:36
+#: data/mail-notification.schemas.in.h:42
msgid "The width of the properties dialog in pixels."
msgstr ""
-#: data/mail-notification.schemas.in.h:37
+#: data/mail-notification.schemas.in.h:43
msgid "Trusted servers list"
msgstr ""
-#: data/mail-notification.schemas.in.h:38
+#: data/mail-notification.schemas.in.h:44
msgid "Whether Mail Notification has already been run or not."
msgstr ""
-#: data/mail-notification.schemas.in.h:39
+#: data/mail-notification.schemas.in.h:45
msgid "Whether the status icon should blink on errors or not."
msgstr ""
-#: data/mail-notification.schemas.in.h:40
+#: data/mail-notification.schemas.in.h:46
msgid "Whether to automatically close the mail summary popup or not."
msgstr ""
-#: data/mail-notification.schemas.in.h:41
+#: data/mail-notification.schemas.in.h:47
msgid "Whether to display the mail summary popup when new mail arrives or not."
msgstr ""
-#: data/mail-notification.schemas.in.h:42
+#: data/mail-notification.schemas.in.h:48
+msgid ""
+"Whether to hide previously displayed mail in the mail summary popup or not."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:49
msgid ""
"Whether to prevent the immediate notification error dialog from being "
"displayed or not."
msgstr ""
-#: data/mail-notification.schemas.in.h:43
+#: data/mail-notification.schemas.in.h:50
msgid "Whether to run a command when all mail is read or not."
msgstr ""
-#: data/mail-notification.schemas.in.h:44
+#: data/mail-notification.schemas.in.h:51
msgid "Whether to run a command when new mail arrives or not."
msgstr ""
-#: data/mail-notification.schemas.in.h:45
+#: data/mail-notification.schemas.in.h:52
+msgid "Whether to set a mail reader or not."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:53
msgid "Width of mail summary dialog"
msgstr ""
-#: data/mail-notification.schemas.in.h:46
+#: data/mail-notification.schemas.in.h:54
msgid "Width of properties dialog"
msgstr ""
@@ -417,127 +452,127 @@ msgstr ""
msgid "unable to parse response \"%s\""
msgstr ""
-#: src/mn-client-session.c:592 src/mn-client-session.c:599
+#: src/mn-client-session.c:601 src/mn-client-session.c:608
#, c-format
msgid "unable to read from server: %s"
msgstr ""
-#: src/mn-client-session.c:597
+#: src/mn-client-session.c:606
msgid "unable to read from server: EOF"
msgstr ""
-#: src/mn-client-session.c:609
+#: src/mn-client-session.c:618
#, c-format
msgid "unable to decode data using SASL: %s"
msgstr ""
-#: src/mn-client-session.c:746
+#: src/mn-client-session.c:755
#, c-format
msgid "unable to encode data using SASL: %s"
msgstr ""
-#: src/mn-client-session.c:777 src/mn-client-session.c:784
+#: src/mn-client-session.c:786 src/mn-client-session.c:793
#, c-format
msgid "unable to write to server: %s"
msgstr ""
-#: src/mn-client-session.c:782
+#: src/mn-client-session.c:791
msgid "unable to write to server: EOF"
msgstr ""
-#: src/mn-client-session.c:814
+#: src/mn-client-session.c:823
#, c-format
msgid "unable to encode Base64: %s"
msgstr ""
-#: src/mn-client-session.c:917
+#: src/mn-client-session.c:927
#, c-format
msgid "unable to initialize the SASL library: %s"
msgstr ""
-#: src/mn-client-session.c:926
+#: src/mn-client-session.c:936
#, c-format
msgid "unable to retrieve local address of socket: %s"
msgstr ""
-#: src/mn-client-session.c:932
+#: src/mn-client-session.c:942
#, c-format
msgid "unable to retrieve remote address of socket: %s"
msgstr ""
-#: src/mn-client-session.c:966
+#: src/mn-client-session.c:976
#, c-format
msgid "warning: unable to set SASL security properties: %s"
msgstr ""
-#: src/mn-client-session.c:1005
+#: src/mn-client-session.c:1015
msgid ""
"unable to start SASL authentication: SASL asked for something we did not know"
msgstr ""
-#: src/mn-client-session.c:1009
+#: src/mn-client-session.c:1019
#, c-format
msgid "unable to start SASL authentication: %s"
msgstr ""
-#: src/mn-client-session.c:1013
+#: src/mn-client-session.c:1023
#, c-format
msgid "unable to create a SASL connection: %s"
msgstr ""
-#: src/mn-client-session.c:1063
+#: src/mn-client-session.c:1073
msgid "SASL asked for something we did not know, aborting SASL authentication"
msgstr ""
-#: src/mn-client-session.c:1067
+#: src/mn-client-session.c:1077
#, c-format
msgid "%s, aborting SASL authentication"
msgstr ""
#. compliance error
-#: src/mn-client-session.c:1072
+#: src/mn-client-session.c:1082
#, c-format
msgid "unable to decode Base64 input from server: %s"
msgstr ""
-#: src/mn-client-session.c:1075
+#: src/mn-client-session.c:1085
msgid ""
"the server sent a SASL challenge, but there was a pending initial SASL "
"client response"
msgstr ""
-#: src/mn-client-session.c:1089
+#: src/mn-client-session.c:1099
msgid ""
"the server did not send a SASL challenge, but there was no pending initial "
"SASL client response"
msgstr ""
-#: src/mn-client-session.c:1112
+#: src/mn-client-session.c:1122
#, c-format
msgid "a SASL security layer of strength factor %i is now active"
msgstr ""
#. a security layer is active but we can't retrieve maxoutbuf -> fatal
-#: src/mn-client-session.c:1117
+#: src/mn-client-session.c:1127
#, c-format
msgid "unable to get SASL_MAXOUTBUF property: %s"
msgstr ""
-#: src/mn-client-session.c:1123
+#: src/mn-client-session.c:1133
#, c-format
msgid "warning: unable to get SASL_SSF property: %s"
msgstr ""
-#: src/mn-conf.c:123
+#: src/mn-conf.c:136
#, c-format
msgid "recursively unsetting %s"
msgstr ""
-#: src/mn-conf.c:127
+#: src/mn-conf.c:140
msgid "syncing the GConf database"
msgstr ""
-#: src/mn-conf.c:130
+#: src/mn-conf.c:143
msgid "completed"
msgstr ""
@@ -551,33 +586,33 @@ msgid ""
"when needed)"
msgstr ""
-#: src/mn-gmail-mailbox.gob:63
+#: src/mn-gmail-mailbox.gob:81
msgid "libsoup has not been compiled with SSL/TLS support"
msgstr ""
-#: src/mn-gmail-mailbox.gob:105
+#: src/mn-gmail-mailbox.gob:123
#, c-format
msgid "unable to parse URI \"%s\""
msgstr ""
-#: src/mn-gmail-mailbox.gob:159
+#: src/mn-gmail-mailbox.gob:177
#, c-format
msgid "unable to transfer data: %s"
msgstr ""
-#: src/mn-gmail-mailbox.gob:280
+#: src/mn-gmail-mailbox.gob:298
msgid "logging in"
msgstr ""
-#: src/mn-gmail-mailbox.gob:358
+#: src/mn-gmail-mailbox.gob:376
msgid "login failed"
msgstr ""
-#: src/mn-gmail-mailbox.gob:433
+#: src/mn-gmail-mailbox.gob:451
msgid "searching for unread mail"
msgstr ""
-#: src/mn-gmail-mailbox.gob:529
+#: src/mn-gmail-mailbox.gob:490
msgid "unable to parse Gmail data"
msgstr ""
@@ -641,73 +676,77 @@ msgstr ""
msgid "The mailbox name"
msgstr ""
-#: src/mn-imap-mailbox.gob:133 src/mn-pop3-mailbox.gob:142
+#: src/mn-imap-mailbox.gob:164 src/mn-pop3-mailbox.gob:142
msgid "SSL/TLS support has not been compiled in"
msgstr ""
-#: src/mn-imap-mailbox.gob:204
+#: src/mn-imap-mailbox.gob:253
msgid "server did not send capabilities"
msgstr ""
-#: src/mn-imap-mailbox.gob:319
+#: src/mn-imap-mailbox.gob:374
msgid "server advertised LOGINDISABLED, not using LOGIN authentication"
msgstr ""
-#: src/mn-imap-mailbox.gob:320
+#: src/mn-imap-mailbox.gob:375
msgid "unable to login"
msgstr ""
#. compliance error
-#: src/mn-imap-mailbox.gob:451
+#: src/mn-imap-mailbox.gob:516
msgid "server did not send search results"
msgstr ""
#. compliance error
-#: src/mn-imap-mailbox.gob:527
+#: src/mn-imap-mailbox.gob:596
msgid "server did not send all the messages we requested"
msgstr ""
-#: src/mn-imap-mailbox.gob:574
+#: src/mn-imap-mailbox.gob:645
msgid "unable to fetch message"
msgstr ""
#. compliance error
-#: src/mn-imap-mailbox.gob:621
+#: src/mn-imap-mailbox.gob:763
msgid "server did not send status"
msgstr ""
-#: src/mn-imap-mailbox.gob:856 src/mn-pop3-mailbox.gob:913
+#: src/mn-imap-mailbox.gob:1035 src/mn-pop3-mailbox.gob:922
msgid "unknown server error"
msgstr ""
-#: src/mn-imap-mailbox.gob:927 src/mn-pop3-mailbox.gob:226
+#: src/mn-imap-mailbox.gob:1106 src/mn-pop3-mailbox.gob:226
msgid "server does not support in-band SSL/TLS"
msgstr ""
-#: src/mn-imap-mailbox.gob:946 src/mn-pop3-mailbox.gob:832
+#: src/mn-imap-mailbox.gob:1125 src/mn-pop3-mailbox.gob:841
msgid ""
"a SASL authentication mechanism was selected but SASL support has not been "
"compiled in"
msgstr ""
-#: src/mn-imap-mailbox.gob:954 src/mn-pop3-mailbox.gob:844
+#: src/mn-imap-mailbox.gob:1133 src/mn-pop3-mailbox.gob:853
#, c-format
msgid "unknown authentication mechanism \"%s\""
msgstr ""
-#: src/mn-imap-mailbox.gob:972
+#: src/mn-imap-mailbox.gob:1151
msgid "falling back to IMAP LOGIN authentication"
msgstr ""
-#: src/mn-imap-mailbox.gob:977 src/mn-pop3-mailbox.gob:879
+#: src/mn-imap-mailbox.gob:1156 src/mn-pop3-mailbox.gob:888
msgid "authentication failed"
msgstr ""
-#: src/mn-mail-icon.gob:84 ui/summary-dialog.glade.h:2
+#: src/mn-mail-icon.gob:92 ui/summary-dialog.glade.h:2
+msgid "_Launch Mail Reader"
+msgstr ""
+
+#: src/mn-mail-icon.gob:93 ui/summary-dialog.glade.h:3
msgid "_Update"
msgstr ""
-#: src/mn-mail-icon.gob:90
+#: src/mn-mail-icon.gob:99
msgid "R_emove From Notification Area"
msgstr ""
@@ -764,7 +803,7 @@ msgstr ""
msgid "Whether the properties are completely filled or not"
msgstr ""
-#: src/mn-mailbox-view.gob:263 src/mn-message-label.gob:74
+#: src/mn-mailbox-view.gob:263 src/mn-message-box.gob:58
msgid "Mailbox"
msgstr ""
@@ -790,35 +829,35 @@ msgid "The mailbox human-readable name"
msgstr ""
#: src/mn-mailbox.gob:145
-msgid "Whether the mailbox has to be manually checked or not"
+msgid "Whether the mailbox has to be polled or not"
msgstr ""
-#: src/mn-mailbox.gob:150
+#: src/mn-mailbox.gob:151
msgid "Whether the mailbox has new mail or not"
msgstr ""
-#: src/mn-mailbox.gob:155
+#: src/mn-mailbox.gob:156
msgid "The list of new and unread MNMessage objects"
msgstr ""
-#: src/mn-mailbox.gob:209
+#: src/mn-mailbox.gob:210
msgid "The mailbox error, if any"
msgstr ""
-#: src/mn-mailbox.gob:308
+#: src/mn-mailbox.gob:309
msgid "does not exist"
msgstr ""
-#: src/mn-mailbox.gob:340
+#: src/mn-mailbox.gob:341
msgid "unknown format"
msgstr ""
-#: src/mn-mailbox.gob:406
+#: src/mn-mailbox.gob:407
#, c-format
msgid "unable to enable immediate notification for %s: %s"
msgstr ""
-#: src/mn-mailbox.gob:424
+#: src/mn-mailbox.gob:425
#, c-format
msgid ""
"As a fallback, they will be checked every %i second (this delay is "
@@ -829,7 +868,7 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/mn-mailbox.gob:435
+#: src/mn-mailbox.gob:436
#, c-format
msgid ""
"As a fallback, they will be checked every %i minute (this delay is "
@@ -840,7 +879,7 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/mn-mailbox.gob:446
+#: src/mn-mailbox.gob:447
#, c-format
msgid ""
"As a fallback, they will be checked approximately every %i minute (this "
@@ -851,37 +890,37 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/mn-mailbox.gob:462
+#: src/mn-mailbox.gob:463
msgid "A monitoring error has occurred"
msgstr ""
-#: src/mn-mailbox.gob:463
+#: src/mn-mailbox.gob:464
#, c-format
msgid ""
"Mail Notification was unable to enable immediate notification for one or "
"more mailboxes. %s"
msgstr ""
-#: src/mn-mailboxes.gob:143
+#: src/mn-mailboxes.gob:142
msgid "Whether one or more of the mailboxes has to be polled"
msgstr ""
-#: src/mn-mailboxes.gob:276
+#: src/mn-mailboxes.gob:272
#, c-format
msgid "%s is unsupported: %s"
msgstr ""
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has new mail"
msgstr ""
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has no new mail"
msgstr ""
-#: src/mn-mailboxes.gob:333
+#: src/mn-mailboxes.gob:330
#, c-format
msgid "%s reported an error: %s"
msgstr ""
@@ -995,51 +1034,51 @@ msgstr ""
msgid "unable to open mailbox: %s"
msgstr ""
-#: src/mn-message-label.gob:77
+#: src/mn-message-box.gob:61
msgid "Unreadable message"
msgstr ""
-#: src/mn-message-label.gob:97
+#: src/mn-message-box.gob:66
msgid "From"
msgstr ""
-#: src/mn-message-label.gob:98
+#: src/mn-message-box.gob:67
msgid "Subject"
msgstr ""
-#: src/mn-message-label.gob:102
+#: src/mn-message-box.gob:72
msgid "Sent"
msgstr ""
-#: src/mn-message-label.gob:151
+#: src/mn-message-box.gob:184
#, c-format
msgid "%i second ago"
msgid_plural "%i seconds ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:155
+#: src/mn-message-box.gob:188
#, c-format
msgid "%i minute ago"
msgid_plural "%i minutes ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:160
+#: src/mn-message-box.gob:193
#, c-format
msgid "%i hour ago"
msgid_plural "%i hours ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:165
+#: src/mn-message-box.gob:198
#, c-format
msgid "%i day ago"
msgid_plural "%i days ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:170
+#: src/mn-message-box.gob:203
#, c-format
msgid "%i week ago"
msgid_plural "%i weeks ago"
@@ -1088,21 +1127,21 @@ msgstr ""
msgid "SSL/TLS on sepa_rate port"
msgstr ""
-#: src/mn-pop3-mailbox-properties.gob:85
+#: src/mn-pop3-mailbox-properties.gob:86
msgid "The hostname or IP address of the POP3 server"
msgstr ""
-#: src/mn-pop3-mailbox-properties.gob:86
+#: src/mn-pop3-mailbox-properties.gob:87
msgid "Your username on the POP3 server"
msgstr ""
-#: src/mn-pop3-mailbox-properties.gob:87
+#: src/mn-pop3-mailbox-properties.gob:88
msgid ""
"Your password on the POP3 server (if left blank, you will be prompted for "
"the password when needed)"
msgstr ""
-#: src/mn-pop3-mailbox-properties.gob:88 src/mn-pop3-mailbox-properties.gob:89
+#: src/mn-pop3-mailbox-properties.gob:89 src/mn-pop3-mailbox-properties.gob:90
msgid "The port number of the POP3 server"
msgstr ""
@@ -1110,89 +1149,74 @@ msgstr ""
msgid "invalid arguments for the LOGIN-DELAY capability"
msgstr ""
-#: src/mn-pop3-mailbox.gob:549
+#: src/mn-pop3-mailbox.gob:556
msgid "unknown error"
msgstr ""
-#: src/mn-pop3-mailbox.gob:681
+#: src/mn-pop3-mailbox.gob:690
#, c-format
msgid "honouring LOGIN-DELAY, sleeping for %i second"
msgid_plural "honouring LOGIN-DELAY, sleeping for %i seconds"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-pop3-mailbox.gob:840
+#: src/mn-pop3-mailbox.gob:849
msgid "server does not support APOP authentication"
msgstr ""
-#: src/mn-pop3-mailbox.gob:868
+#: src/mn-pop3-mailbox.gob:877
msgid "falling back to APOP authentication"
msgstr ""
-#: src/mn-pop3-mailbox.gob:873
+#: src/mn-pop3-mailbox.gob:882
msgid "falling back to USER/PASS authentication"
msgstr ""
-#: src/mn-properties.c:170
+#: src/mn-properties.c:181
msgid "top left"
msgstr ""
-#: src/mn-properties.c:171
+#: src/mn-properties.c:182
msgid "top right"
msgstr ""
-#: src/mn-properties.c:172
+#: src/mn-properties.c:183
msgid "bottom left"
msgstr ""
-#: src/mn-properties.c:173
+#: src/mn-properties.c:184
msgid "bottom right"
msgstr ""
-#: src/mn-properties.c:251
+#: src/mn-properties.c:270
msgid "No mailbox selected."
msgstr ""
-#: src/mn-properties.c:256
+#: src/mn-properties.c:275
#, c-format
msgid "%i mailbox selected."
msgid_plural "%i mailboxes selected."
msgstr[0] ""
msgstr[1] ""
-#: src/mn-shell.gob:86
+#: src/mn-shell.gob:92
msgid "You have new mail."
msgstr ""
-#: src/mn-shell.gob:263
-msgid "The following mailbox has new mail:\n"
-msgid_plural "The following mailboxes have new mail:\n"
-msgstr[0] ""
-msgstr[1] ""
-
-#: src/mn-shell.gob:267
-msgid "You have no new mail."
+#: src/mn-shell.gob:347
+msgid "Mailboxes Having New Mail"
msgstr ""
-#: src/mn-shell.gob:270
-msgid "The following mailbox reported an error:\n"
-msgid_plural "The following mailboxes reported an error:\n"
-msgstr[0] ""
-msgstr[1] ""
-
-#: src/mn-shell.gob:275
-msgid "The following mailbox is unsupported:\n"
-msgid_plural "The following mailboxes are unsupported:\n"
-msgstr[0] ""
-msgstr[1] ""
+#: src/mn-shell.gob:349
+msgid "Errors"
+msgstr ""
-#: src/mn-shell.gob:320
-msgid "A command error has occurred in Mail Notification"
+#: src/mn-shell.gob:351
+msgid "Unsupported Mailboxes"
msgstr ""
-#: src/mn-shell.gob:321
-#, c-format
-msgid "Unable to execute \"%s\": %s."
+#: src/mn-shell.gob:364 ui/summary-dialog.glade.h:1
+msgid "Mail Summary"
msgstr ""
#: src/mn-soup.c:140
@@ -1290,11 +1314,20 @@ msgstr ""
msgid "unable to get current time: %s"
msgstr ""
-#: src/mn-util.c:887
+#: src/mn-util.c:906
#, c-format
msgid "invalid signal specification \"%s\""
msgstr ""
+#: src/mn-util.c:945
+msgid "A command error has occurred in Mail Notification"
+msgstr ""
+
+#: src/mn-util.c:946
+#, c-format
+msgid "Unable to execute \"%s\": %s."
+msgstr ""
+
#: ui/authentication.glade.h:1 ui/properties.glade.h:2
msgid "*"
msgstr ""
@@ -1316,143 +1349,171 @@ msgid "<span weight=\"bold\">Commands</span>"
msgstr ""
#: ui/properties.glade.h:4
-msgid "<span weight=\"bold\">General</span>"
+msgid "<span weight=\"bold\">Double-click Action</span>"
msgstr ""
#: ui/properties.glade.h:5
-msgid "<span weight=\"bold\">Mailbox List</span>"
+msgid "<span weight=\"bold\">General</span>"
msgstr ""
#: ui/properties.glade.h:6
-msgid "<span weight=\"bold\">Position</span>"
+msgid "<span weight=\"bold\">Mailbox List</span>"
msgstr ""
#: ui/properties.glade.h:7
-msgid "General"
+msgid "<span weight=\"bold\">Position</span>"
msgstr ""
#: ui/properties.glade.h:8
-msgid "Hori_zontal offset:"
+msgid "General"
msgstr ""
#: ui/properties.glade.h:9
-msgid "Mail Notification Properties"
+msgid "Hori_zontal offset:"
msgstr ""
#: ui/properties.glade.h:10
-msgid "Mail Summary Popup"
+msgid "Mail Notification Properties"
msgstr ""
#: ui/properties.glade.h:11
-msgid "Mailboxes"
+msgid "Mail Summary Popup"
msgstr ""
#: ui/properties.glade.h:12
-msgid "P_osition:"
+msgid "Mailboxes"
msgstr ""
#: ui/properties.glade.h:13
-msgid "The amount of time to wait before closing the mail summary popup"
+msgid "Only display _recent mail"
msgstr ""
#: ui/properties.glade.h:14
-msgid "The amount of time to wait between mail checks"
+msgid "P_osition:"
msgstr ""
#: ui/properties.glade.h:15
-msgid "The command to run when all mail is read"
+msgid "The amount of time to wait before closing the mail summary popup"
msgstr ""
#: ui/properties.glade.h:16
-msgid "The command to run when new mail arrives"
+msgid "The amount of time to wait between mail checks"
msgstr ""
#: ui/properties.glade.h:17
+msgid "The command to run to launch the mail reader"
+msgstr ""
+
+#: ui/properties.glade.h:18
+msgid "The command to run when all mail is read"
+msgstr ""
+
+#: ui/properties.glade.h:19
+msgid "The command to run when new mail arrives"
+msgstr ""
+
+#: ui/properties.glade.h:20
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup"
msgstr ""
-#: ui/properties.glade.h:18
+#: ui/properties.glade.h:21
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup"
msgstr ""
-#: ui/properties.glade.h:19
+#: ui/properties.glade.h:22
msgid "When _all mail is read:"
msgstr ""
-#: ui/properties.glade.h:20
+#: ui/properties.glade.h:23
msgid "When _new mail arrives:"
msgstr ""
-#: ui/properties.glade.h:21
+#: ui/properties.glade.h:24
msgid "Whether the status icon should blink on errors or not"
msgstr ""
-#: ui/properties.glade.h:22
+#: ui/properties.glade.h:25
msgid "Whether to automatically close the mail summary popup or not"
msgstr ""
-#: ui/properties.glade.h:23
+#: ui/properties.glade.h:26
msgid "Whether to display the mail summary popup when new mail arrives or not"
msgstr ""
-#: ui/properties.glade.h:24
+#: ui/properties.glade.h:27
+msgid "Whether to hide previously displayed mail or not"
+msgstr ""
+
+#: ui/properties.glade.h:28
msgid "Whether to run a command when all mail is read or not"
msgstr ""
-#: ui/properties.glade.h:25
+#: ui/properties.glade.h:29
msgid "Whether to run a command when new mail arrives or not"
msgstr ""
-#: ui/properties.glade.h:26
+#: ui/properties.glade.h:30
+msgid "Whether to set a mail reader or not"
+msgstr ""
+
+#: ui/properties.glade.h:31
msgid ""
"Whether to start Mail Notification when you log into your GNOME session or "
"not"
msgstr ""
-#: ui/properties.glade.h:27
+#: ui/properties.glade.h:32
msgid "_Automatically close after:"
msgstr ""
-#: ui/properties.glade.h:28
+#: ui/properties.glade.h:33
msgid "_Blink on errors"
msgstr ""
-#: ui/properties.glade.h:29
+#: ui/properties.glade.h:34
msgid "_Delay between mail checks:"
msgstr ""
-#: ui/properties.glade.h:30
+#: ui/properties.glade.h:35
+msgid "_Display the mail summary dialog"
+msgstr ""
+
+#: ui/properties.glade.h:36
msgid "_Enable mail summary popup"
msgstr ""
-#: ui/properties.glade.h:31
+#: ui/properties.glade.h:37
+msgid "_Launch the mail reader"
+msgstr ""
+
+#: ui/properties.glade.h:38
+msgid "_Mail reader:"
+msgstr ""
+
+#: ui/properties.glade.h:39
msgid "_Start Mail Notification on GNOME login"
msgstr ""
-#: ui/properties.glade.h:32
+#: ui/properties.glade.h:40
msgid "_Vertical offset:"
msgstr ""
-#: ui/properties.glade.h:33
+#: ui/properties.glade.h:41
msgid "minutes"
msgstr ""
-#: ui/properties.glade.h:34
+#: ui/properties.glade.h:42
msgid "pixels"
msgstr ""
-#: ui/properties.glade.h:35
+#: ui/properties.glade.h:43
msgid "seconds"
msgstr ""
-#: ui/summary-dialog.glade.h:1
-msgid "Mail Summary"
-msgstr ""
-
#: ui/summary-popup.glade.h:1
msgid "<span size=\"larger\" weight=\"bold\">Mail Summary</span>"
msgstr ""
diff --git a/po/pt.gmo b/po/pt.gmo
Binary files differ.
diff --git a/po/pt.po b/po/pt.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mail-notification 0.7.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2004-10-25 15:26+0200\n"
+"POT-Creation-Date: 2004-10-31 18:42+0100\n"
"PO-Revision-Date: 2004-10-24 11:06+0200\n"
"Last-Translator: Duarte Henriques <duarte_henriques@myrealbox.com>\n"
"Language-Team: Duarte Henriques <duarte_henriques@myrealbox.com>\n"
@@ -34,7 +34,7 @@ msgstr "Configurar Notificação de Correio"
#: data/mail-notification-properties.desktop.in.h:2
#: data/mail-notification.desktop.in.h:2
#: data/mail-notification.soundlist.in.h:1 src/mn-about-dialog.gob:40
-#: src/mn-mail-icon.gob:163 src/mn-main.c:271
+#: src/mn-mail-icon.gob:194 src/mn-main.c:271
msgid "Mail Notification"
msgstr "Notificação de Correio"
@@ -63,74 +63,100 @@ msgid "Do not show the immediate notification error dialog"
msgstr "Não mostrar o diálogo de erro de notificação imediata"
#: data/mail-notification.schemas.in.h:6
+#, fuzzy
+msgid "Double-click action"
+msgstr "Comando de duplo-clique"
+
+#: data/mail-notification.schemas.in.h:7
msgid "Enable mail summary popup"
msgstr "Activar popup de resumo de correio"
-#: data/mail-notification.schemas.in.h:7
+#: data/mail-notification.schemas.in.h:8
msgid "Fingerprints of trusted X509 certificates"
msgstr "Impressões digitais de certificados x509 confiados"
-#: data/mail-notification.schemas.in.h:8
+#: data/mail-notification.schemas.in.h:9
msgid "Has already been run"
msgstr "Já foi executado"
-#: data/mail-notification.schemas.in.h:9
+#: data/mail-notification.schemas.in.h:10
msgid "Height of mail summary dialog"
msgstr "Altura do diálogo de resumo de correio"
-#: data/mail-notification.schemas.in.h:10
+#: data/mail-notification.schemas.in.h:11
msgid "Height of properties dialog"
msgstr "Altura do diálogo de propriedades"
-#: data/mail-notification.schemas.in.h:11
+#: data/mail-notification.schemas.in.h:12
msgid "Mail read command"
msgstr "Comando de leitura de correio"
-#: data/mail-notification.schemas.in.h:12
+#: data/mail-notification.schemas.in.h:13
+#, fuzzy
+msgid "Mail reader command"
+msgstr "Comando de leitura de correio"
+
+#: data/mail-notification.schemas.in.h:14
msgid "Mail summary popup horizontal offset"
msgstr "Intervalo horizontal do popup de resumo de correio"
-#: data/mail-notification.schemas.in.h:13
+#: data/mail-notification.schemas.in.h:15
msgid "Mail summary popup position"
msgstr "Posição do popup de resumo de correio"
-#: data/mail-notification.schemas.in.h:14
+#: data/mail-notification.schemas.in.h:16
msgid "Mail summary popup vertical offset"
msgstr "Intervalo vertical do popup de resumo de correio"
-#: data/mail-notification.schemas.in.h:15
+#: data/mail-notification.schemas.in.h:17
msgid "Mailbox list"
msgstr "Lista de Caixas de Correio"
-#: data/mail-notification.schemas.in.h:16
+#: data/mail-notification.schemas.in.h:18
msgid "Minutes between mail checks"
msgstr "Minutos entre verificações de correio"
-#: data/mail-notification.schemas.in.h:17
+#: data/mail-notification.schemas.in.h:19
msgid "Minutes to wait before closing the mail summary popup"
msgstr "Minutos a esperar antes de fechar o popup de resumo de correio"
-#: data/mail-notification.schemas.in.h:18
+#: data/mail-notification.schemas.in.h:20
msgid "New mail command"
msgstr "Novo comando de correio"
-#: data/mail-notification.schemas.in.h:19
+#: data/mail-notification.schemas.in.h:21
+#, fuzzy
+msgid "Only display recent mail in mail summary popup"
+msgstr "Fechar o popup de resumo de correio"
+
+#: data/mail-notification.schemas.in.h:22
msgid "Run a command when all mail is read"
msgstr "Executar um comando quando todo o correio está lido"
-#: data/mail-notification.schemas.in.h:20
+#: data/mail-notification.schemas.in.h:23
msgid "Run a command when new mail arrives"
msgstr "Executar um comando quando chega novo correio"
-#: data/mail-notification.schemas.in.h:21
+#: data/mail-notification.schemas.in.h:24
msgid "Seconds between mail checks"
msgstr "Segundos entre verificações de correio"
-#: data/mail-notification.schemas.in.h:22
+#: data/mail-notification.schemas.in.h:25
msgid "Seconds to wait before closing the mail summary popup"
msgstr "Segundos a esperar antes de fechar o popup de resumo de correio"
-#: data/mail-notification.schemas.in.h:23
+#: data/mail-notification.schemas.in.h:26
+#, fuzzy
+msgid "Set a mail reader"
+msgstr "Escolha um Ficheiro ou Pasta"
+
+#: data/mail-notification.schemas.in.h:27
+msgid ""
+"The action to perform when the icon is double-clicked. Must be \"display-"
+"mail-summary\" or \"launch-mail-reader\"."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:28
msgid ""
"The amount of time to wait before closing the mail summary popup (minutes "
"part)."
@@ -138,7 +164,7 @@ msgstr ""
"A quantidade de tempo a esperar antes de fechar o popup de resumo de correio "
"(parte dos minutos)."
-#: data/mail-notification.schemas.in.h:24
+#: data/mail-notification.schemas.in.h:29
msgid ""
"The amount of time to wait before closing the mail summary popup (seconds "
"part)."
@@ -146,27 +172,32 @@ msgstr ""
"A quantidade de tempo a esperar antes de fechar o popup de resumo de correio "
"(parte dos segundos)."
-#: data/mail-notification.schemas.in.h:25
+#: data/mail-notification.schemas.in.h:30
+#, fuzzy
+msgid "The command to run to launch the mail reader."
+msgstr "O comando a executar quando todo o correio está lido."
+
+#: data/mail-notification.schemas.in.h:31
msgid "The command to run when all mail is read."
msgstr "O comando a executar quando todo o correio está lido."
-#: data/mail-notification.schemas.in.h:26
+#: data/mail-notification.schemas.in.h:32
msgid "The command to run when new mail arrives."
msgstr "O comando a executar quando chega novo correio."
-#: data/mail-notification.schemas.in.h:27
+#: data/mail-notification.schemas.in.h:33
msgid "The height of the mail summary dialog in pixels."
msgstr "A altura em pixeis do diálogo de resumo de correio."
-#: data/mail-notification.schemas.in.h:28
+#: data/mail-notification.schemas.in.h:34
msgid "The height of the properties dialog in pixels."
msgstr "A altura em pixeis do diálogo de propriedades."
-#: data/mail-notification.schemas.in.h:29
+#: data/mail-notification.schemas.in.h:35
msgid "The list of mailboxes to monitor."
msgstr "A lista de caixas de correio a monitorizar."
-#: data/mail-notification.schemas.in.h:30
+#: data/mail-notification.schemas.in.h:36
msgid ""
"The list of trusted SSL/TLS servers (hostname:port) lacking a X509 "
"certificate."
@@ -174,14 +205,14 @@ msgstr ""
"A lista de servidores SSL/TLS confiados (hostname:port) se faltar um "
"certificado x509."
-#: data/mail-notification.schemas.in.h:31
+#: data/mail-notification.schemas.in.h:37
msgid ""
"The list of trusted X509 certificates, represented by their MD5 fingerprint."
msgstr ""
"A lista de certificados x509 confiados, representados pela sua fingerprint "
"MD5."
-#: data/mail-notification.schemas.in.h:32
+#: data/mail-notification.schemas.in.h:38
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup."
@@ -189,7 +220,7 @@ msgstr ""
"O número de pixeis a deixar entre o extremo esquerdo ou direito do ecran e o "
"popup de resumo de correio."
-#: data/mail-notification.schemas.in.h:33
+#: data/mail-notification.schemas.in.h:39
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup."
@@ -197,7 +228,7 @@ msgstr ""
"O número de pixeis a deixar entre o topo ou fundo do ecran e o popup de "
"resumo de correio."
-#: data/mail-notification.schemas.in.h:34
+#: data/mail-notification.schemas.in.h:40
msgid ""
"The position of the mail summary popup. Must be \"top-left\", \"top-right\", "
"\"bottom-left\" or \"bottom-right\"."
@@ -205,58 +236,71 @@ msgstr ""
"A posição do popup de resumo de correio. Tem de ser \"top-left\", \"top-right"
"\", \"bottom-left\" ou \"bottom-right\"."
-#: data/mail-notification.schemas.in.h:35
+#: data/mail-notification.schemas.in.h:41
msgid "The width of the mail summary dialog in pixels."
msgstr "A largura em pixeis do diálogo de resumo de correio."
-#: data/mail-notification.schemas.in.h:36
+#: data/mail-notification.schemas.in.h:42
msgid "The width of the properties dialog in pixels."
msgstr "A largura em pixeis do diálogo de propriedades."
-#: data/mail-notification.schemas.in.h:37
+#: data/mail-notification.schemas.in.h:43
msgid "Trusted servers list"
msgstr "Lista de servidores confiados"
-#: data/mail-notification.schemas.in.h:38
+#: data/mail-notification.schemas.in.h:44
msgid "Whether Mail Notification has already been run or not."
msgstr "Se a Notificação de Correio já foi executada ou não."
-#: data/mail-notification.schemas.in.h:39
+#: data/mail-notification.schemas.in.h:45
msgid "Whether the status icon should blink on errors or not."
msgstr "Se o ícone de estado deve piscar em erros ou não."
-#: data/mail-notification.schemas.in.h:40
+#: data/mail-notification.schemas.in.h:46
msgid "Whether to automatically close the mail summary popup or not."
msgstr ""
"Se o popup de resumo de correio deve ser automaticamente fechado ou não."
-#: data/mail-notification.schemas.in.h:41
+#: data/mail-notification.schemas.in.h:47
msgid "Whether to display the mail summary popup when new mail arrives or not."
msgstr ""
"Se o popup de resumo de correio deve ser mostrado quando chega correio ou "
"não."
-#: data/mail-notification.schemas.in.h:42
+#: data/mail-notification.schemas.in.h:48
+#, fuzzy
+msgid ""
+"Whether to hide previously displayed mail in the mail summary popup or not."
+msgstr ""
+"Se o popup de resumo de correio deve ser automaticamente fechado ou não."
+
+#: data/mail-notification.schemas.in.h:49
msgid ""
"Whether to prevent the immediate notification error dialog from being "
"displayed or not."
msgstr ""
"Se se evita o diálogo de erro de notificação imediata de ser mostrado ou não."
-#: data/mail-notification.schemas.in.h:43
+#: data/mail-notification.schemas.in.h:50
msgid "Whether to run a command when all mail is read or not."
msgstr ""
"Se um comando deverá ser executado quando todo o correio é lido ou não."
-#: data/mail-notification.schemas.in.h:44
+#: data/mail-notification.schemas.in.h:51
msgid "Whether to run a command when new mail arrives or not."
msgstr "Se um comando deverá ser executado quando chega novo correio."
-#: data/mail-notification.schemas.in.h:45
+#: data/mail-notification.schemas.in.h:52
+#, fuzzy
+msgid "Whether to set a mail reader or not."
+msgstr ""
+"Se um comando deverá ser executado quando todo o correio é lido ou não."
+
+#: data/mail-notification.schemas.in.h:53
msgid "Width of mail summary dialog"
msgstr "Largura do diálogo de resumo de correio"
-#: data/mail-notification.schemas.in.h:46
+#: data/mail-notification.schemas.in.h:54
msgid "Width of properties dialog"
msgstr "Largura do diálogo de propriedades"
@@ -452,91 +496,91 @@ msgstr "a resposta \"%s\" não é válida no contexto actual"
msgid "unable to parse response \"%s\""
msgstr "incapaz de processar resposta \"%s\""
-#: src/mn-client-session.c:592 src/mn-client-session.c:599
+#: src/mn-client-session.c:601 src/mn-client-session.c:608
#, c-format
msgid "unable to read from server: %s"
msgstr "incapaz de ler do servidor: %s"
-#: src/mn-client-session.c:597
+#: src/mn-client-session.c:606
msgid "unable to read from server: EOF"
msgstr "incapaz de ler do servidor: EOF"
-#: src/mn-client-session.c:609
+#: src/mn-client-session.c:618
#, c-format
msgid "unable to decode data using SASL: %s"
msgstr "incapaz de descodificar dados usando SASL: %s"
-#: src/mn-client-session.c:746
+#: src/mn-client-session.c:755
#, c-format
msgid "unable to encode data using SASL: %s"
msgstr "incapaz de encodificar dados usando SASL: %s"
-#: src/mn-client-session.c:777 src/mn-client-session.c:784
+#: src/mn-client-session.c:786 src/mn-client-session.c:793
#, c-format
msgid "unable to write to server: %s"
msgstr "incapaz de escrever para o servidor: %s"
-#: src/mn-client-session.c:782
+#: src/mn-client-session.c:791
msgid "unable to write to server: EOF"
msgstr "incapaz de escrever para o servidor: EOF"
-#: src/mn-client-session.c:814
+#: src/mn-client-session.c:823
#, c-format
msgid "unable to encode Base64: %s"
msgstr "incapaz de encodificar em Base64: %s"
-#: src/mn-client-session.c:917
+#: src/mn-client-session.c:927
#, c-format
msgid "unable to initialize the SASL library: %s"
msgstr "incapaz de inicializar a biblioteca SASL: %s"
-#: src/mn-client-session.c:926
+#: src/mn-client-session.c:936
#, c-format
msgid "unable to retrieve local address of socket: %s"
msgstr "incapaz de obter o endereço local do socket: %s"
-#: src/mn-client-session.c:932
+#: src/mn-client-session.c:942
#, c-format
msgid "unable to retrieve remote address of socket: %s"
msgstr "incapaz de obter endereço remoto do socket: %s"
-#: src/mn-client-session.c:966
+#: src/mn-client-session.c:976
#, c-format
msgid "warning: unable to set SASL security properties: %s"
msgstr "aviso: incapaz de definir as propriedades de segurança SASL: %s"
-#: src/mn-client-session.c:1005
+#: src/mn-client-session.c:1015
msgid ""
"unable to start SASL authentication: SASL asked for something we did not know"
msgstr ""
"incapaz de iniciar a autenticação SASL: SASL perguntou algo que não sabíamos"
-#: src/mn-client-session.c:1009
+#: src/mn-client-session.c:1019
#, c-format
msgid "unable to start SASL authentication: %s"
msgstr "incapaz de iniciar autenticação SASL: %s"
-#: src/mn-client-session.c:1013
+#: src/mn-client-session.c:1023
#, c-format
msgid "unable to create a SASL connection: %s"
msgstr "incapaz de criar uma ligação SASL: %s"
-#: src/mn-client-session.c:1063
+#: src/mn-client-session.c:1073
msgid "SASL asked for something we did not know, aborting SASL authentication"
msgstr "SASL perguntou algo que não sabíamos, abortando a autenticação SASL"
-#: src/mn-client-session.c:1067
+#: src/mn-client-session.c:1077
#, c-format
msgid "%s, aborting SASL authentication"
msgstr "%s, abortando a autenticação SASL"
#. compliance error
-#: src/mn-client-session.c:1072
+#: src/mn-client-session.c:1082
#, c-format
msgid "unable to decode Base64 input from server: %s"
msgstr "incapaz de descodificar o input em Base64 do servidor: %s"
-#: src/mn-client-session.c:1075
+#: src/mn-client-session.c:1085
msgid ""
"the server sent a SASL challenge, but there was a pending initial SASL "
"client response"
@@ -544,7 +588,7 @@ msgstr ""
"o servidor enviou um desafio SASL, mas havia uma resposta SASL inicial "
"pendente do cliente"
-#: src/mn-client-session.c:1089
+#: src/mn-client-session.c:1099
msgid ""
"the server did not send a SASL challenge, but there was no pending initial "
"SASL client response"
@@ -552,32 +596,32 @@ msgstr ""
"o servidor não enviou um desafio SASL, mas não havia uma resposta SASL "
"inicial pendente do cliente"
-#: src/mn-client-session.c:1112
+#: src/mn-client-session.c:1122
#, c-format
msgid "a SASL security layer of strength factor %i is now active"
msgstr "está agora activa uma camada de segurança SASL com factor de força %i"
#. a security layer is active but we can't retrieve maxoutbuf -> fatal
-#: src/mn-client-session.c:1117
+#: src/mn-client-session.c:1127
#, c-format
msgid "unable to get SASL_MAXOUTBUF property: %s"
msgstr "incapaz de obter a propriedade SASL_MAXOUTBUF: %s"
-#: src/mn-client-session.c:1123
+#: src/mn-client-session.c:1133
#, c-format
msgid "warning: unable to get SASL_SSF property: %s"
msgstr "aviso: incapaz de obter a propriedade SASL_SSF: %s"
-#: src/mn-conf.c:123
+#: src/mn-conf.c:136
#, c-format
msgid "recursively unsetting %s"
msgstr "apagando recursivamente %s"
-#: src/mn-conf.c:127
+#: src/mn-conf.c:140
msgid "syncing the GConf database"
msgstr "sincronizando a base de dados GConf"
-#: src/mn-conf.c:130
+#: src/mn-conf.c:143
msgid "completed"
msgstr "completo"
@@ -593,33 +637,33 @@ msgstr ""
"A sua senha Gmail (se deixar em branco, a senha será pedida quando "
"necessária)"
-#: src/mn-gmail-mailbox.gob:63
+#: src/mn-gmail-mailbox.gob:81
msgid "libsoup has not been compiled with SSL/TLS support"
msgstr "libsoup não foi compilada com suporte SSL/TLS"
-#: src/mn-gmail-mailbox.gob:105
+#: src/mn-gmail-mailbox.gob:123
#, c-format
msgid "unable to parse URI \"%s\""
msgstr "incapaz de processar URI \"%s\""
-#: src/mn-gmail-mailbox.gob:159
+#: src/mn-gmail-mailbox.gob:177
#, c-format
msgid "unable to transfer data: %s"
msgstr "incapaz de transferir dados: %s"
-#: src/mn-gmail-mailbox.gob:280
+#: src/mn-gmail-mailbox.gob:298
msgid "logging in"
msgstr "ligando-se"
-#: src/mn-gmail-mailbox.gob:358
+#: src/mn-gmail-mailbox.gob:376
msgid "login failed"
msgstr "login falhou"
-#: src/mn-gmail-mailbox.gob:433
+#: src/mn-gmail-mailbox.gob:451
msgid "searching for unread mail"
msgstr "a procurar correio não lido"
-#: src/mn-gmail-mailbox.gob:529
+#: src/mn-gmail-mailbox.gob:490
msgid "unable to parse Gmail data"
msgstr "incapaz de processar dados Gmail"
@@ -685,50 +729,50 @@ msgstr "O número do porto do servidor IMAP"
msgid "The mailbox name"
msgstr "O nome da caixa de correio"
-#: src/mn-imap-mailbox.gob:133 src/mn-pop3-mailbox.gob:142
+#: src/mn-imap-mailbox.gob:164 src/mn-pop3-mailbox.gob:142
msgid "SSL/TLS support has not been compiled in"
msgstr "suporte SSL/TLS não foi compilado"
-#: src/mn-imap-mailbox.gob:204
+#: src/mn-imap-mailbox.gob:253
msgid "server did not send capabilities"
msgstr "servidor não enviou habilidades"
-#: src/mn-imap-mailbox.gob:319
+#: src/mn-imap-mailbox.gob:374
msgid "server advertised LOGINDISABLED, not using LOGIN authentication"
msgstr "servidor anunciou LOGINDISABLED, não usando a autenticação LOGIN"
-#: src/mn-imap-mailbox.gob:320
+#: src/mn-imap-mailbox.gob:375
msgid "unable to login"
msgstr "incapaz de ligar"
#. compliance error
-#: src/mn-imap-mailbox.gob:451
+#: src/mn-imap-mailbox.gob:516
msgid "server did not send search results"
msgstr "servidor não enviou resultados da procura"
#. compliance error
-#: src/mn-imap-mailbox.gob:527
+#: src/mn-imap-mailbox.gob:596
msgid "server did not send all the messages we requested"
msgstr "servidor não enviou todas as mensagens pedidas"
-#: src/mn-imap-mailbox.gob:574
+#: src/mn-imap-mailbox.gob:645
msgid "unable to fetch message"
msgstr "incapaz de obter mensagem"
#. compliance error
-#: src/mn-imap-mailbox.gob:621
+#: src/mn-imap-mailbox.gob:763
msgid "server did not send status"
msgstr "servidor não enviou estado"
-#: src/mn-imap-mailbox.gob:856 src/mn-pop3-mailbox.gob:913
+#: src/mn-imap-mailbox.gob:1035 src/mn-pop3-mailbox.gob:922
msgid "unknown server error"
msgstr "erro de servidor desconhecido"
-#: src/mn-imap-mailbox.gob:927 src/mn-pop3-mailbox.gob:226
+#: src/mn-imap-mailbox.gob:1106 src/mn-pop3-mailbox.gob:226
msgid "server does not support in-band SSL/TLS"
msgstr "servidor não suporta SSL/TLS in-band"
-#: src/mn-imap-mailbox.gob:946 src/mn-pop3-mailbox.gob:832
+#: src/mn-imap-mailbox.gob:1125 src/mn-pop3-mailbox.gob:841
msgid ""
"a SASL authentication mechanism was selected but SASL support has not been "
"compiled in"
@@ -736,24 +780,28 @@ msgstr ""
"foi escolhido um mecanismo de autenticação SASL, mas o suporte SASL não foi "
"compilado"
-#: src/mn-imap-mailbox.gob:954 src/mn-pop3-mailbox.gob:844
+#: src/mn-imap-mailbox.gob:1133 src/mn-pop3-mailbox.gob:853
#, c-format
msgid "unknown authentication mechanism \"%s\""
msgstr "mecanismo de autenticação desconhecido \"%s\""
-#: src/mn-imap-mailbox.gob:972
+#: src/mn-imap-mailbox.gob:1151
msgid "falling back to IMAP LOGIN authentication"
msgstr "recorrendo à autenticação IMAP LOGIN"
-#: src/mn-imap-mailbox.gob:977 src/mn-pop3-mailbox.gob:879
+#: src/mn-imap-mailbox.gob:1156 src/mn-pop3-mailbox.gob:888
msgid "authentication failed"
msgstr "autenticação falhou"
-#: src/mn-mail-icon.gob:84 ui/summary-dialog.glade.h:2
+#: src/mn-mail-icon.gob:92 ui/summary-dialog.glade.h:2
+msgid "_Launch Mail Reader"
+msgstr ""
+
+#: src/mn-mail-icon.gob:93 ui/summary-dialog.glade.h:3
msgid "_Update"
msgstr "_Actualizar"
-#: src/mn-mail-icon.gob:90
+#: src/mn-mail-icon.gob:99
msgid "R_emove From Notification Area"
msgstr "_Remover da área de notificação"
@@ -810,7 +858,7 @@ msgstr "Completo"
msgid "Whether the properties are completely filled or not"
msgstr "Se as propriedades estão completamente preenchidas"
-#: src/mn-mailbox-view.gob:263 src/mn-message-label.gob:74
+#: src/mn-mailbox-view.gob:263 src/mn-message-box.gob:58
msgid "Mailbox"
msgstr "Caixa de Correio"
@@ -836,35 +884,36 @@ msgid "The mailbox human-readable name"
msgstr "O nome legível da caixa de correio"
#: src/mn-mailbox.gob:145
-msgid "Whether the mailbox has to be manually checked or not"
+#, fuzzy
+msgid "Whether the mailbox has to be polled or not"
msgstr "Se a caixa de correio tem de ser manualmente verificada"
-#: src/mn-mailbox.gob:150
+#: src/mn-mailbox.gob:151
msgid "Whether the mailbox has new mail or not"
msgstr "Se a caixa de correio tem novo correio"
-#: src/mn-mailbox.gob:155
+#: src/mn-mailbox.gob:156
msgid "The list of new and unread MNMessage objects"
msgstr "A lista de objectos MNMessage novos e não lidos"
-#: src/mn-mailbox.gob:209
+#: src/mn-mailbox.gob:210
msgid "The mailbox error, if any"
msgstr "O erro da caixa de correio, se houver"
-#: src/mn-mailbox.gob:308
+#: src/mn-mailbox.gob:309
msgid "does not exist"
msgstr "não existe"
-#: src/mn-mailbox.gob:340
+#: src/mn-mailbox.gob:341
msgid "unknown format"
msgstr "formato desconhecido"
-#: src/mn-mailbox.gob:406
+#: src/mn-mailbox.gob:407
#, c-format
msgid "unable to enable immediate notification for %s: %s"
msgstr "incapaz de activar notificação imediata para %s: %s"
-#: src/mn-mailbox.gob:424
+#: src/mn-mailbox.gob:425
#, c-format
msgid ""
"As a fallback, they will be checked every %i second (this delay is "
@@ -879,7 +928,7 @@ msgstr[1] ""
"Como medida de recurso, serão verificadas a cada %i segundos (este atraso é "
"configurável no Diálogo de Propriedades)."
-#: src/mn-mailbox.gob:435
+#: src/mn-mailbox.gob:436
#, c-format
msgid ""
"As a fallback, they will be checked every %i minute (this delay is "
@@ -894,7 +943,7 @@ msgstr[1] ""
"Como medida de recurso, serão verificadas a cada %i minutos (este atraso é "
"configurável no Diálogo de Propriedades)."
-#: src/mn-mailbox.gob:446
+#: src/mn-mailbox.gob:447
#, c-format
msgid ""
"As a fallback, they will be checked approximately every %i minute (this "
@@ -909,11 +958,11 @@ msgstr[1] ""
"Como medida de recurso, serão verificadas aproximadamente cada %i minutos "
"(este atraso é configurável no Diálogo de Propriedades)."
-#: src/mn-mailbox.gob:462
+#: src/mn-mailbox.gob:463
msgid "A monitoring error has occurred"
msgstr "Ocorreu um erro de monitorização"
-#: src/mn-mailbox.gob:463
+#: src/mn-mailbox.gob:464
#, c-format
msgid ""
"Mail Notification was unable to enable immediate notification for one or "
@@ -922,26 +971,26 @@ msgstr ""
"A Notificação de Correio foi incapaz de activar notificação imediata para "
"uma ou mais caixas de correio. %s"
-#: src/mn-mailboxes.gob:143
+#: src/mn-mailboxes.gob:142
msgid "Whether one or more of the mailboxes has to be polled"
msgstr "Se uma ou mais caixas de correio têm de ser manualmente verificadas"
-#: src/mn-mailboxes.gob:276
+#: src/mn-mailboxes.gob:272
#, c-format
msgid "%s is unsupported: %s"
msgstr "%s não é suportado: %s"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has new mail"
msgstr "%s tem correio novo"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has no new mail"
msgstr "%s não tem correio novo"
-#: src/mn-mailboxes.gob:333
+#: src/mn-mailboxes.gob:330
#, c-format
msgid "%s reported an error: %s"
msgstr "%s relatou um erro: %s"
@@ -1061,51 +1110,51 @@ msgstr "erro ao ler a caixa de correio: %s"
msgid "unable to open mailbox: %s"
msgstr "erro ao abrir a caixa de correio: %s"
-#: src/mn-message-label.gob:77
+#: src/mn-message-box.gob:61
msgid "Unreadable message"
msgstr "Mensagem ilegível"
-#: src/mn-message-label.gob:97
+#: src/mn-message-box.gob:66
msgid "From"
msgstr "De"
-#: src/mn-message-label.gob:98
+#: src/mn-message-box.gob:67
msgid "Subject"
msgstr "Assunto"
-#: src/mn-message-label.gob:102
+#: src/mn-message-box.gob:72
msgid "Sent"
msgstr "Enviado"
-#: src/mn-message-label.gob:151
+#: src/mn-message-box.gob:184
#, c-format
msgid "%i second ago"
msgid_plural "%i seconds ago"
msgstr[0] "%i segundo atrás"
msgstr[1] "%i segundos atrás"
-#: src/mn-message-label.gob:155
+#: src/mn-message-box.gob:188
#, c-format
msgid "%i minute ago"
msgid_plural "%i minutes ago"
msgstr[0] "%i minuto atrás"
msgstr[1] "%i minutos atrás"
-#: src/mn-message-label.gob:160
+#: src/mn-message-box.gob:193
#, c-format
msgid "%i hour ago"
msgid_plural "%i hours ago"
msgstr[0] "%i hora atrás"
msgstr[1] "%i horas atrás"
-#: src/mn-message-label.gob:165
+#: src/mn-message-box.gob:198
#, c-format
msgid "%i day ago"
msgid_plural "%i days ago"
msgstr[0] "%i dia atrás"
msgstr[1] "%i dias atrás"
-#: src/mn-message-label.gob:170
+#: src/mn-message-box.gob:203
#, c-format
msgid "%i week ago"
msgid_plural "%i weeks ago"
@@ -1154,15 +1203,15 @@ msgstr "SSL/TLS _in-band"
msgid "SSL/TLS on sepa_rate port"
msgstr "SSL/TLS num porto sepa_rado"
-#: src/mn-pop3-mailbox-properties.gob:85
+#: src/mn-pop3-mailbox-properties.gob:86
msgid "The hostname or IP address of the POP3 server"
msgstr "O hostname ou endereço IP do servidor POP3"
-#: src/mn-pop3-mailbox-properties.gob:86
+#: src/mn-pop3-mailbox-properties.gob:87
msgid "Your username on the POP3 server"
msgstr "O seu nome de utilizador no servidor POP3"
-#: src/mn-pop3-mailbox-properties.gob:87
+#: src/mn-pop3-mailbox-properties.gob:88
msgid ""
"Your password on the POP3 server (if left blank, you will be prompted for "
"the password when needed)"
@@ -1170,7 +1219,7 @@ msgstr ""
"A sua senha no servidor POP3 (se deixar em branco, a senha será pedida "
"quando necessária)"
-#: src/mn-pop3-mailbox-properties.gob:88 src/mn-pop3-mailbox-properties.gob:89
+#: src/mn-pop3-mailbox-properties.gob:89 src/mn-pop3-mailbox-properties.gob:90
msgid "The port number of the POP3 server"
msgstr "O número do porto do servidor POP3"
@@ -1178,90 +1227,76 @@ msgstr "O número do porto do servidor POP3"
msgid "invalid arguments for the LOGIN-DELAY capability"
msgstr "argumentos inválidos para a habilidade LOGIN-DELAY"
-#: src/mn-pop3-mailbox.gob:549
+#: src/mn-pop3-mailbox.gob:556
msgid "unknown error"
msgstr "erro desconhecido"
-#: src/mn-pop3-mailbox.gob:681
+#: src/mn-pop3-mailbox.gob:690
#, c-format
msgid "honouring LOGIN-DELAY, sleeping for %i second"
msgid_plural "honouring LOGIN-DELAY, sleeping for %i seconds"
msgstr[0] "honrando LOGIN-DELAY, dormindo por %i segundo"
msgstr[1] "honrando LOGIN-DELAY, dormindo por %i segundos"
-#: src/mn-pop3-mailbox.gob:840
+#: src/mn-pop3-mailbox.gob:849
msgid "server does not support APOP authentication"
msgstr "servidor não suporta autenticação APOP"
-#: src/mn-pop3-mailbox.gob:868
+#: src/mn-pop3-mailbox.gob:877
msgid "falling back to APOP authentication"
msgstr "recorrendo a autenticação APOP"
-#: src/mn-pop3-mailbox.gob:873
+#: src/mn-pop3-mailbox.gob:882
msgid "falling back to USER/PASS authentication"
msgstr "recorrendo a autenticação USER/PASS"
-#: src/mn-properties.c:170
+#: src/mn-properties.c:181
msgid "top left"
msgstr "topo esquerdo"
-#: src/mn-properties.c:171
+#: src/mn-properties.c:182
msgid "top right"
msgstr "topo direito"
-#: src/mn-properties.c:172
+#: src/mn-properties.c:183
msgid "bottom left"
msgstr "fundo esquerdo"
-#: src/mn-properties.c:173
+#: src/mn-properties.c:184
msgid "bottom right"
msgstr "fundo direito"
-#: src/mn-properties.c:251
+#: src/mn-properties.c:270
msgid "No mailbox selected."
msgstr "Nenhuma caixa de correio seleccionada."
-#: src/mn-properties.c:256
+#: src/mn-properties.c:275
#, c-format
msgid "%i mailbox selected."
msgid_plural "%i mailboxes selected."
msgstr[0] "%i caixa de correio seleccionada."
msgstr[1] "%i caixas de correio seleccionadas."
-#: src/mn-shell.gob:86
+#: src/mn-shell.gob:92
msgid "You have new mail."
msgstr "Tem novo correio."
-#: src/mn-shell.gob:263
-msgid "The following mailbox has new mail:\n"
-msgid_plural "The following mailboxes have new mail:\n"
-msgstr[0] "A seguinte caixa de correio tem novo correio:\n"
-msgstr[1] "As seguintes caixas de correio têm novo correio:\n"
-
-#: src/mn-shell.gob:267
-msgid "You have no new mail."
-msgstr "Não tem correio novo."
-
-#: src/mn-shell.gob:270
-msgid "The following mailbox reported an error:\n"
-msgid_plural "The following mailboxes reported an error:\n"
-msgstr[0] "A seguinte caixa de correio relatou um erro:\n"
-msgstr[1] "As seguintes caixas de correios relataram um erro:\n"
-
-#: src/mn-shell.gob:275
-msgid "The following mailbox is unsupported:\n"
-msgid_plural "The following mailboxes are unsupported:\n"
-msgstr[0] "A seguinte caixa de correio não é suportada:\n"
-msgstr[1] "As seguintes caixas de correio não são suportadas:\n"
-
-#: src/mn-shell.gob:320
-msgid "A command error has occurred in Mail Notification"
-msgstr "Ocorreu um erro de comando na Notificação de Correio"
+#: src/mn-shell.gob:347
+msgid "Mailboxes Having New Mail"
+msgstr ""
-#: src/mn-shell.gob:321
-#, c-format
-msgid "Unable to execute \"%s\": %s."
-msgstr "incapaz de executar \"%s\": %s."
+#: src/mn-shell.gob:349
+msgid "Errors"
+msgstr ""
+
+#: src/mn-shell.gob:351
+#, fuzzy
+msgid "Unsupported Mailboxes"
+msgstr "Caixa de Correio de Sistema"
+
+#: src/mn-shell.gob:364 ui/summary-dialog.glade.h:1
+msgid "Mail Summary"
+msgstr "Resumo de Correio"
#: src/mn-soup.c:140
#, c-format
@@ -1362,11 +1397,20 @@ msgstr "Ocorreu um erro fatal na Notificação de Correio"
msgid "unable to get current time: %s"
msgstr "incapaz de obter tempo actual: %s"
-#: src/mn-util.c:887
+#: src/mn-util.c:906
#, c-format
msgid "invalid signal specification \"%s\""
msgstr "especificação de sinal inválida \"%s\""
+#: src/mn-util.c:945
+msgid "A command error has occurred in Mail Notification"
+msgstr "Ocorreu um erro de comando na Notificação de Correio"
+
+#: src/mn-util.c:946
+#, c-format
+msgid "Unable to execute \"%s\": %s."
+msgstr "incapaz de executar \"%s\": %s."
+
#: ui/authentication.glade.h:1 ui/properties.glade.h:2
msgid "*"
msgstr "*"
@@ -1388,59 +1432,73 @@ msgid "<span weight=\"bold\">Commands</span>"
msgstr "<span weight=\"bold\">Comandos</span>"
#: ui/properties.glade.h:4
+#, fuzzy
+msgid "<span weight=\"bold\">Double-click Action</span>"
+msgstr "<span weight=\"bold\">Posição</span>"
+
+#: ui/properties.glade.h:5
msgid "<span weight=\"bold\">General</span>"
msgstr "<span weight=\"bold\">Geral</span>"
-#: ui/properties.glade.h:5
+#: ui/properties.glade.h:6
msgid "<span weight=\"bold\">Mailbox List</span>"
msgstr "<span weight=\"bold\">Lista de Caixas de Correio</span>"
-#: ui/properties.glade.h:6
+#: ui/properties.glade.h:7
msgid "<span weight=\"bold\">Position</span>"
msgstr "<span weight=\"bold\">Posição</span>"
-#: ui/properties.glade.h:7
+#: ui/properties.glade.h:8
msgid "General"
msgstr "Geral"
-#: ui/properties.glade.h:8
+#: ui/properties.glade.h:9
msgid "Hori_zontal offset:"
msgstr "Intervalo Hori_zontal:"
-#: ui/properties.glade.h:9
+#: ui/properties.glade.h:10
msgid "Mail Notification Properties"
msgstr "Propriedades de Notificação de Correio"
-#: ui/properties.glade.h:10
+#: ui/properties.glade.h:11
msgid "Mail Summary Popup"
msgstr "Popup de Resumo de Correio"
-#: ui/properties.glade.h:11
+#: ui/properties.glade.h:12
msgid "Mailboxes"
msgstr "Caixas de Correio"
-#: ui/properties.glade.h:12
+#: ui/properties.glade.h:13
+msgid "Only display _recent mail"
+msgstr ""
+
+#: ui/properties.glade.h:14
msgid "P_osition:"
msgstr "_Posição:"
-#: ui/properties.glade.h:13
+#: ui/properties.glade.h:15
msgid "The amount of time to wait before closing the mail summary popup"
msgstr ""
"A quantidade de tempo a esperar antes de fechar o popup de resumo de correio"
-#: ui/properties.glade.h:14
+#: ui/properties.glade.h:16
msgid "The amount of time to wait between mail checks"
msgstr "A quantidade de tempo a esperar entre verificações de correio"
-#: ui/properties.glade.h:15
+#: ui/properties.glade.h:17
+#, fuzzy
+msgid "The command to run to launch the mail reader"
+msgstr "O comando a executar quando todo o correio está lido"
+
+#: ui/properties.glade.h:18
msgid "The command to run when all mail is read"
msgstr "O comando a executar quando todo o correio está lido"
-#: ui/properties.glade.h:16
+#: ui/properties.glade.h:19
msgid "The command to run when new mail arrives"
msgstr "O comando a executar quando chega novo correio"
-#: ui/properties.glade.h:17
+#: ui/properties.glade.h:20
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup"
@@ -1448,7 +1506,7 @@ msgstr ""
"O número de pixeis a deixar entre o extremo esquerdo ou direito do ecran e o "
"popup de resumo de correio"
-#: ui/properties.glade.h:18
+#: ui/properties.glade.h:21
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup"
@@ -1456,37 +1514,47 @@ msgstr ""
"O número de pixeis a deixar entre o topo ou fundo do ecran e o popup de "
"resumo de correio"
-#: ui/properties.glade.h:19
+#: ui/properties.glade.h:22
msgid "When _all mail is read:"
msgstr "Quando _todo o correio está lido:"
-#: ui/properties.glade.h:20
+#: ui/properties.glade.h:23
msgid "When _new mail arrives:"
msgstr "Quando chega _novo correio:"
-#: ui/properties.glade.h:21
+#: ui/properties.glade.h:24
msgid "Whether the status icon should blink on errors or not"
msgstr "Se o ícone de estado deve piscar em erros ou não"
-#: ui/properties.glade.h:22
+#: ui/properties.glade.h:25
msgid "Whether to automatically close the mail summary popup or not"
msgstr ""
"Se o popup de resumo de correio deve ser automaticamente fechado ou não"
-#: ui/properties.glade.h:23
+#: ui/properties.glade.h:26
msgid "Whether to display the mail summary popup when new mail arrives or not"
msgstr ""
"Se o popup de resumo de correio deve ser mostrado quando chega correio ou não"
-#: ui/properties.glade.h:24
+#: ui/properties.glade.h:27
+#, fuzzy
+msgid "Whether to hide previously displayed mail or not"
+msgstr "Se a caixa de correio tem novo correio"
+
+#: ui/properties.glade.h:28
msgid "Whether to run a command when all mail is read or not"
msgstr "Se deve ser executado um comando quando todo o correio está lido"
-#: ui/properties.glade.h:25
+#: ui/properties.glade.h:29
msgid "Whether to run a command when new mail arrives or not"
msgstr "Se deve ser executado um comando quando chega novo correio"
-#: ui/properties.glade.h:26
+#: ui/properties.glade.h:30
+#, fuzzy
+msgid "Whether to set a mail reader or not"
+msgstr "Se deve ser executado um comando quando todo o correio está lido"
+
+#: ui/properties.glade.h:31
msgid ""
"Whether to start Mail Notification when you log into your GNOME session or "
"not"
@@ -1494,46 +1562,56 @@ msgstr ""
"Se a Notificação de Correio deve ser iniciada quando faz se liga à sessão "
"GNOME ou não"
-#: ui/properties.glade.h:27
+#: ui/properties.glade.h:32
msgid "_Automatically close after:"
msgstr "Fechar _Automáticamente após:"
-#: ui/properties.glade.h:28
+#: ui/properties.glade.h:33
msgid "_Blink on errors"
msgstr "_Piscar em erros"
-#: ui/properties.glade.h:29
+#: ui/properties.glade.h:34
msgid "_Delay between mail checks:"
msgstr "_Intervalo entre verificações de correio:"
-#: ui/properties.glade.h:30
+#: ui/properties.glade.h:35
+#, fuzzy
+msgid "_Display the mail summary dialog"
+msgstr "Mostrar o diálogo de resumo de correio"
+
+#: ui/properties.glade.h:36
msgid "_Enable mail summary popup"
msgstr "_Activar popup de resumo de correio"
-#: ui/properties.glade.h:31
+#: ui/properties.glade.h:37
+msgid "_Launch the mail reader"
+msgstr ""
+
+#: ui/properties.glade.h:38
+#, fuzzy
+msgid "_Mail reader:"
+msgstr "_Resumo de Correio"
+
+#: ui/properties.glade.h:39
msgid "_Start Mail Notification on GNOME login"
msgstr "_Iniciar Notificação de Correio no login GNOME"
-#: ui/properties.glade.h:32
+#: ui/properties.glade.h:40
msgid "_Vertical offset:"
msgstr "Intervalo _vertical:"
-#: ui/properties.glade.h:33
+#: ui/properties.glade.h:41
msgid "minutes"
msgstr "minutos"
-#: ui/properties.glade.h:34
+#: ui/properties.glade.h:42
msgid "pixels"
msgstr "pixeis"
-#: ui/properties.glade.h:35
+#: ui/properties.glade.h:43
msgid "seconds"
msgstr "segundos"
-#: ui/summary-dialog.glade.h:1
-msgid "Mail Summary"
-msgstr "Resumo de Correio"
-
#: ui/summary-popup.glade.h:1
msgid "<span size=\"larger\" weight=\"bold\">Mail Summary</span>"
msgstr "<span size=\"larger\" weight=\"bold\">Resumo de Correio</span>"
@@ -1575,8 +1653,23 @@ msgstr "_Configurar Notificação de Correio"
msgid "_Skip configuration"
msgstr "_Saltar configuração"
-#~ msgid "Double-clicked command"
-#~ msgstr "Comando de duplo-clique"
+#~ msgid "The following mailbox has new mail:\n"
+#~ msgid_plural "The following mailboxes have new mail:\n"
+#~ msgstr[0] "A seguinte caixa de correio tem novo correio:\n"
+#~ msgstr[1] "As seguintes caixas de correio têm novo correio:\n"
+
+#~ msgid "You have no new mail."
+#~ msgstr "Não tem correio novo."
+
+#~ msgid "The following mailbox reported an error:\n"
+#~ msgid_plural "The following mailboxes reported an error:\n"
+#~ msgstr[0] "A seguinte caixa de correio relatou um erro:\n"
+#~ msgstr[1] "As seguintes caixas de correios relataram um erro:\n"
+
+#~ msgid "The following mailbox is unsupported:\n"
+#~ msgid_plural "The following mailboxes are unsupported:\n"
+#~ msgstr[0] "A seguinte caixa de correio não é suportada:\n"
+#~ msgstr[1] "As seguintes caixas de correio não são suportadas:\n"
#~ msgid "Run a command when the icon is double-clicked"
#~ msgstr "Executar um comando quando fizer duplo-clique no ícone"
diff --git a/po/ru.gmo b/po/ru.gmo
Binary files differ.
diff --git a/po/ru.po b/po/ru.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mail-notification 0.5.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2004-10-25 15:26+0200\n"
+"POT-Creation-Date: 2004-10-31 18:42+0100\n"
"PO-Revision-Date: 2004-07-21 21:58+0200\n"
"Last-Translator: Dan Korostelev <dan@ats.energo.ru>\n"
"Language-Team: Russian\n"
@@ -38,7 +38,7 @@ msgstr "Иконка входящих сообщений"
#: data/mail-notification-properties.desktop.in.h:2
#: data/mail-notification.desktop.in.h:2
#: data/mail-notification.soundlist.in.h:1 src/mn-about-dialog.gob:40
-#: src/mn-mail-icon.gob:163 src/mn-main.c:271
+#: src/mn-mail-icon.gob:194 src/mn-main.c:271
msgid "Mail Notification"
msgstr "Иконка входящих сообщений"
@@ -68,197 +68,236 @@ msgid "Do not show the immediate notification error dialog"
msgstr ""
#: data/mail-notification.schemas.in.h:6
-msgid "Enable mail summary popup"
+msgid "Double-click action"
msgstr ""
#: data/mail-notification.schemas.in.h:7
-msgid "Fingerprints of trusted X509 certificates"
+msgid "Enable mail summary popup"
msgstr ""
#: data/mail-notification.schemas.in.h:8
-msgid "Has already been run"
+msgid "Fingerprints of trusted X509 certificates"
msgstr ""
#: data/mail-notification.schemas.in.h:9
-msgid "Height of mail summary dialog"
+msgid "Has already been run"
msgstr ""
#: data/mail-notification.schemas.in.h:10
-msgid "Height of properties dialog"
+msgid "Height of mail summary dialog"
msgstr ""
#: data/mail-notification.schemas.in.h:11
-msgid "Mail read command"
+msgid "Height of properties dialog"
msgstr ""
#: data/mail-notification.schemas.in.h:12
-msgid "Mail summary popup horizontal offset"
+msgid "Mail read command"
msgstr ""
#: data/mail-notification.schemas.in.h:13
-msgid "Mail summary popup position"
+msgid "Mail reader command"
msgstr ""
#: data/mail-notification.schemas.in.h:14
-msgid "Mail summary popup vertical offset"
+msgid "Mail summary popup horizontal offset"
msgstr ""
#: data/mail-notification.schemas.in.h:15
-msgid "Mailbox list"
+msgid "Mail summary popup position"
msgstr ""
#: data/mail-notification.schemas.in.h:16
-msgid "Minutes between mail checks"
+msgid "Mail summary popup vertical offset"
msgstr ""
#: data/mail-notification.schemas.in.h:17
-msgid "Minutes to wait before closing the mail summary popup"
+msgid "Mailbox list"
msgstr ""
#: data/mail-notification.schemas.in.h:18
-msgid "New mail command"
+msgid "Minutes between mail checks"
msgstr ""
#: data/mail-notification.schemas.in.h:19
+msgid "Minutes to wait before closing the mail summary popup"
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:20
+msgid "New mail command"
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:21
+msgid "Only display recent mail in mail summary popup"
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:22
#, fuzzy
msgid "Run a command when all mail is read"
msgstr ""
"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
-#: data/mail-notification.schemas.in.h:20
+#: data/mail-notification.schemas.in.h:23
#, fuzzy
msgid "Run a command when new mail arrives"
msgstr ""
"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
-#: data/mail-notification.schemas.in.h:21
+#: data/mail-notification.schemas.in.h:24
msgid "Seconds between mail checks"
msgstr ""
-#: data/mail-notification.schemas.in.h:22
+#: data/mail-notification.schemas.in.h:25
msgid "Seconds to wait before closing the mail summary popup"
msgstr ""
-#: data/mail-notification.schemas.in.h:23
+#: data/mail-notification.schemas.in.h:26
+msgid "Set a mail reader"
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:27
+msgid ""
+"The action to perform when the icon is double-clicked. Must be \"display-"
+"mail-summary\" or \"launch-mail-reader\"."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:28
msgid ""
"The amount of time to wait before closing the mail summary popup (minutes "
"part)."
msgstr ""
-#: data/mail-notification.schemas.in.h:24
+#: data/mail-notification.schemas.in.h:29
msgid ""
"The amount of time to wait before closing the mail summary popup (seconds "
"part)."
msgstr ""
-#: data/mail-notification.schemas.in.h:25
+#: data/mail-notification.schemas.in.h:30
+#, fuzzy
+msgid "The command to run to launch the mail reader."
+msgstr ""
+"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
+
+#: data/mail-notification.schemas.in.h:31
#, fuzzy
msgid "The command to run when all mail is read."
msgstr ""
"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
-#: data/mail-notification.schemas.in.h:26
+#: data/mail-notification.schemas.in.h:32
#, fuzzy
msgid "The command to run when new mail arrives."
msgstr ""
"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
-#: data/mail-notification.schemas.in.h:27
+#: data/mail-notification.schemas.in.h:33
msgid "The height of the mail summary dialog in pixels."
msgstr ""
-#: data/mail-notification.schemas.in.h:28
+#: data/mail-notification.schemas.in.h:34
msgid "The height of the properties dialog in pixels."
msgstr ""
-#: data/mail-notification.schemas.in.h:29
+#: data/mail-notification.schemas.in.h:35
msgid "The list of mailboxes to monitor."
msgstr ""
-#: data/mail-notification.schemas.in.h:30
+#: data/mail-notification.schemas.in.h:36
msgid ""
"The list of trusted SSL/TLS servers (hostname:port) lacking a X509 "
"certificate."
msgstr ""
-#: data/mail-notification.schemas.in.h:31
+#: data/mail-notification.schemas.in.h:37
msgid ""
"The list of trusted X509 certificates, represented by their MD5 fingerprint."
msgstr ""
-#: data/mail-notification.schemas.in.h:32
+#: data/mail-notification.schemas.in.h:38
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup."
msgstr ""
-#: data/mail-notification.schemas.in.h:33
+#: data/mail-notification.schemas.in.h:39
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup."
msgstr ""
-#: data/mail-notification.schemas.in.h:34
+#: data/mail-notification.schemas.in.h:40
msgid ""
"The position of the mail summary popup. Must be \"top-left\", \"top-right\", "
"\"bottom-left\" or \"bottom-right\"."
msgstr ""
-#: data/mail-notification.schemas.in.h:35
+#: data/mail-notification.schemas.in.h:41
msgid "The width of the mail summary dialog in pixels."
msgstr ""
-#: data/mail-notification.schemas.in.h:36
+#: data/mail-notification.schemas.in.h:42
msgid "The width of the properties dialog in pixels."
msgstr ""
-#: data/mail-notification.schemas.in.h:37
+#: data/mail-notification.schemas.in.h:43
msgid "Trusted servers list"
msgstr ""
-#: data/mail-notification.schemas.in.h:38
+#: data/mail-notification.schemas.in.h:44
msgid "Whether Mail Notification has already been run or not."
msgstr ""
-#: data/mail-notification.schemas.in.h:39
+#: data/mail-notification.schemas.in.h:45
msgid "Whether the status icon should blink on errors or not."
msgstr ""
-#: data/mail-notification.schemas.in.h:40
+#: data/mail-notification.schemas.in.h:46
#, fuzzy
msgid "Whether to automatically close the mail summary popup or not."
msgstr ""
"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
-#: data/mail-notification.schemas.in.h:41
+#: data/mail-notification.schemas.in.h:47
#, fuzzy
msgid "Whether to display the mail summary popup when new mail arrives or not."
msgstr ""
"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
-#: data/mail-notification.schemas.in.h:42
+#: data/mail-notification.schemas.in.h:48
+msgid ""
+"Whether to hide previously displayed mail in the mail summary popup or not."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:49
msgid ""
"Whether to prevent the immediate notification error dialog from being "
"displayed or not."
msgstr ""
-#: data/mail-notification.schemas.in.h:43
+#: data/mail-notification.schemas.in.h:50
#, fuzzy
msgid "Whether to run a command when all mail is read or not."
msgstr ""
"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
-#: data/mail-notification.schemas.in.h:44
+#: data/mail-notification.schemas.in.h:51
#, fuzzy
msgid "Whether to run a command when new mail arrives or not."
msgstr ""
"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
-#: data/mail-notification.schemas.in.h:45
+#: data/mail-notification.schemas.in.h:52
+#, fuzzy
+msgid "Whether to set a mail reader or not."
+msgstr ""
+"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
+
+#: data/mail-notification.schemas.in.h:53
msgid "Width of mail summary dialog"
msgstr ""
-#: data/mail-notification.schemas.in.h:46
+#: data/mail-notification.schemas.in.h:54
msgid "Width of properties dialog"
msgstr ""
@@ -440,127 +479,127 @@ msgstr ""
msgid "unable to parse response \"%s\""
msgstr ""
-#: src/mn-client-session.c:592 src/mn-client-session.c:599
+#: src/mn-client-session.c:601 src/mn-client-session.c:608
#, c-format
msgid "unable to read from server: %s"
msgstr ""
-#: src/mn-client-session.c:597
+#: src/mn-client-session.c:606
msgid "unable to read from server: EOF"
msgstr ""
-#: src/mn-client-session.c:609
+#: src/mn-client-session.c:618
#, c-format
msgid "unable to decode data using SASL: %s"
msgstr ""
-#: src/mn-client-session.c:746
+#: src/mn-client-session.c:755
#, c-format
msgid "unable to encode data using SASL: %s"
msgstr ""
-#: src/mn-client-session.c:777 src/mn-client-session.c:784
+#: src/mn-client-session.c:786 src/mn-client-session.c:793
#, c-format
msgid "unable to write to server: %s"
msgstr ""
-#: src/mn-client-session.c:782
+#: src/mn-client-session.c:791
msgid "unable to write to server: EOF"
msgstr ""
-#: src/mn-client-session.c:814
+#: src/mn-client-session.c:823
#, c-format
msgid "unable to encode Base64: %s"
msgstr ""
-#: src/mn-client-session.c:917
+#: src/mn-client-session.c:927
#, c-format
msgid "unable to initialize the SASL library: %s"
msgstr ""
-#: src/mn-client-session.c:926
+#: src/mn-client-session.c:936
#, c-format
msgid "unable to retrieve local address of socket: %s"
msgstr ""
-#: src/mn-client-session.c:932
+#: src/mn-client-session.c:942
#, c-format
msgid "unable to retrieve remote address of socket: %s"
msgstr ""
-#: src/mn-client-session.c:966
+#: src/mn-client-session.c:976
#, c-format
msgid "warning: unable to set SASL security properties: %s"
msgstr ""
-#: src/mn-client-session.c:1005
+#: src/mn-client-session.c:1015
msgid ""
"unable to start SASL authentication: SASL asked for something we did not know"
msgstr ""
-#: src/mn-client-session.c:1009
+#: src/mn-client-session.c:1019
#, c-format
msgid "unable to start SASL authentication: %s"
msgstr ""
-#: src/mn-client-session.c:1013
+#: src/mn-client-session.c:1023
#, c-format
msgid "unable to create a SASL connection: %s"
msgstr ""
-#: src/mn-client-session.c:1063
+#: src/mn-client-session.c:1073
msgid "SASL asked for something we did not know, aborting SASL authentication"
msgstr ""
-#: src/mn-client-session.c:1067
+#: src/mn-client-session.c:1077
#, c-format
msgid "%s, aborting SASL authentication"
msgstr ""
#. compliance error
-#: src/mn-client-session.c:1072
+#: src/mn-client-session.c:1082
#, c-format
msgid "unable to decode Base64 input from server: %s"
msgstr ""
-#: src/mn-client-session.c:1075
+#: src/mn-client-session.c:1085
msgid ""
"the server sent a SASL challenge, but there was a pending initial SASL "
"client response"
msgstr ""
-#: src/mn-client-session.c:1089
+#: src/mn-client-session.c:1099
msgid ""
"the server did not send a SASL challenge, but there was no pending initial "
"SASL client response"
msgstr ""
-#: src/mn-client-session.c:1112
+#: src/mn-client-session.c:1122
#, c-format
msgid "a SASL security layer of strength factor %i is now active"
msgstr ""
#. a security layer is active but we can't retrieve maxoutbuf -> fatal
-#: src/mn-client-session.c:1117
+#: src/mn-client-session.c:1127
#, c-format
msgid "unable to get SASL_MAXOUTBUF property: %s"
msgstr ""
-#: src/mn-client-session.c:1123
+#: src/mn-client-session.c:1133
#, c-format
msgid "warning: unable to get SASL_SSF property: %s"
msgstr ""
-#: src/mn-conf.c:123
+#: src/mn-conf.c:136
#, c-format
msgid "recursively unsetting %s"
msgstr ""
-#: src/mn-conf.c:127
+#: src/mn-conf.c:140
msgid "syncing the GConf database"
msgstr ""
-#: src/mn-conf.c:130
+#: src/mn-conf.c:143
msgid "completed"
msgstr ""
@@ -574,33 +613,33 @@ msgid ""
"when needed)"
msgstr ""
-#: src/mn-gmail-mailbox.gob:63
+#: src/mn-gmail-mailbox.gob:81
msgid "libsoup has not been compiled with SSL/TLS support"
msgstr ""
-#: src/mn-gmail-mailbox.gob:105
+#: src/mn-gmail-mailbox.gob:123
#, c-format
msgid "unable to parse URI \"%s\""
msgstr ""
-#: src/mn-gmail-mailbox.gob:159
+#: src/mn-gmail-mailbox.gob:177
#, c-format
msgid "unable to transfer data: %s"
msgstr ""
-#: src/mn-gmail-mailbox.gob:280
+#: src/mn-gmail-mailbox.gob:298
msgid "logging in"
msgstr ""
-#: src/mn-gmail-mailbox.gob:358
+#: src/mn-gmail-mailbox.gob:376
msgid "login failed"
msgstr ""
-#: src/mn-gmail-mailbox.gob:433
+#: src/mn-gmail-mailbox.gob:451
msgid "searching for unread mail"
msgstr ""
-#: src/mn-gmail-mailbox.gob:529
+#: src/mn-gmail-mailbox.gob:490
msgid "unable to parse Gmail data"
msgstr ""
@@ -664,73 +703,77 @@ msgstr ""
msgid "The mailbox name"
msgstr ""
-#: src/mn-imap-mailbox.gob:133 src/mn-pop3-mailbox.gob:142
+#: src/mn-imap-mailbox.gob:164 src/mn-pop3-mailbox.gob:142
msgid "SSL/TLS support has not been compiled in"
msgstr ""
-#: src/mn-imap-mailbox.gob:204
+#: src/mn-imap-mailbox.gob:253
msgid "server did not send capabilities"
msgstr ""
-#: src/mn-imap-mailbox.gob:319
+#: src/mn-imap-mailbox.gob:374
msgid "server advertised LOGINDISABLED, not using LOGIN authentication"
msgstr ""
-#: src/mn-imap-mailbox.gob:320
+#: src/mn-imap-mailbox.gob:375
msgid "unable to login"
msgstr ""
#. compliance error
-#: src/mn-imap-mailbox.gob:451
+#: src/mn-imap-mailbox.gob:516
msgid "server did not send search results"
msgstr ""
#. compliance error
-#: src/mn-imap-mailbox.gob:527
+#: src/mn-imap-mailbox.gob:596
msgid "server did not send all the messages we requested"
msgstr ""
-#: src/mn-imap-mailbox.gob:574
+#: src/mn-imap-mailbox.gob:645
msgid "unable to fetch message"
msgstr ""
#. compliance error
-#: src/mn-imap-mailbox.gob:621
+#: src/mn-imap-mailbox.gob:763
msgid "server did not send status"
msgstr ""
-#: src/mn-imap-mailbox.gob:856 src/mn-pop3-mailbox.gob:913
+#: src/mn-imap-mailbox.gob:1035 src/mn-pop3-mailbox.gob:922
msgid "unknown server error"
msgstr ""
-#: src/mn-imap-mailbox.gob:927 src/mn-pop3-mailbox.gob:226
+#: src/mn-imap-mailbox.gob:1106 src/mn-pop3-mailbox.gob:226
msgid "server does not support in-band SSL/TLS"
msgstr ""
-#: src/mn-imap-mailbox.gob:946 src/mn-pop3-mailbox.gob:832
+#: src/mn-imap-mailbox.gob:1125 src/mn-pop3-mailbox.gob:841
msgid ""
"a SASL authentication mechanism was selected but SASL support has not been "
"compiled in"
msgstr ""
-#: src/mn-imap-mailbox.gob:954 src/mn-pop3-mailbox.gob:844
+#: src/mn-imap-mailbox.gob:1133 src/mn-pop3-mailbox.gob:853
#, c-format
msgid "unknown authentication mechanism \"%s\""
msgstr ""
-#: src/mn-imap-mailbox.gob:972
+#: src/mn-imap-mailbox.gob:1151
msgid "falling back to IMAP LOGIN authentication"
msgstr ""
-#: src/mn-imap-mailbox.gob:977 src/mn-pop3-mailbox.gob:879
+#: src/mn-imap-mailbox.gob:1156 src/mn-pop3-mailbox.gob:888
msgid "authentication failed"
msgstr ""
-#: src/mn-mail-icon.gob:84 ui/summary-dialog.glade.h:2
+#: src/mn-mail-icon.gob:92 ui/summary-dialog.glade.h:2
+msgid "_Launch Mail Reader"
+msgstr ""
+
+#: src/mn-mail-icon.gob:93 ui/summary-dialog.glade.h:3
msgid "_Update"
msgstr ""
-#: src/mn-mail-icon.gob:90
+#: src/mn-mail-icon.gob:99
msgid "R_emove From Notification Area"
msgstr ""
@@ -787,7 +830,7 @@ msgstr ""
msgid "Whether the properties are completely filled or not"
msgstr ""
-#: src/mn-mailbox-view.gob:263 src/mn-message-label.gob:74
+#: src/mn-mailbox-view.gob:263 src/mn-message-box.gob:58
msgid "Mailbox"
msgstr ""
@@ -813,35 +856,35 @@ msgid "The mailbox human-readable name"
msgstr ""
#: src/mn-mailbox.gob:145
-msgid "Whether the mailbox has to be manually checked or not"
+msgid "Whether the mailbox has to be polled or not"
msgstr ""
-#: src/mn-mailbox.gob:150
+#: src/mn-mailbox.gob:151
msgid "Whether the mailbox has new mail or not"
msgstr ""
-#: src/mn-mailbox.gob:155
+#: src/mn-mailbox.gob:156
msgid "The list of new and unread MNMessage objects"
msgstr ""
-#: src/mn-mailbox.gob:209
+#: src/mn-mailbox.gob:210
msgid "The mailbox error, if any"
msgstr ""
-#: src/mn-mailbox.gob:308
+#: src/mn-mailbox.gob:309
msgid "does not exist"
msgstr ""
-#: src/mn-mailbox.gob:340
+#: src/mn-mailbox.gob:341
msgid "unknown format"
msgstr ""
-#: src/mn-mailbox.gob:406
+#: src/mn-mailbox.gob:407
#, c-format
msgid "unable to enable immediate notification for %s: %s"
msgstr ""
-#: src/mn-mailbox.gob:424
+#: src/mn-mailbox.gob:425
#, c-format
msgid ""
"As a fallback, they will be checked every %i second (this delay is "
@@ -852,7 +895,7 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/mn-mailbox.gob:435
+#: src/mn-mailbox.gob:436
#, c-format
msgid ""
"As a fallback, they will be checked every %i minute (this delay is "
@@ -863,7 +906,7 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/mn-mailbox.gob:446
+#: src/mn-mailbox.gob:447
#, c-format
msgid ""
"As a fallback, they will be checked approximately every %i minute (this "
@@ -874,37 +917,37 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/mn-mailbox.gob:462
+#: src/mn-mailbox.gob:463
msgid "A monitoring error has occurred"
msgstr ""
-#: src/mn-mailbox.gob:463
+#: src/mn-mailbox.gob:464
#, c-format
msgid ""
"Mail Notification was unable to enable immediate notification for one or "
"more mailboxes. %s"
msgstr ""
-#: src/mn-mailboxes.gob:143
+#: src/mn-mailboxes.gob:142
msgid "Whether one or more of the mailboxes has to be polled"
msgstr ""
-#: src/mn-mailboxes.gob:276
+#: src/mn-mailboxes.gob:272
#, c-format
msgid "%s is unsupported: %s"
msgstr ""
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has new mail"
msgstr ""
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has no new mail"
msgstr ""
-#: src/mn-mailboxes.gob:333
+#: src/mn-mailboxes.gob:330
#, c-format
msgid "%s reported an error: %s"
msgstr ""
@@ -1019,51 +1062,51 @@ msgstr ""
msgid "unable to open mailbox: %s"
msgstr ""
-#: src/mn-message-label.gob:77
+#: src/mn-message-box.gob:61
msgid "Unreadable message"
msgstr ""
-#: src/mn-message-label.gob:97
+#: src/mn-message-box.gob:66
msgid "From"
msgstr ""
-#: src/mn-message-label.gob:98
+#: src/mn-message-box.gob:67
msgid "Subject"
msgstr ""
-#: src/mn-message-label.gob:102
+#: src/mn-message-box.gob:72
msgid "Sent"
msgstr ""
-#: src/mn-message-label.gob:151
+#: src/mn-message-box.gob:184
#, c-format
msgid "%i second ago"
msgid_plural "%i seconds ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:155
+#: src/mn-message-box.gob:188
#, c-format
msgid "%i minute ago"
msgid_plural "%i minutes ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:160
+#: src/mn-message-box.gob:193
#, c-format
msgid "%i hour ago"
msgid_plural "%i hours ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:165
+#: src/mn-message-box.gob:198
#, c-format
msgid "%i day ago"
msgid_plural "%i days ago"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-message-label.gob:170
+#: src/mn-message-box.gob:203
#, c-format
msgid "%i week ago"
msgid_plural "%i weeks ago"
@@ -1112,21 +1155,21 @@ msgstr ""
msgid "SSL/TLS on sepa_rate port"
msgstr ""
-#: src/mn-pop3-mailbox-properties.gob:85
+#: src/mn-pop3-mailbox-properties.gob:86
msgid "The hostname or IP address of the POP3 server"
msgstr ""
-#: src/mn-pop3-mailbox-properties.gob:86
+#: src/mn-pop3-mailbox-properties.gob:87
msgid "Your username on the POP3 server"
msgstr ""
-#: src/mn-pop3-mailbox-properties.gob:87
+#: src/mn-pop3-mailbox-properties.gob:88
msgid ""
"Your password on the POP3 server (if left blank, you will be prompted for "
"the password when needed)"
msgstr ""
-#: src/mn-pop3-mailbox-properties.gob:88 src/mn-pop3-mailbox-properties.gob:89
+#: src/mn-pop3-mailbox-properties.gob:89 src/mn-pop3-mailbox-properties.gob:90
msgid "The port number of the POP3 server"
msgstr ""
@@ -1134,89 +1177,74 @@ msgstr ""
msgid "invalid arguments for the LOGIN-DELAY capability"
msgstr ""
-#: src/mn-pop3-mailbox.gob:549
+#: src/mn-pop3-mailbox.gob:556
msgid "unknown error"
msgstr ""
-#: src/mn-pop3-mailbox.gob:681
+#: src/mn-pop3-mailbox.gob:690
#, c-format
msgid "honouring LOGIN-DELAY, sleeping for %i second"
msgid_plural "honouring LOGIN-DELAY, sleeping for %i seconds"
msgstr[0] ""
msgstr[1] ""
-#: src/mn-pop3-mailbox.gob:840
+#: src/mn-pop3-mailbox.gob:849
msgid "server does not support APOP authentication"
msgstr ""
-#: src/mn-pop3-mailbox.gob:868
+#: src/mn-pop3-mailbox.gob:877
msgid "falling back to APOP authentication"
msgstr ""
-#: src/mn-pop3-mailbox.gob:873
+#: src/mn-pop3-mailbox.gob:882
msgid "falling back to USER/PASS authentication"
msgstr ""
-#: src/mn-properties.c:170
+#: src/mn-properties.c:181
msgid "top left"
msgstr ""
-#: src/mn-properties.c:171
+#: src/mn-properties.c:182
msgid "top right"
msgstr ""
-#: src/mn-properties.c:172
+#: src/mn-properties.c:183
msgid "bottom left"
msgstr ""
-#: src/mn-properties.c:173
+#: src/mn-properties.c:184
msgid "bottom right"
msgstr ""
-#: src/mn-properties.c:251
+#: src/mn-properties.c:270
msgid "No mailbox selected."
msgstr ""
-#: src/mn-properties.c:256
+#: src/mn-properties.c:275
#, c-format
msgid "%i mailbox selected."
msgid_plural "%i mailboxes selected."
msgstr[0] ""
msgstr[1] ""
-#: src/mn-shell.gob:86
+#: src/mn-shell.gob:92
msgid "You have new mail."
msgstr ""
-#: src/mn-shell.gob:263
-msgid "The following mailbox has new mail:\n"
-msgid_plural "The following mailboxes have new mail:\n"
-msgstr[0] ""
-msgstr[1] ""
-
-#: src/mn-shell.gob:267
-msgid "You have no new mail."
+#: src/mn-shell.gob:347
+msgid "Mailboxes Having New Mail"
msgstr ""
-#: src/mn-shell.gob:270
-msgid "The following mailbox reported an error:\n"
-msgid_plural "The following mailboxes reported an error:\n"
-msgstr[0] ""
-msgstr[1] ""
-
-#: src/mn-shell.gob:275
-msgid "The following mailbox is unsupported:\n"
-msgid_plural "The following mailboxes are unsupported:\n"
-msgstr[0] ""
-msgstr[1] ""
+#: src/mn-shell.gob:349
+msgid "Errors"
+msgstr ""
-#: src/mn-shell.gob:320
-msgid "A command error has occurred in Mail Notification"
+#: src/mn-shell.gob:351
+msgid "Unsupported Mailboxes"
msgstr ""
-#: src/mn-shell.gob:321
-#, c-format
-msgid "Unable to execute \"%s\": %s."
+#: src/mn-shell.gob:364 ui/summary-dialog.glade.h:1
+msgid "Mail Summary"
msgstr ""
#: src/mn-soup.c:140
@@ -1314,11 +1342,20 @@ msgstr ""
msgid "unable to get current time: %s"
msgstr ""
-#: src/mn-util.c:887
+#: src/mn-util.c:906
#, c-format
msgid "invalid signal specification \"%s\""
msgstr ""
+#: src/mn-util.c:945
+msgid "A command error has occurred in Mail Notification"
+msgstr ""
+
+#: src/mn-util.c:946
+#, c-format
+msgid "Unable to execute \"%s\": %s."
+msgstr ""
+
#: ui/authentication.glade.h:1 ui/properties.glade.h:2
msgid "*"
msgstr ""
@@ -1340,151 +1377,183 @@ msgid "<span weight=\"bold\">Commands</span>"
msgstr ""
#: ui/properties.glade.h:4
-msgid "<span weight=\"bold\">General</span>"
+msgid "<span weight=\"bold\">Double-click Action</span>"
msgstr ""
#: ui/properties.glade.h:5
-msgid "<span weight=\"bold\">Mailbox List</span>"
+msgid "<span weight=\"bold\">General</span>"
msgstr ""
#: ui/properties.glade.h:6
-msgid "<span weight=\"bold\">Position</span>"
+msgid "<span weight=\"bold\">Mailbox List</span>"
msgstr ""
#: ui/properties.glade.h:7
-msgid "General"
+msgid "<span weight=\"bold\">Position</span>"
msgstr ""
#: ui/properties.glade.h:8
-msgid "Hori_zontal offset:"
+msgid "General"
msgstr ""
#: ui/properties.glade.h:9
+msgid "Hori_zontal offset:"
+msgstr ""
+
+#: ui/properties.glade.h:10
#, fuzzy
msgid "Mail Notification Properties"
msgstr "Иконка входящих сообщений"
-#: ui/properties.glade.h:10
+#: ui/properties.glade.h:11
msgid "Mail Summary Popup"
msgstr ""
-#: ui/properties.glade.h:11
+#: ui/properties.glade.h:12
msgid "Mailboxes"
msgstr ""
-#: ui/properties.glade.h:12
+#: ui/properties.glade.h:13
+msgid "Only display _recent mail"
+msgstr ""
+
+#: ui/properties.glade.h:14
msgid "P_osition:"
msgstr ""
-#: ui/properties.glade.h:13
+#: ui/properties.glade.h:15
msgid "The amount of time to wait before closing the mail summary popup"
msgstr ""
-#: ui/properties.glade.h:14
+#: ui/properties.glade.h:16
msgid "The amount of time to wait between mail checks"
msgstr ""
-#: ui/properties.glade.h:15
+#: ui/properties.glade.h:17
+#, fuzzy
+msgid "The command to run to launch the mail reader"
+msgstr ""
+"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
+
+#: ui/properties.glade.h:18
#, fuzzy
msgid "The command to run when all mail is read"
msgstr ""
"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
-#: ui/properties.glade.h:16
+#: ui/properties.glade.h:19
msgid "The command to run when new mail arrives"
msgstr ""
-#: ui/properties.glade.h:17
+#: ui/properties.glade.h:20
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup"
msgstr ""
-#: ui/properties.glade.h:18
+#: ui/properties.glade.h:21
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup"
msgstr ""
-#: ui/properties.glade.h:19
+#: ui/properties.glade.h:22
msgid "When _all mail is read:"
msgstr ""
-#: ui/properties.glade.h:20
+#: ui/properties.glade.h:23
msgid "When _new mail arrives:"
msgstr ""
-#: ui/properties.glade.h:21
+#: ui/properties.glade.h:24
msgid "Whether the status icon should blink on errors or not"
msgstr ""
-#: ui/properties.glade.h:22
+#: ui/properties.glade.h:25
msgid "Whether to automatically close the mail summary popup or not"
msgstr ""
-#: ui/properties.glade.h:23
+#: ui/properties.glade.h:26
#, fuzzy
msgid "Whether to display the mail summary popup when new mail arrives or not"
msgstr ""
"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
-#: ui/properties.glade.h:24
+#: ui/properties.glade.h:27
+msgid "Whether to hide previously displayed mail or not"
+msgstr ""
+
+#: ui/properties.glade.h:28
#, fuzzy
msgid "Whether to run a command when all mail is read or not"
msgstr ""
"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
-#: ui/properties.glade.h:25
+#: ui/properties.glade.h:29
msgid "Whether to run a command when new mail arrives or not"
msgstr ""
-#: ui/properties.glade.h:26
+#: ui/properties.glade.h:30
+#, fuzzy
+msgid "Whether to set a mail reader or not"
+msgstr ""
+"Иконка в области уведомления панели, уведомляющая о приходе новой почты."
+
+#: ui/properties.glade.h:31
msgid ""
"Whether to start Mail Notification when you log into your GNOME session or "
"not"
msgstr ""
-#: ui/properties.glade.h:27
+#: ui/properties.glade.h:32
msgid "_Automatically close after:"
msgstr ""
-#: ui/properties.glade.h:28
+#: ui/properties.glade.h:33
msgid "_Blink on errors"
msgstr ""
-#: ui/properties.glade.h:29
+#: ui/properties.glade.h:34
msgid "_Delay between mail checks:"
msgstr ""
-#: ui/properties.glade.h:30
+#: ui/properties.glade.h:35
+msgid "_Display the mail summary dialog"
+msgstr ""
+
+#: ui/properties.glade.h:36
msgid "_Enable mail summary popup"
msgstr ""
-#: ui/properties.glade.h:31
+#: ui/properties.glade.h:37
+msgid "_Launch the mail reader"
+msgstr ""
+
+#: ui/properties.glade.h:38
+msgid "_Mail reader:"
+msgstr ""
+
+#: ui/properties.glade.h:39
#, fuzzy
msgid "_Start Mail Notification on GNOME login"
msgstr "Иконка входящих сообщений"
-#: ui/properties.glade.h:32
+#: ui/properties.glade.h:40
msgid "_Vertical offset:"
msgstr ""
-#: ui/properties.glade.h:33
+#: ui/properties.glade.h:41
msgid "minutes"
msgstr ""
-#: ui/properties.glade.h:34
+#: ui/properties.glade.h:42
msgid "pixels"
msgstr ""
-#: ui/properties.glade.h:35
+#: ui/properties.glade.h:43
msgid "seconds"
msgstr ""
-#: ui/summary-dialog.glade.h:1
-msgid "Mail Summary"
-msgstr ""
-
#: ui/summary-popup.glade.h:1
msgid "<span size=\"larger\" weight=\"bold\">Mail Summary</span>"
msgstr ""
diff --git a/po/sr.gmo b/po/sr.gmo
Binary files differ.
diff --git a/po/sr.po b/po/sr.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mail-notification 0.7.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2004-10-25 15:26+0200\n"
+"POT-Creation-Date: 2004-10-31 18:42+0100\n"
"PO-Revision-Date: 2004-10-18 20:04+0100\n"
"Last-Translator: Филип Милетић <filmil@gmail.com>\n"
"Language-Team: Serbian (sr) <gnu@prevod.org>\n"
@@ -35,7 +35,7 @@ msgstr "Подеси дојаву приспећа поште"
#: data/mail-notification-properties.desktop.in.h:2
#: data/mail-notification.desktop.in.h:2
#: data/mail-notification.soundlist.in.h:1 src/mn-about-dialog.gob:40
-#: src/mn-mail-icon.gob:163 src/mn-main.c:271
+#: src/mn-mail-icon.gob:194 src/mn-main.c:271
msgid "Mail Notification"
msgstr "Дојава поште"
@@ -64,119 +64,150 @@ msgid "Do not show the immediate notification error dialog"
msgstr "Не показуј прозор са обавештењем о грешкама"
#: data/mail-notification.schemas.in.h:6
+#, fuzzy
+msgid "Double-click action"
+msgstr "Изврши на двоструки клик"
+
+#: data/mail-notification.schemas.in.h:7
msgid "Enable mail summary popup"
msgstr "Дозволи приказ сажетка порука"
-#: data/mail-notification.schemas.in.h:7
+#: data/mail-notification.schemas.in.h:8
msgid "Fingerprints of trusted X509 certificates"
msgstr "Отисци проверених X509 сертификата"
-#: data/mail-notification.schemas.in.h:8
+#: data/mail-notification.schemas.in.h:9
msgid "Has already been run"
msgstr "Већ је покренут"
-#: data/mail-notification.schemas.in.h:9
+#: data/mail-notification.schemas.in.h:10
msgid "Height of mail summary dialog"
msgstr "Висина прозора са сажетком порука"
-#: data/mail-notification.schemas.in.h:10
+#: data/mail-notification.schemas.in.h:11
msgid "Height of properties dialog"
msgstr "Висина прозора са поставкама"
-#: data/mail-notification.schemas.in.h:11
+#: data/mail-notification.schemas.in.h:12
msgid "Mail read command"
msgstr "Команда за читање поште"
-#: data/mail-notification.schemas.in.h:12
+#: data/mail-notification.schemas.in.h:13
+#, fuzzy
+msgid "Mail reader command"
+msgstr "Команда за читање поште"
+
+#: data/mail-notification.schemas.in.h:14
msgid "Mail summary popup horizontal offset"
msgstr "Померај хоризонталних тачака за прозор са сажетком порука"
-#: data/mail-notification.schemas.in.h:13
+#: data/mail-notification.schemas.in.h:15
msgid "Mail summary popup position"
msgstr "Број хоризонталних тачака за прозор са сажетком порука"
-#: data/mail-notification.schemas.in.h:14
+#: data/mail-notification.schemas.in.h:16
msgid "Mail summary popup vertical offset"
msgstr "Померај вертикалних тачака ѕа прозор са сажетком порука"
-#: data/mail-notification.schemas.in.h:15
+#: data/mail-notification.schemas.in.h:17
msgid "Mailbox list"
msgstr "Списак сандучића"
-#: data/mail-notification.schemas.in.h:16
+#: data/mail-notification.schemas.in.h:18
msgid "Minutes between mail checks"
msgstr "Минута између две провере"
-#: data/mail-notification.schemas.in.h:17
+#: data/mail-notification.schemas.in.h:19
msgid "Minutes to wait before closing the mail summary popup"
msgstr ""
"Број минута који треба да протекне пре затварања прозора са сажетком порука"
-#: data/mail-notification.schemas.in.h:18
+#: data/mail-notification.schemas.in.h:20
msgid "New mail command"
msgstr "Изврши када пошта стигне"
-#: data/mail-notification.schemas.in.h:19
+#: data/mail-notification.schemas.in.h:21
+#, fuzzy
+msgid "Only display recent mail in mail summary popup"
+msgstr "Затвори прозор са сажетком порука"
+
+#: data/mail-notification.schemas.in.h:22
msgid "Run a command when all mail is read"
msgstr "Покрени команду када је сва пошта прочитана"
-#: data/mail-notification.schemas.in.h:20
+#: data/mail-notification.schemas.in.h:23
msgid "Run a command when new mail arrives"
msgstr "Покрени команду када стигне нова пошта"
-#: data/mail-notification.schemas.in.h:21
+#: data/mail-notification.schemas.in.h:24
msgid "Seconds between mail checks"
msgstr "Секунди између две провере"
-#: data/mail-notification.schemas.in.h:22
+#: data/mail-notification.schemas.in.h:25
msgid "Seconds to wait before closing the mail summary popup"
msgstr "Број секунди који треба да протекне пре затварања сажетка порука"
-#: data/mail-notification.schemas.in.h:23
+#: data/mail-notification.schemas.in.h:26
+#, fuzzy
+msgid "Set a mail reader"
+msgstr "Изаберите датотеку или директоријум"
+
+#: data/mail-notification.schemas.in.h:27
+msgid ""
+"The action to perform when the icon is double-clicked. Must be \"display-"
+"mail-summary\" or \"launch-mail-reader\"."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:28
msgid ""
"The amount of time to wait before closing the mail summary popup (minutes "
"part)."
msgstr "Пауза пре затварања прозора са сажетком порука (минути)."
-#: data/mail-notification.schemas.in.h:24
+#: data/mail-notification.schemas.in.h:29
msgid ""
"The amount of time to wait before closing the mail summary popup (seconds "
"part)."
msgstr "Пауза пре затварања прозора са сажетком порука (секунде)."
-#: data/mail-notification.schemas.in.h:25
+#: data/mail-notification.schemas.in.h:30
+#, fuzzy
+msgid "The command to run to launch the mail reader."
+msgstr "Команда коју треба покренути када је сва пошта прочитана."
+
+#: data/mail-notification.schemas.in.h:31
msgid "The command to run when all mail is read."
msgstr "Команда коју треба покренути када је сва пошта прочитана."
-#: data/mail-notification.schemas.in.h:26
+#: data/mail-notification.schemas.in.h:32
msgid "The command to run when new mail arrives."
msgstr "Покрени ову команду када стигне нова пошта."
-#: data/mail-notification.schemas.in.h:27
+#: data/mail-notification.schemas.in.h:33
msgid "The height of the mail summary dialog in pixels."
msgstr "Висина прозора са сажетком порука изражена у тачкама."
-#: data/mail-notification.schemas.in.h:28
+#: data/mail-notification.schemas.in.h:34
msgid "The height of the properties dialog in pixels."
msgstr "Висина прозора са поставкама изражена у тачкама."
-#: data/mail-notification.schemas.in.h:29
+#: data/mail-notification.schemas.in.h:35
msgid "The list of mailboxes to monitor."
msgstr "Списак сандучића који се прате."
-#: data/mail-notification.schemas.in.h:30
+#: data/mail-notification.schemas.in.h:36
msgid ""
"The list of trusted SSL/TLS servers (hostname:port) lacking a X509 "
"certificate."
msgstr ""
"Списак проверених SSL/TLS сервера (рачунар:порт) који немају X509 сертификат."
-#: data/mail-notification.schemas.in.h:31
+#: data/mail-notification.schemas.in.h:37
msgid ""
"The list of trusted X509 certificates, represented by their MD5 fingerprint."
msgstr "Списак проверених X509 сертификата, представљених MD5 отиском."
-#: data/mail-notification.schemas.in.h:32
+#: data/mail-notification.schemas.in.h:38
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup."
@@ -184,7 +215,7 @@ msgstr ""
"Број тачака које треба оставити између леве, одн. десне стране екрана и "
"прозора са сажетком порука."
-#: data/mail-notification.schemas.in.h:33
+#: data/mail-notification.schemas.in.h:39
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup."
@@ -192,7 +223,7 @@ msgstr ""
"Број тачака које треба оставити између врха, одн. дна екрана и прозора са "
"сажетком порука."
-#: data/mail-notification.schemas.in.h:34
+#: data/mail-notification.schemas.in.h:40
msgid ""
"The position of the mail summary popup. Must be \"top-left\", \"top-right\", "
"\"bottom-left\" or \"bottom-right\"."
@@ -200,55 +231,68 @@ msgstr ""
"Положај прозора са сажетком порука. Може бити: „горе-лево‟, „горе-десно‟, "
"„доле-лево‟ или „доле-десно‟."
-#: data/mail-notification.schemas.in.h:35
+#: data/mail-notification.schemas.in.h:41
msgid "The width of the mail summary dialog in pixels."
msgstr "Ширина прозора са сажетком порука изражена у тачкама."
-#: data/mail-notification.schemas.in.h:36
+#: data/mail-notification.schemas.in.h:42
msgid "The width of the properties dialog in pixels."
msgstr "Ширина прозора са поставкама изражена у тачкама."
-#: data/mail-notification.schemas.in.h:37
+#: data/mail-notification.schemas.in.h:43
msgid "Trusted servers list"
msgstr "Списак проверених сервера"
-#: data/mail-notification.schemas.in.h:38
+#: data/mail-notification.schemas.in.h:44
msgid "Whether Mail Notification has already been run or not."
msgstr "Да ли је програм покретан пре или није."
-#: data/mail-notification.schemas.in.h:39
+#: data/mail-notification.schemas.in.h:45
msgid "Whether the status icon should blink on errors or not."
msgstr "Да ли сличица треба да трепери ако дође до грешке или не."
-#: data/mail-notification.schemas.in.h:40
+#: data/mail-notification.schemas.in.h:46
msgid "Whether to automatically close the mail summary popup or not."
msgstr ""
"Да ли треба или не треба аутоматски затворити прозор са сажетком поште."
-#: data/mail-notification.schemas.in.h:41
+#: data/mail-notification.schemas.in.h:47
msgid "Whether to display the mail summary popup when new mail arrives or not."
msgstr "Да ли треба приказати сажетак порука када стигне нова пошта."
-#: data/mail-notification.schemas.in.h:42
+#: data/mail-notification.schemas.in.h:48
+#, fuzzy
+msgid ""
+"Whether to hide previously displayed mail in the mail summary popup or not."
+msgstr ""
+"Да ли треба или не треба аутоматски затворити прозор са сажетком поште."
+
+#: data/mail-notification.schemas.in.h:49
msgid ""
"Whether to prevent the immediate notification error dialog from being "
"displayed or not."
msgstr "Да ли треба или не треба спречити појаву прозора са описом грешака."
-#: data/mail-notification.schemas.in.h:43
+#: data/mail-notification.schemas.in.h:50
msgid "Whether to run a command when all mail is read or not."
msgstr ""
"Да ли треба или не треба покренути неку команду када је сва пошта прочитана."
-#: data/mail-notification.schemas.in.h:44
+#: data/mail-notification.schemas.in.h:51
msgid "Whether to run a command when new mail arrives or not."
msgstr "Да ли треба покренути неку команду када стигне нова пошта."
-#: data/mail-notification.schemas.in.h:45
+#: data/mail-notification.schemas.in.h:52
+#, fuzzy
+msgid "Whether to set a mail reader or not."
+msgstr ""
+"Да ли треба или не треба покренути неку команду када је сва пошта прочитана."
+
+#: data/mail-notification.schemas.in.h:53
msgid "Width of mail summary dialog"
msgstr "Ширина прозора са сажетком порука"
-#: data/mail-notification.schemas.in.h:46
+#: data/mail-notification.schemas.in.h:54
msgid "Width of properties dialog"
msgstr "Ширина прозора са поставкама"
@@ -446,129 +490,129 @@ msgstr "одговор \"%s\" није исправан у тренутно ва
msgid "unable to parse response \"%s\""
msgstr "није могуће обрадити одговор \"%s\""
-#: src/mn-client-session.c:592 src/mn-client-session.c:599
+#: src/mn-client-session.c:601 src/mn-client-session.c:608
#, c-format
msgid "unable to read from server: %s"
msgstr "Није могуће читање са сервера: %s"
-#: src/mn-client-session.c:597
+#: src/mn-client-session.c:606
msgid "unable to read from server: EOF"
msgstr "Није могуће читање са сервера: EOF"
-#: src/mn-client-session.c:609
+#: src/mn-client-session.c:618
#, c-format
msgid "unable to decode data using SASL: %s"
msgstr "Не могу се декодовати подаци путем SASL: %s"
-#: src/mn-client-session.c:746
+#: src/mn-client-session.c:755
#, c-format
msgid "unable to encode data using SASL: %s"
msgstr "није могуће кодирати податке уз помоћ SASL: %s"
-#: src/mn-client-session.c:777 src/mn-client-session.c:784
+#: src/mn-client-session.c:786 src/mn-client-session.c:793
#, c-format
msgid "unable to write to server: %s"
msgstr "није могућ упис на сервер: %s"
-#: src/mn-client-session.c:782
+#: src/mn-client-session.c:791
msgid "unable to write to server: EOF"
msgstr "није могућ упис на сервер: EOF"
-#: src/mn-client-session.c:814
+#: src/mn-client-session.c:823
#, c-format
msgid "unable to encode Base64: %s"
msgstr "није могуће кодирати Base64: %s"
-#: src/mn-client-session.c:917
+#: src/mn-client-session.c:927
#, c-format
msgid "unable to initialize the SASL library: %s"
msgstr "не може се покренути SASL библиотека: %s"
-#: src/mn-client-session.c:926
+#: src/mn-client-session.c:936
#, c-format
msgid "unable to retrieve local address of socket: %s"
msgstr "не може да се добави локална адреса утичнице: %s"
-#: src/mn-client-session.c:932
+#: src/mn-client-session.c:942
#, c-format
msgid "unable to retrieve remote address of socket: %s"
msgstr "не може да се добави удаљена адреса утичнице: %s"
-#: src/mn-client-session.c:966
+#: src/mn-client-session.c:976
#, c-format
msgid "warning: unable to set SASL security properties: %s"
msgstr "упозорење: није могуће поставити SASL сигурносне поставке %s"
-#: src/mn-client-session.c:1005
+#: src/mn-client-session.c:1015
msgid ""
"unable to start SASL authentication: SASL asked for something we did not know"
msgstr "не може се покренути SASL пријава: SASL тражи податке које немамо"
-#: src/mn-client-session.c:1009
+#: src/mn-client-session.c:1019
#, c-format
msgid "unable to start SASL authentication: %s"
msgstr "не може се покренути SASL пријава: %s"
-#: src/mn-client-session.c:1013
+#: src/mn-client-session.c:1023
#, c-format
msgid "unable to create a SASL connection: %s"
msgstr "није могуће успоставити SASL везу: %s"
-#: src/mn-client-session.c:1063
+#: src/mn-client-session.c:1073
msgid "SASL asked for something we did not know, aborting SASL authentication"
msgstr "SASL је тражио нама непознате податке, обустављам SASL пријаву"
-#: src/mn-client-session.c:1067
+#: src/mn-client-session.c:1077
#, c-format
msgid "%s, aborting SASL authentication"
msgstr "%s, обустављам SASL пријаву"
#. compliance error
-#: src/mn-client-session.c:1072
+#: src/mn-client-session.c:1082
#, c-format
msgid "unable to decode Base64 input from server: %s"
msgstr "није могуће декодовати Base64 улаз са сервера: %s"
-#: src/mn-client-session.c:1075
+#: src/mn-client-session.c:1085
msgid ""
"the server sent a SASL challenge, but there was a pending initial SASL "
"client response"
msgstr ""
"сервер је започео SASL разговор, али одговор од клијента стигао пре тога"
-#: src/mn-client-session.c:1089
+#: src/mn-client-session.c:1099
msgid ""
"the server did not send a SASL challenge, but there was no pending initial "
"SASL client response"
msgstr ""
"сервер није послао SASL разговор, али није било ни одговора од клијента."
-#: src/mn-client-session.c:1112
+#: src/mn-client-session.c:1122
#, c-format
msgid "a SASL security layer of strength factor %i is now active"
msgstr "SASL сигурносни слој нивоа снаге %i је успостављен"
#. a security layer is active but we can't retrieve maxoutbuf -> fatal
-#: src/mn-client-session.c:1117
+#: src/mn-client-session.c:1127
#, c-format
msgid "unable to get SASL_MAXOUTBUF property: %s"
msgstr "не могу да прочитам поставку SASL_MAXOUTBUF: %s"
-#: src/mn-client-session.c:1123
+#: src/mn-client-session.c:1133
#, c-format
msgid "warning: unable to get SASL_SSF property: %s"
msgstr "упозорење: не могу да прочитам поставку SASL_SSF: %s"
-#: src/mn-conf.c:123
+#: src/mn-conf.c:136
#, c-format
msgid "recursively unsetting %s"
msgstr "рекурзивно поништавам %s"
-#: src/mn-conf.c:127
+#: src/mn-conf.c:140
msgid "syncing the GConf database"
msgstr "усклађујем GConf базу података"
-#: src/mn-conf.c:130
+#: src/mn-conf.c:143
msgid "completed"
msgstr "урађено"
@@ -584,33 +628,33 @@ msgstr ""
"Ваша лозинка на сервису Gmail (ако не упишете лозинку, програм ће Вас "
"замолити да је унесете када то буде потребно)"
-#: src/mn-gmail-mailbox.gob:63
+#: src/mn-gmail-mailbox.gob:81
msgid "libsoup has not been compiled with SSL/TLS support"
msgstr "libsoup није изграђен са подршком за SSL/TLS"
-#: src/mn-gmail-mailbox.gob:105
+#: src/mn-gmail-mailbox.gob:123
#, c-format
msgid "unable to parse URI \"%s\""
msgstr "није могуће обрадити URI \"%s\""
-#: src/mn-gmail-mailbox.gob:159
+#: src/mn-gmail-mailbox.gob:177
#, c-format
msgid "unable to transfer data: %s"
msgstr "не могу да преузмем податке: %s"
-#: src/mn-gmail-mailbox.gob:280
+#: src/mn-gmail-mailbox.gob:298
msgid "logging in"
msgstr "пријава у току"
-#: src/mn-gmail-mailbox.gob:358
+#: src/mn-gmail-mailbox.gob:376
msgid "login failed"
msgstr "пријава није успела"
-#: src/mn-gmail-mailbox.gob:433
+#: src/mn-gmail-mailbox.gob:451
msgid "searching for unread mail"
msgstr "тражим нову пошту"
-#: src/mn-gmail-mailbox.gob:529
+#: src/mn-gmail-mailbox.gob:490
msgid "unable to parse Gmail data"
msgstr "не могу да обрадим податке са сервиса Gmail"
@@ -676,50 +720,50 @@ msgstr "Број порта на IMAP серверу"
msgid "The mailbox name"
msgstr "Име сандучета"
-#: src/mn-imap-mailbox.gob:133 src/mn-pop3-mailbox.gob:142
+#: src/mn-imap-mailbox.gob:164 src/mn-pop3-mailbox.gob:142
msgid "SSL/TLS support has not been compiled in"
msgstr "Подршка за SSL/TLS није уграђена"
-#: src/mn-imap-mailbox.gob:204
+#: src/mn-imap-mailbox.gob:253
msgid "server did not send capabilities"
msgstr "сервер није обавестио о својим могућностима"
-#: src/mn-imap-mailbox.gob:319
+#: src/mn-imap-mailbox.gob:374
msgid "server advertised LOGINDISABLED, not using LOGIN authentication"
msgstr "сервер је дојавио LOGINDISABLED, LOGIN пријавa неће бити коришћена"
-#: src/mn-imap-mailbox.gob:320
+#: src/mn-imap-mailbox.gob:375
msgid "unable to login"
msgstr "пријава није могућа"
#. compliance error
-#: src/mn-imap-mailbox.gob:451
+#: src/mn-imap-mailbox.gob:516
msgid "server did not send search results"
msgstr "сервер није послао резултате претраге"
#. compliance error
-#: src/mn-imap-mailbox.gob:527
+#: src/mn-imap-mailbox.gob:596
msgid "server did not send all the messages we requested"
msgstr "сервер није послао све тражене поруке"
-#: src/mn-imap-mailbox.gob:574
+#: src/mn-imap-mailbox.gob:645
msgid "unable to fetch message"
msgstr "није могуће добавити поруку"
#. compliance error
-#: src/mn-imap-mailbox.gob:621
+#: src/mn-imap-mailbox.gob:763
msgid "server did not send status"
msgstr "сервер није послао статус"
-#: src/mn-imap-mailbox.gob:856 src/mn-pop3-mailbox.gob:913
+#: src/mn-imap-mailbox.gob:1035 src/mn-pop3-mailbox.gob:922
msgid "unknown server error"
msgstr "непозната грешка на серверу"
-#: src/mn-imap-mailbox.gob:927 src/mn-pop3-mailbox.gob:226
+#: src/mn-imap-mailbox.gob:1106 src/mn-pop3-mailbox.gob:226
msgid "server does not support in-band SSL/TLS"
msgstr "сервер не подржава заштиту путем SSL/TLS"
-#: src/mn-imap-mailbox.gob:946 src/mn-pop3-mailbox.gob:832
+#: src/mn-imap-mailbox.gob:1125 src/mn-pop3-mailbox.gob:841
msgid ""
"a SASL authentication mechanism was selected but SASL support has not been "
"compiled in"
@@ -727,24 +771,28 @@ msgstr ""
"изабран је механизам за пријаву који користи SASL али подршка за SASL није "
"уграђена у програм"
-#: src/mn-imap-mailbox.gob:954 src/mn-pop3-mailbox.gob:844
+#: src/mn-imap-mailbox.gob:1133 src/mn-pop3-mailbox.gob:853
#, c-format
msgid "unknown authentication mechanism \"%s\""
msgstr "непознат механизам за пријаву \"%s\""
-#: src/mn-imap-mailbox.gob:972
+#: src/mn-imap-mailbox.gob:1151
msgid "falling back to IMAP LOGIN authentication"
msgstr "повратак на IMAP LOGIN пријаву"
-#: src/mn-imap-mailbox.gob:977 src/mn-pop3-mailbox.gob:879
+#: src/mn-imap-mailbox.gob:1156 src/mn-pop3-mailbox.gob:888
msgid "authentication failed"
msgstr "пријава није успела"
-#: src/mn-mail-icon.gob:84 ui/summary-dialog.glade.h:2
+#: src/mn-mail-icon.gob:92 ui/summary-dialog.glade.h:2
+msgid "_Launch Mail Reader"
+msgstr ""
+
+#: src/mn-mail-icon.gob:93 ui/summary-dialog.glade.h:3
msgid "_Update"
msgstr "_Освежи"
-#: src/mn-mail-icon.gob:90
+#: src/mn-mail-icon.gob:99
msgid "R_emove From Notification Area"
msgstr "_Уклони са обавештајне зоне"
@@ -801,7 +849,7 @@ msgstr "Готово"
msgid "Whether the properties are completely filled or not"
msgstr "Да ли су поставке сасвим попуњене или не"
-#: src/mn-mailbox-view.gob:263 src/mn-message-label.gob:74
+#: src/mn-mailbox-view.gob:263 src/mn-message-box.gob:58
msgid "Mailbox"
msgstr "Сандуче"
@@ -827,35 +875,36 @@ msgid "The mailbox human-readable name"
msgstr "Име сандучета"
#: src/mn-mailbox.gob:145
-msgid "Whether the mailbox has to be manually checked or not"
+#, fuzzy
+msgid "Whether the mailbox has to be polled or not"
msgstr "Да ли се ово сандуче ручно проверава или не"
-#: src/mn-mailbox.gob:150
+#: src/mn-mailbox.gob:151
msgid "Whether the mailbox has new mail or not"
msgstr "Да ли у сандучету стоји нова пошта или не"
-#: src/mn-mailbox.gob:155
+#: src/mn-mailbox.gob:156
msgid "The list of new and unread MNMessage objects"
msgstr "Списак нових и непрочитаних MNMessage објеката"
-#: src/mn-mailbox.gob:209
+#: src/mn-mailbox.gob:210
msgid "The mailbox error, if any"
msgstr "Грешка у приступу сандучету, ако постоји"
-#: src/mn-mailbox.gob:308
+#: src/mn-mailbox.gob:309
msgid "does not exist"
msgstr "не постоји"
-#: src/mn-mailbox.gob:340
+#: src/mn-mailbox.gob:341
msgid "unknown format"
msgstr "непознат формат"
-#: src/mn-mailbox.gob:406
+#: src/mn-mailbox.gob:407
#, c-format
msgid "unable to enable immediate notification for %s: %s"
msgstr "Није могуће наместити непосредну дојаву нове поште за %s: %s"
-#: src/mn-mailbox.gob:424
+#: src/mn-mailbox.gob:425
#, c-format
msgid ""
"As a fallback, they will be checked every %i second (this delay is "
@@ -873,7 +922,7 @@ msgstr[2] ""
"Пошто нема друге могућности, биће проверавани сваких %i секунди (ово кашњење "
"се може променити из прозора са поставкама)"
-#: src/mn-mailbox.gob:435
+#: src/mn-mailbox.gob:436
#, c-format
msgid ""
"As a fallback, they will be checked every %i minute (this delay is "
@@ -891,7 +940,7 @@ msgstr[2] ""
"Пошто нема друге могућности, биће проверавани сваких %i минута (ово кашњење "
"се може променити из прозора са поставкама)"
-#: src/mn-mailbox.gob:446
+#: src/mn-mailbox.gob:447
#, c-format
msgid ""
"As a fallback, they will be checked approximately every %i minute (this "
@@ -909,11 +958,11 @@ msgstr[2] ""
"Пошто нема друге могућности, биће проверавани на око %i минута (ово кашњење "
"се може променити из прозора са поставкама)"
-#: src/mn-mailbox.gob:462
+#: src/mn-mailbox.gob:463
msgid "A monitoring error has occurred"
msgstr "Дошло је до грешке при мотрењу"
-#: src/mn-mailbox.gob:463
+#: src/mn-mailbox.gob:464
#, c-format
msgid ""
"Mail Notification was unable to enable immediate notification for one or "
@@ -922,27 +971,27 @@ msgstr ""
"Није могуће наместити непосредну дојаву нове поште за један или више "
"сандучића. %s"
-#: src/mn-mailboxes.gob:143
+#: src/mn-mailboxes.gob:142
msgid "Whether one or more of the mailboxes has to be polled"
msgstr ""
"Показује да ли постоји бар једно сандуче које мора да се учестало проверава"
-#: src/mn-mailboxes.gob:276
+#: src/mn-mailboxes.gob:272
#, c-format
msgid "%s is unsupported: %s"
msgstr "%s није подржан: %s"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has new mail"
msgstr "Сандуче %s има нову пошту"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has no new mail"
msgstr "Сандуче %s нема нову пошту"
-#: src/mn-mailboxes.gob:333
+#: src/mn-mailboxes.gob:330
#, c-format
msgid "%s reported an error: %s"
msgstr "%s је дојавио грешку: %s"
@@ -1068,23 +1117,23 @@ msgstr "грешка при читању сандучета: %s"
msgid "unable to open mailbox: %s"
msgstr "није могуће отворити сандуче: %s"
-#: src/mn-message-label.gob:77
+#: src/mn-message-box.gob:61
msgid "Unreadable message"
msgstr "Нечитљива порука"
-#: src/mn-message-label.gob:97
+#: src/mn-message-box.gob:66
msgid "From"
msgstr "Од"
-#: src/mn-message-label.gob:98
+#: src/mn-message-box.gob:67
msgid "Subject"
msgstr "Тема"
-#: src/mn-message-label.gob:102
+#: src/mn-message-box.gob:72
msgid "Sent"
msgstr "Послато"
-#: src/mn-message-label.gob:151
+#: src/mn-message-box.gob:184
#, c-format
msgid "%i second ago"
msgid_plural "%i seconds ago"
@@ -1092,7 +1141,7 @@ msgstr[0] "пре %i секунду"
msgstr[1] "пре %i секунде"
msgstr[2] "пре %i секунди"
-#: src/mn-message-label.gob:155
+#: src/mn-message-box.gob:188
#, c-format
msgid "%i minute ago"
msgid_plural "%i minutes ago"
@@ -1100,7 +1149,7 @@ msgstr[0] "пре %i минут"
msgstr[1] "пре %i минута"
msgstr[2] "пре %i минута"
-#: src/mn-message-label.gob:160
+#: src/mn-message-box.gob:193
#, c-format
msgid "%i hour ago"
msgid_plural "%i hours ago"
@@ -1108,7 +1157,7 @@ msgstr[0] "пре %i сат"
msgstr[1] "пре %i сата"
msgstr[2] "пре %i сати"
-#: src/mn-message-label.gob:165
+#: src/mn-message-box.gob:198
#, c-format
msgid "%i day ago"
msgid_plural "%i days ago"
@@ -1116,7 +1165,7 @@ msgstr[0] "пре %i дан"
msgstr[1] "пре %i дана"
msgstr[2] "пре %i дана"
-#: src/mn-message-label.gob:170
+#: src/mn-message-box.gob:203
#, c-format
msgid "%i week ago"
msgid_plural "%i weeks ago"
@@ -1166,15 +1215,15 @@ msgstr "_уграђени SSL/TLS"
msgid "SSL/TLS on sepa_rate port"
msgstr "SSL/TLS на посебном порту"
-#: src/mn-pop3-mailbox-properties.gob:85
+#: src/mn-pop3-mailbox-properties.gob:86
msgid "The hostname or IP address of the POP3 server"
msgstr "Име или IP број POP3 сервера"
-#: src/mn-pop3-mailbox-properties.gob:86
+#: src/mn-pop3-mailbox-properties.gob:87
msgid "Your username on the POP3 server"
msgstr "Ваше име на POP3 серверу"
-#: src/mn-pop3-mailbox-properties.gob:87
+#: src/mn-pop3-mailbox-properties.gob:88
msgid ""
"Your password on the POP3 server (if left blank, you will be prompted for "
"the password when needed)"
@@ -1182,7 +1231,7 @@ msgstr ""
"Ваша лозинка на POP3 серверу (ако не упишете лозинку, програм ће Вас "
"замолити да је унесете када то буде потребно)"
-#: src/mn-pop3-mailbox-properties.gob:88 src/mn-pop3-mailbox-properties.gob:89
+#: src/mn-pop3-mailbox-properties.gob:89 src/mn-pop3-mailbox-properties.gob:90
msgid "The port number of the POP3 server"
msgstr "Број порта на POP3 серверу"
@@ -1190,11 +1239,11 @@ msgstr "Број порта на POP3 серверу"
msgid "invalid arguments for the LOGIN-DELAY capability"
msgstr "параметри за могућност LOGIN-DELAY нису исправно постављени"
-#: src/mn-pop3-mailbox.gob:549
+#: src/mn-pop3-mailbox.gob:556
msgid "unknown error"
msgstr "непозната грешка"
-#: src/mn-pop3-mailbox.gob:681
+#: src/mn-pop3-mailbox.gob:690
#, c-format
msgid "honouring LOGIN-DELAY, sleeping for %i second"
msgid_plural "honouring LOGIN-DELAY, sleeping for %i seconds"
@@ -1202,39 +1251,39 @@ msgstr[0] "тражен је застој при пријави, паузира
msgstr[1] "тражен је застој при пријави, паузирам %i секундe"
msgstr[2] "тражен је застој при пријави, паузирам %i секунди"
-#: src/mn-pop3-mailbox.gob:840
+#: src/mn-pop3-mailbox.gob:849
msgid "server does not support APOP authentication"
msgstr "сервер не подржава пријаву коришћењем механизма APOP"
-#: src/mn-pop3-mailbox.gob:868
+#: src/mn-pop3-mailbox.gob:877
msgid "falling back to APOP authentication"
msgstr "прелазим на APOP пријаву"
-#: src/mn-pop3-mailbox.gob:873
+#: src/mn-pop3-mailbox.gob:882
msgid "falling back to USER/PASS authentication"
msgstr "прелазим на пријаву помоћу имена и лозинке"
-#: src/mn-properties.c:170
+#: src/mn-properties.c:181
msgid "top left"
msgstr "горе-лево"
-#: src/mn-properties.c:171
+#: src/mn-properties.c:182
msgid "top right"
msgstr "горе-десно"
-#: src/mn-properties.c:172
+#: src/mn-properties.c:183
msgid "bottom left"
msgstr "доле-лево"
-#: src/mn-properties.c:173
+#: src/mn-properties.c:184
msgid "bottom right"
msgstr "доле-десно"
-#: src/mn-properties.c:251
+#: src/mn-properties.c:270
msgid "No mailbox selected."
msgstr "Ниједно сандуче није изабрано."
-#: src/mn-properties.c:256
+#: src/mn-properties.c:275
#, c-format
msgid "%i mailbox selected."
msgid_plural "%i mailboxes selected."
@@ -1242,43 +1291,26 @@ msgstr[0] "Изабрано %i сандуче"
msgstr[1] "Изабрана %i сандучета"
msgstr[2] "Изабрано %i сандучета"
-#: src/mn-shell.gob:86
+#: src/mn-shell.gob:92
msgid "You have new mail."
msgstr "Имате нову пошту."
-#: src/mn-shell.gob:263
-msgid "The following mailbox has new mail:\n"
-msgid_plural "The following mailboxes have new mail:\n"
-msgstr[0] "Сандуче са новом поштом:\n"
-msgstr[1] "Сандучићи са новом поштом:\n"
-msgstr[2] "Сандучићи са новом поштом:\n"
-
-#: src/mn-shell.gob:267
-msgid "You have no new mail."
-msgstr "Нема поште."
-
-#: src/mn-shell.gob:270
-msgid "The following mailbox reported an error:\n"
-msgid_plural "The following mailboxes reported an error:\n"
-msgstr[0] "Ово сандуче има грешку:\n"
-msgstr[1] "Ови сандучићи имају грешку:\n"
-msgstr[2] "Ови сандучићи имају грешку:\n"
-
-#: src/mn-shell.gob:275
-msgid "The following mailbox is unsupported:\n"
-msgid_plural "The following mailboxes are unsupported:\n"
-msgstr[0] "Ово сандуче није подржано:\n"
-msgstr[1] "Ови сандучићи нису подржани:\n"
-msgstr[2] "Ови сандучићи нису подржани:\n"
-
-#: src/mn-shell.gob:320
-msgid "A command error has occurred in Mail Notification"
-msgstr "Дошло је до грешке у командама"
+#: src/mn-shell.gob:347
+msgid "Mailboxes Having New Mail"
+msgstr ""
-#: src/mn-shell.gob:321
-#, c-format
-msgid "Unable to execute \"%s\": %s."
-msgstr "Није могуће извршити %s: %s"
+#: src/mn-shell.gob:349
+msgid "Errors"
+msgstr ""
+
+#: src/mn-shell.gob:351
+#, fuzzy
+msgid "Unsupported Mailboxes"
+msgstr "Локално сандуче"
+
+#: src/mn-shell.gob:364 ui/summary-dialog.glade.h:1
+msgid "Mail Summary"
+msgstr "Сажетак порука"
#: src/mn-soup.c:140
#, c-format
@@ -1377,11 +1409,20 @@ msgstr "Дошло је до кобне грешке у програму за д
msgid "unable to get current time: %s"
msgstr "није могуће добавити тренутно време: %s"
-#: src/mn-util.c:887
+#: src/mn-util.c:906
#, c-format
msgid "invalid signal specification \"%s\""
msgstr "неважећа одредница за сигнал „%s‟"
+#: src/mn-util.c:945
+msgid "A command error has occurred in Mail Notification"
+msgstr "Дошло је до грешке у командама"
+
+#: src/mn-util.c:946
+#, c-format
+msgid "Unable to execute \"%s\": %s."
+msgstr "Није могуће извршити %s: %s"
+
#: ui/authentication.glade.h:1 ui/properties.glade.h:2
msgid "*"
msgstr "*"
@@ -1403,58 +1444,72 @@ msgid "<span weight=\"bold\">Commands</span>"
msgstr "<span weight=\"bold\">Наредбе</span>"
#: ui/properties.glade.h:4
+#, fuzzy
+msgid "<span weight=\"bold\">Double-click Action</span>"
+msgstr "<span weight=\"bold\">Место</span>"
+
+#: ui/properties.glade.h:5
msgid "<span weight=\"bold\">General</span>"
msgstr "<span weight=\"bold\">Опште</span>"
-#: ui/properties.glade.h:5
+#: ui/properties.glade.h:6
msgid "<span weight=\"bold\">Mailbox List</span>"
msgstr "<span weight=\"bold\">Сандучићи</span>"
-#: ui/properties.glade.h:6
+#: ui/properties.glade.h:7
msgid "<span weight=\"bold\">Position</span>"
msgstr "<span weight=\"bold\">Место</span>"
-#: ui/properties.glade.h:7
+#: ui/properties.glade.h:8
msgid "General"
msgstr "Опште"
-#: ui/properties.glade.h:8
+#: ui/properties.glade.h:9
msgid "Hori_zontal offset:"
msgstr "Хори_зонтални помак:"
-#: ui/properties.glade.h:9
+#: ui/properties.glade.h:10
msgid "Mail Notification Properties"
msgstr "Поставке за дојаву"
-#: ui/properties.glade.h:10
+#: ui/properties.glade.h:11
msgid "Mail Summary Popup"
msgstr "Сажетак порука"
-#: ui/properties.glade.h:11
+#: ui/properties.glade.h:12
msgid "Mailboxes"
msgstr "Сандучићи"
-#: ui/properties.glade.h:12
+#: ui/properties.glade.h:13
+msgid "Only display _recent mail"
+msgstr ""
+
+#: ui/properties.glade.h:14
msgid "P_osition:"
msgstr "_Место:"
-#: ui/properties.glade.h:13
+#: ui/properties.glade.h:15
msgid "The amount of time to wait before closing the mail summary popup"
msgstr "Пауза пре затварања прозора са сажетком порука"
-#: ui/properties.glade.h:14
+#: ui/properties.glade.h:16
msgid "The amount of time to wait between mail checks"
msgstr "Пауза између две узастопне провере"
-#: ui/properties.glade.h:15
+#: ui/properties.glade.h:17
+#, fuzzy
+msgid "The command to run to launch the mail reader"
+msgstr "Наредба која се покреће када је сва пошта прочитана"
+
+#: ui/properties.glade.h:18
msgid "The command to run when all mail is read"
msgstr "Наредба која се покреће када је сва пошта прочитана"
-#: ui/properties.glade.h:16
+#: ui/properties.glade.h:19
msgid "The command to run when new mail arrives"
msgstr "Наредба која се покреће када стиже нова пошта"
-#: ui/properties.glade.h:17
+#: ui/properties.glade.h:20
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup"
@@ -1462,7 +1517,7 @@ msgstr ""
"Број тачака које треба оставити између леве, одн. десне стране екрана и "
"прозора са сажетком порука"
-#: ui/properties.glade.h:18
+#: ui/properties.glade.h:21
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup"
@@ -1470,82 +1525,102 @@ msgstr ""
"Број тачака које треба оставити између врха, одн. дна екрана и прозора са "
"сажетком порука"
-#: ui/properties.glade.h:19
+#: ui/properties.glade.h:22
msgid "When _all mail is read:"
msgstr "Када је с_ва пошта прочитана:"
-#: ui/properties.glade.h:20
+#: ui/properties.glade.h:23
msgid "When _new mail arrives:"
msgstr "Када _стигне нова пошта:"
-#: ui/properties.glade.h:21
+#: ui/properties.glade.h:24
msgid "Whether the status icon should blink on errors or not"
msgstr "Да ли статусна сличица трепери при грешкама или не"
-#: ui/properties.glade.h:22
+#: ui/properties.glade.h:25
msgid "Whether to automatically close the mail summary popup or not"
msgstr ""
"Да ли треба или не треба аутоматски затворити прозор са сажетком порука"
-#: ui/properties.glade.h:23
+#: ui/properties.glade.h:26
msgid "Whether to display the mail summary popup when new mail arrives or not"
msgstr ""
"Да ли треба или не треба приказивати сажетак порука када стигне нова пошта"
-#: ui/properties.glade.h:24
+#: ui/properties.glade.h:27
+#, fuzzy
+msgid "Whether to hide previously displayed mail or not"
+msgstr "Да ли у сандучету стоји нова пошта или не"
+
+#: ui/properties.glade.h:28
msgid "Whether to run a command when all mail is read or not"
msgstr "Да ли се покреће или не покреће команда када је сва пошта прочитана"
-#: ui/properties.glade.h:25
+#: ui/properties.glade.h:29
msgid "Whether to run a command when new mail arrives or not"
msgstr "Да ли се покреће команда када стигне пошта или не"
-#: ui/properties.glade.h:26
+#: ui/properties.glade.h:30
+#, fuzzy
+msgid "Whether to set a mail reader or not"
+msgstr "Да ли се покреће или не покреће команда када је сва пошта прочитана"
+
+#: ui/properties.glade.h:31
msgid ""
"Whether to start Mail Notification when you log into your GNOME session or "
"not"
msgstr "Да ли покренути дојаву поште када се пријавите на систем"
-#: ui/properties.glade.h:27
+#: ui/properties.glade.h:32
msgid "_Automatically close after:"
msgstr "_Аутоматски затвори после:"
-#: ui/properties.glade.h:28
+#: ui/properties.glade.h:33
msgid "_Blink on errors"
msgstr "_Трепери при грешкама"
-#: ui/properties.glade.h:29
+#: ui/properties.glade.h:34
msgid "_Delay between mail checks:"
msgstr "_Пауза између провера:"
-#: ui/properties.glade.h:30
+#: ui/properties.glade.h:35
+#, fuzzy
+msgid "_Display the mail summary dialog"
+msgstr "Прикажи прозор са сажетком порука"
+
+#: ui/properties.glade.h:36
msgid "_Enable mail summary popup"
msgstr "Дозволи приказ сажетка порука"
-#: ui/properties.glade.h:31
+#: ui/properties.glade.h:37
+msgid "_Launch the mail reader"
+msgstr ""
+
+#: ui/properties.glade.h:38
+#, fuzzy
+msgid "_Mail reader:"
+msgstr "_Сажетак порука"
+
+#: ui/properties.glade.h:39
msgid "_Start Mail Notification on GNOME login"
msgstr "Покрени _дојаву при пријави"
-#: ui/properties.glade.h:32
+#: ui/properties.glade.h:40
msgid "_Vertical offset:"
msgstr "_Вертикални помак:"
-#: ui/properties.glade.h:33
+#: ui/properties.glade.h:41
msgid "minutes"
msgstr "минута"
-#: ui/properties.glade.h:34
+#: ui/properties.glade.h:42
msgid "pixels"
msgstr "тачака"
-#: ui/properties.glade.h:35
+#: ui/properties.glade.h:43
msgid "seconds"
msgstr "секунди"
-#: ui/summary-dialog.glade.h:1
-msgid "Mail Summary"
-msgstr "Сажетак порука"
-
#: ui/summary-popup.glade.h:1
msgid "<span size=\"larger\" weight=\"bold\">Mail Summary</span>"
msgstr "<span weight=\"bold\">Сажетак порука</span>"
@@ -1586,8 +1661,26 @@ msgstr "_Подеси дојаву поште"
msgid "_Skip configuration"
msgstr "П_рескочи подешавања"
-#~ msgid "Double-clicked command"
-#~ msgstr "Изврши на двоструки клик"
+#~ msgid "The following mailbox has new mail:\n"
+#~ msgid_plural "The following mailboxes have new mail:\n"
+#~ msgstr[0] "Сандуче са новом поштом:\n"
+#~ msgstr[1] "Сандучићи са новом поштом:\n"
+#~ msgstr[2] "Сандучићи са новом поштом:\n"
+
+#~ msgid "You have no new mail."
+#~ msgstr "Нема поште."
+
+#~ msgid "The following mailbox reported an error:\n"
+#~ msgid_plural "The following mailboxes reported an error:\n"
+#~ msgstr[0] "Ово сандуче има грешку:\n"
+#~ msgstr[1] "Ови сандучићи имају грешку:\n"
+#~ msgstr[2] "Ови сандучићи имају грешку:\n"
+
+#~ msgid "The following mailbox is unsupported:\n"
+#~ msgid_plural "The following mailboxes are unsupported:\n"
+#~ msgstr[0] "Ово сандуче није подржано:\n"
+#~ msgstr[1] "Ови сандучићи нису подржани:\n"
+#~ msgstr[2] "Ови сандучићи нису подржани:\n"
#~ msgid "Run a command when the icon is double-clicked"
#~ msgstr "Изврши команду при двоструком клику на икону"
diff --git a/po/sr@Latn.gmo b/po/sr@Latn.gmo
Binary files differ.
diff --git a/po/sr@Latn.po b/po/sr@Latn.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mail-notification 0.7.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2004-10-25 15:26+0200\n"
+"POT-Creation-Date: 2004-10-31 18:42+0100\n"
"PO-Revision-Date: 2004-10-18 20:04+0100\n"
"Last-Translator: Filip Miletić <filmil@gmail.com>\n"
"Language-Team: Serbian (sr) <gnu@prevod.org>\n"
@@ -35,7 +35,7 @@ msgstr "Podesi dojavu prispeća pošte"
#: data/mail-notification-properties.desktop.in.h:2
#: data/mail-notification.desktop.in.h:2
#: data/mail-notification.soundlist.in.h:1 src/mn-about-dialog.gob:40
-#: src/mn-mail-icon.gob:163 src/mn-main.c:271
+#: src/mn-mail-icon.gob:194 src/mn-main.c:271
msgid "Mail Notification"
msgstr "Dojava pošte"
@@ -64,119 +64,150 @@ msgid "Do not show the immediate notification error dialog"
msgstr "Ne pokazuj prozor sa obaveštenjem o greškama"
#: data/mail-notification.schemas.in.h:6
+#, fuzzy
+msgid "Double-click action"
+msgstr "Izvrši na dvostruki klik"
+
+#: data/mail-notification.schemas.in.h:7
msgid "Enable mail summary popup"
msgstr "Dozvoli prikaz sažetka poruka"
-#: data/mail-notification.schemas.in.h:7
+#: data/mail-notification.schemas.in.h:8
msgid "Fingerprints of trusted X509 certificates"
msgstr "Otisci proverenih X509 sertifikata"
-#: data/mail-notification.schemas.in.h:8
+#: data/mail-notification.schemas.in.h:9
msgid "Has already been run"
msgstr "Već je pokrenut"
-#: data/mail-notification.schemas.in.h:9
+#: data/mail-notification.schemas.in.h:10
msgid "Height of mail summary dialog"
msgstr "Visina prozora sa sažetkom poruka"
-#: data/mail-notification.schemas.in.h:10
+#: data/mail-notification.schemas.in.h:11
msgid "Height of properties dialog"
msgstr "Visina prozora sa postavkama"
-#: data/mail-notification.schemas.in.h:11
+#: data/mail-notification.schemas.in.h:12
msgid "Mail read command"
msgstr "Komanda za čitanje pošte"
-#: data/mail-notification.schemas.in.h:12
+#: data/mail-notification.schemas.in.h:13
+#, fuzzy
+msgid "Mail reader command"
+msgstr "Komanda za čitanje pošte"
+
+#: data/mail-notification.schemas.in.h:14
msgid "Mail summary popup horizontal offset"
msgstr "Pomeraj horizontalnih tačaka za prozor sa sažetkom poruka"
-#: data/mail-notification.schemas.in.h:13
+#: data/mail-notification.schemas.in.h:15
msgid "Mail summary popup position"
msgstr "Broj horizontalnih tačaka za prozor sa sažetkom poruka"
-#: data/mail-notification.schemas.in.h:14
+#: data/mail-notification.schemas.in.h:16
msgid "Mail summary popup vertical offset"
msgstr "Pomeraj vertikalnih tačaka ѕa prozor sa sažetkom poruka"
-#: data/mail-notification.schemas.in.h:15
+#: data/mail-notification.schemas.in.h:17
msgid "Mailbox list"
msgstr "Spisak sandučića"
-#: data/mail-notification.schemas.in.h:16
+#: data/mail-notification.schemas.in.h:18
msgid "Minutes between mail checks"
msgstr "Minuta između dve provere"
-#: data/mail-notification.schemas.in.h:17
+#: data/mail-notification.schemas.in.h:19
msgid "Minutes to wait before closing the mail summary popup"
msgstr ""
"Broj minuta koji treba da protekne pre zatvaranja prozora sa sažetkom poruka"
-#: data/mail-notification.schemas.in.h:18
+#: data/mail-notification.schemas.in.h:20
msgid "New mail command"
msgstr "Izvrši kada pošta stigne"
-#: data/mail-notification.schemas.in.h:19
+#: data/mail-notification.schemas.in.h:21
+#, fuzzy
+msgid "Only display recent mail in mail summary popup"
+msgstr "Zatvori prozor sa sažetkom poruka"
+
+#: data/mail-notification.schemas.in.h:22
msgid "Run a command when all mail is read"
msgstr "Pokreni komandu kada je sva pošta pročitana"
-#: data/mail-notification.schemas.in.h:20
+#: data/mail-notification.schemas.in.h:23
msgid "Run a command when new mail arrives"
msgstr "Pokreni komandu kada stigne nova pošta"
-#: data/mail-notification.schemas.in.h:21
+#: data/mail-notification.schemas.in.h:24
msgid "Seconds between mail checks"
msgstr "Sekundi između dve provere"
-#: data/mail-notification.schemas.in.h:22
+#: data/mail-notification.schemas.in.h:25
msgid "Seconds to wait before closing the mail summary popup"
msgstr "Broj sekundi koji treba da protekne pre zatvaranja sažetka poruka"
-#: data/mail-notification.schemas.in.h:23
+#: data/mail-notification.schemas.in.h:26
+#, fuzzy
+msgid "Set a mail reader"
+msgstr "Izaberite datoteku ili direktorijum"
+
+#: data/mail-notification.schemas.in.h:27
+msgid ""
+"The action to perform when the icon is double-clicked. Must be \"display-"
+"mail-summary\" or \"launch-mail-reader\"."
+msgstr ""
+
+#: data/mail-notification.schemas.in.h:28
msgid ""
"The amount of time to wait before closing the mail summary popup (minutes "
"part)."
msgstr "Pauza pre zatvaranja prozora sa sažetkom poruka (minuti)."
-#: data/mail-notification.schemas.in.h:24
+#: data/mail-notification.schemas.in.h:29
msgid ""
"The amount of time to wait before closing the mail summary popup (seconds "
"part)."
msgstr "Pauza pre zatvaranja prozora sa sažetkom poruka (sekunde)."
-#: data/mail-notification.schemas.in.h:25
+#: data/mail-notification.schemas.in.h:30
+#, fuzzy
+msgid "The command to run to launch the mail reader."
+msgstr "Komanda koju treba pokrenuti kada je sva pošta pročitana."
+
+#: data/mail-notification.schemas.in.h:31
msgid "The command to run when all mail is read."
msgstr "Komanda koju treba pokrenuti kada je sva pošta pročitana."
-#: data/mail-notification.schemas.in.h:26
+#: data/mail-notification.schemas.in.h:32
msgid "The command to run when new mail arrives."
msgstr "Pokreni ovu komandu kada stigne nova pošta."
-#: data/mail-notification.schemas.in.h:27
+#: data/mail-notification.schemas.in.h:33
msgid "The height of the mail summary dialog in pixels."
msgstr "Visina prozora sa sažetkom poruka izražena u tačkama."
-#: data/mail-notification.schemas.in.h:28
+#: data/mail-notification.schemas.in.h:34
msgid "The height of the properties dialog in pixels."
msgstr "Visina prozora sa postavkama izražena u tačkama."
-#: data/mail-notification.schemas.in.h:29
+#: data/mail-notification.schemas.in.h:35
msgid "The list of mailboxes to monitor."
msgstr "Spisak sandučića koji se prate."
-#: data/mail-notification.schemas.in.h:30
+#: data/mail-notification.schemas.in.h:36
msgid ""
"The list of trusted SSL/TLS servers (hostname:port) lacking a X509 "
"certificate."
msgstr ""
"Spisak proverenih SSL/TLS servera (računar:port) koji nemaju X509 sertifikat."
-#: data/mail-notification.schemas.in.h:31
+#: data/mail-notification.schemas.in.h:37
msgid ""
"The list of trusted X509 certificates, represented by their MD5 fingerprint."
msgstr "Spisak proverenih X509 sertifikata, predstavljenih MD5 otiskom."
-#: data/mail-notification.schemas.in.h:32
+#: data/mail-notification.schemas.in.h:38
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup."
@@ -184,7 +215,7 @@ msgstr ""
"Broj tačaka koje treba ostaviti između leve, odn. desne strane ekrana i "
"prozora sa sažetkom poruka."
-#: data/mail-notification.schemas.in.h:33
+#: data/mail-notification.schemas.in.h:39
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup."
@@ -192,7 +223,7 @@ msgstr ""
"Broj tačaka koje treba ostaviti između vrha, odn. dna ekrana i prozora sa "
"sažetkom poruka."
-#: data/mail-notification.schemas.in.h:34
+#: data/mail-notification.schemas.in.h:40
msgid ""
"The position of the mail summary popup. Must be \"top-left\", \"top-right\", "
"\"bottom-left\" or \"bottom-right\"."
@@ -200,55 +231,68 @@ msgstr ""
"Položaj prozora sa sažetkom poruka. Može biti: „gore-levo‟, „gore-desno‟, "
"„dole-levo‟ ili „dole-desno‟."
-#: data/mail-notification.schemas.in.h:35
+#: data/mail-notification.schemas.in.h:41
msgid "The width of the mail summary dialog in pixels."
msgstr "Širina prozora sa sažetkom poruka izražena u tačkama."
-#: data/mail-notification.schemas.in.h:36
+#: data/mail-notification.schemas.in.h:42
msgid "The width of the properties dialog in pixels."
msgstr "Širina prozora sa postavkama izražena u tačkama."
-#: data/mail-notification.schemas.in.h:37
+#: data/mail-notification.schemas.in.h:43
msgid "Trusted servers list"
msgstr "Spisak proverenih servera"
-#: data/mail-notification.schemas.in.h:38
+#: data/mail-notification.schemas.in.h:44
msgid "Whether Mail Notification has already been run or not."
msgstr "Da li je program pokretan pre ili nije."
-#: data/mail-notification.schemas.in.h:39
+#: data/mail-notification.schemas.in.h:45
msgid "Whether the status icon should blink on errors or not."
msgstr "Da li sličica treba da treperi ako dođe do greške ili ne."
-#: data/mail-notification.schemas.in.h:40
+#: data/mail-notification.schemas.in.h:46
msgid "Whether to automatically close the mail summary popup or not."
msgstr ""
"Da li treba ili ne treba automatski zatvoriti prozor sa sažetkom pošte."
-#: data/mail-notification.schemas.in.h:41
+#: data/mail-notification.schemas.in.h:47
msgid "Whether to display the mail summary popup when new mail arrives or not."
msgstr "Da li treba prikazati sažetak poruka kada stigne nova pošta."
-#: data/mail-notification.schemas.in.h:42
+#: data/mail-notification.schemas.in.h:48
+#, fuzzy
+msgid ""
+"Whether to hide previously displayed mail in the mail summary popup or not."
+msgstr ""
+"Da li treba ili ne treba automatski zatvoriti prozor sa sažetkom pošte."
+
+#: data/mail-notification.schemas.in.h:49
msgid ""
"Whether to prevent the immediate notification error dialog from being "
"displayed or not."
msgstr "Da li treba ili ne treba sprečiti pojavu prozora sa opisom grešaka."
-#: data/mail-notification.schemas.in.h:43
+#: data/mail-notification.schemas.in.h:50
msgid "Whether to run a command when all mail is read or not."
msgstr ""
"Da li treba ili ne treba pokrenuti neku komandu kada je sva pošta pročitana."
-#: data/mail-notification.schemas.in.h:44
+#: data/mail-notification.schemas.in.h:51
msgid "Whether to run a command when new mail arrives or not."
msgstr "Da li treba pokrenuti neku komandu kada stigne nova pošta."
-#: data/mail-notification.schemas.in.h:45
+#: data/mail-notification.schemas.in.h:52
+#, fuzzy
+msgid "Whether to set a mail reader or not."
+msgstr ""
+"Da li treba ili ne treba pokrenuti neku komandu kada je sva pošta pročitana."
+
+#: data/mail-notification.schemas.in.h:53
msgid "Width of mail summary dialog"
msgstr "Širina prozora sa sažetkom poruka"
-#: data/mail-notification.schemas.in.h:46
+#: data/mail-notification.schemas.in.h:54
msgid "Width of properties dialog"
msgstr "Širina prozora sa postavkama"
@@ -446,129 +490,129 @@ msgstr "odgovor \"%s\" nije ispravan u trenutno važećem kontekstu"
msgid "unable to parse response \"%s\""
msgstr "nije moguće obraditi odgovor \"%s\""
-#: src/mn-client-session.c:592 src/mn-client-session.c:599
+#: src/mn-client-session.c:601 src/mn-client-session.c:608
#, c-format
msgid "unable to read from server: %s"
msgstr "Nije moguće čitanje sa servera: %s"
-#: src/mn-client-session.c:597
+#: src/mn-client-session.c:606
msgid "unable to read from server: EOF"
msgstr "Nije moguće čitanje sa servera: EOF"
-#: src/mn-client-session.c:609
+#: src/mn-client-session.c:618
#, c-format
msgid "unable to decode data using SASL: %s"
msgstr "Ne mogu se dekodovati podaci putem SASL: %s"
-#: src/mn-client-session.c:746
+#: src/mn-client-session.c:755
#, c-format
msgid "unable to encode data using SASL: %s"
msgstr "nije moguće kodirati podatke uz pomoć SASL: %s"
-#: src/mn-client-session.c:777 src/mn-client-session.c:784
+#: src/mn-client-session.c:786 src/mn-client-session.c:793
#, c-format
msgid "unable to write to server: %s"
msgstr "nije moguć upis na server: %s"
-#: src/mn-client-session.c:782
+#: src/mn-client-session.c:791
msgid "unable to write to server: EOF"
msgstr "nije moguć upis na server: EOF"
-#: src/mn-client-session.c:814
+#: src/mn-client-session.c:823
#, c-format
msgid "unable to encode Base64: %s"
msgstr "nije moguće kodirati Base64: %s"
-#: src/mn-client-session.c:917
+#: src/mn-client-session.c:927
#, c-format
msgid "unable to initialize the SASL library: %s"
msgstr "ne može se pokrenuti SASL biblioteka: %s"
-#: src/mn-client-session.c:926
+#: src/mn-client-session.c:936
#, c-format
msgid "unable to retrieve local address of socket: %s"
msgstr "ne može da se dobavi lokalna adresa utičnice: %s"
-#: src/mn-client-session.c:932
+#: src/mn-client-session.c:942
#, c-format
msgid "unable to retrieve remote address of socket: %s"
msgstr "ne može da se dobavi udaljena adresa utičnice: %s"
-#: src/mn-client-session.c:966
+#: src/mn-client-session.c:976
#, c-format
msgid "warning: unable to set SASL security properties: %s"
msgstr "upozorenje: nije moguće postaviti SASL sigurnosne postavke %s"
-#: src/mn-client-session.c:1005
+#: src/mn-client-session.c:1015
msgid ""
"unable to start SASL authentication: SASL asked for something we did not know"
msgstr "ne može se pokrenuti SASL prijava: SASL traži podatke koje nemamo"
-#: src/mn-client-session.c:1009
+#: src/mn-client-session.c:1019
#, c-format
msgid "unable to start SASL authentication: %s"
msgstr "ne može se pokrenuti SASL prijava: %s"
-#: src/mn-client-session.c:1013
+#: src/mn-client-session.c:1023
#, c-format
msgid "unable to create a SASL connection: %s"
msgstr "nije moguće uspostaviti SASL vezu: %s"
-#: src/mn-client-session.c:1063
+#: src/mn-client-session.c:1073
msgid "SASL asked for something we did not know, aborting SASL authentication"
msgstr "SASL je tražio nama nepoznate podatke, obustavljam SASL prijavu"
-#: src/mn-client-session.c:1067
+#: src/mn-client-session.c:1077
#, c-format
msgid "%s, aborting SASL authentication"
msgstr "%s, obustavljam SASL prijavu"
#. compliance error
-#: src/mn-client-session.c:1072
+#: src/mn-client-session.c:1082
#, c-format
msgid "unable to decode Base64 input from server: %s"
msgstr "nije moguće dekodovati Base64 ulaz sa servera: %s"
-#: src/mn-client-session.c:1075
+#: src/mn-client-session.c:1085
msgid ""
"the server sent a SASL challenge, but there was a pending initial SASL "
"client response"
msgstr ""
"server je započeo SASL razgovor, ali odgovor od klijenta stigao pre toga"
-#: src/mn-client-session.c:1089
+#: src/mn-client-session.c:1099
msgid ""
"the server did not send a SASL challenge, but there was no pending initial "
"SASL client response"
msgstr ""
"server nije poslao SASL razgovor, ali nije bilo ni odgovora od klijenta."
-#: src/mn-client-session.c:1112
+#: src/mn-client-session.c:1122
#, c-format
msgid "a SASL security layer of strength factor %i is now active"
msgstr "SASL sigurnosni sloj nivoa snage %i je uspostavljen"
#. a security layer is active but we can't retrieve maxoutbuf -> fatal
-#: src/mn-client-session.c:1117
+#: src/mn-client-session.c:1127
#, c-format
msgid "unable to get SASL_MAXOUTBUF property: %s"
msgstr "ne mogu da pročitam postavku SASL_MAXOUTBUF: %s"
-#: src/mn-client-session.c:1123
+#: src/mn-client-session.c:1133
#, c-format
msgid "warning: unable to get SASL_SSF property: %s"
msgstr "upozorenje: ne mogu da pročitam postavku SASL_SSF: %s"
-#: src/mn-conf.c:123
+#: src/mn-conf.c:136
#, c-format
msgid "recursively unsetting %s"
msgstr "rekurzivno poništavam %s"
-#: src/mn-conf.c:127
+#: src/mn-conf.c:140
msgid "syncing the GConf database"
msgstr "usklađujem GConf bazu podataka"
-#: src/mn-conf.c:130
+#: src/mn-conf.c:143
msgid "completed"
msgstr "urađeno"
@@ -584,33 +628,33 @@ msgstr ""
"Vaša lozinka na servisu Gmail (ako ne upišete lozinku, program će Vas "
"zamoliti da je unesete kada to bude potrebno)"
-#: src/mn-gmail-mailbox.gob:63
+#: src/mn-gmail-mailbox.gob:81
msgid "libsoup has not been compiled with SSL/TLS support"
msgstr "libsoup nije izgrađen sa podrškom za SSL/TLS"
-#: src/mn-gmail-mailbox.gob:105
+#: src/mn-gmail-mailbox.gob:123
#, c-format
msgid "unable to parse URI \"%s\""
msgstr "nije moguće obraditi URI \"%s\""
-#: src/mn-gmail-mailbox.gob:159
+#: src/mn-gmail-mailbox.gob:177
#, c-format
msgid "unable to transfer data: %s"
msgstr "ne mogu da preuzmem podatke: %s"
-#: src/mn-gmail-mailbox.gob:280
+#: src/mn-gmail-mailbox.gob:298
msgid "logging in"
msgstr "prijava u toku"
-#: src/mn-gmail-mailbox.gob:358
+#: src/mn-gmail-mailbox.gob:376
msgid "login failed"
msgstr "prijava nije uspela"
-#: src/mn-gmail-mailbox.gob:433
+#: src/mn-gmail-mailbox.gob:451
msgid "searching for unread mail"
msgstr "tražim novu poštu"
-#: src/mn-gmail-mailbox.gob:529
+#: src/mn-gmail-mailbox.gob:490
msgid "unable to parse Gmail data"
msgstr "ne mogu da obradim podatke sa servisa Gmail"
@@ -676,50 +720,50 @@ msgstr "Broj porta na IMAP serveru"
msgid "The mailbox name"
msgstr "Ime sandučeta"
-#: src/mn-imap-mailbox.gob:133 src/mn-pop3-mailbox.gob:142
+#: src/mn-imap-mailbox.gob:164 src/mn-pop3-mailbox.gob:142
msgid "SSL/TLS support has not been compiled in"
msgstr "Podrška za SSL/TLS nije ugrađena"
-#: src/mn-imap-mailbox.gob:204
+#: src/mn-imap-mailbox.gob:253
msgid "server did not send capabilities"
msgstr "server nije obavestio o svojim mogućnostima"
-#: src/mn-imap-mailbox.gob:319
+#: src/mn-imap-mailbox.gob:374
msgid "server advertised LOGINDISABLED, not using LOGIN authentication"
msgstr "server je dojavio LOGINDISABLED, LOGIN prijava neće biti korišćena"
-#: src/mn-imap-mailbox.gob:320
+#: src/mn-imap-mailbox.gob:375
msgid "unable to login"
msgstr "prijava nije moguća"
#. compliance error
-#: src/mn-imap-mailbox.gob:451
+#: src/mn-imap-mailbox.gob:516
msgid "server did not send search results"
msgstr "server nije poslao rezultate pretrage"
#. compliance error
-#: src/mn-imap-mailbox.gob:527
+#: src/mn-imap-mailbox.gob:596
msgid "server did not send all the messages we requested"
msgstr "server nije poslao sve tražene poruke"
-#: src/mn-imap-mailbox.gob:574
+#: src/mn-imap-mailbox.gob:645
msgid "unable to fetch message"
msgstr "nije moguće dobaviti poruku"
#. compliance error
-#: src/mn-imap-mailbox.gob:621
+#: src/mn-imap-mailbox.gob:763
msgid "server did not send status"
msgstr "server nije poslao status"
-#: src/mn-imap-mailbox.gob:856 src/mn-pop3-mailbox.gob:913
+#: src/mn-imap-mailbox.gob:1035 src/mn-pop3-mailbox.gob:922
msgid "unknown server error"
msgstr "nepoznata greška na serveru"
-#: src/mn-imap-mailbox.gob:927 src/mn-pop3-mailbox.gob:226
+#: src/mn-imap-mailbox.gob:1106 src/mn-pop3-mailbox.gob:226
msgid "server does not support in-band SSL/TLS"
msgstr "server ne podržava zaštitu putem SSL/TLS"
-#: src/mn-imap-mailbox.gob:946 src/mn-pop3-mailbox.gob:832
+#: src/mn-imap-mailbox.gob:1125 src/mn-pop3-mailbox.gob:841
msgid ""
"a SASL authentication mechanism was selected but SASL support has not been "
"compiled in"
@@ -727,24 +771,28 @@ msgstr ""
"izabran je mehanizam za prijavu koji koristi SASL ali podrška za SASL nije "
"ugrađena u program"
-#: src/mn-imap-mailbox.gob:954 src/mn-pop3-mailbox.gob:844
+#: src/mn-imap-mailbox.gob:1133 src/mn-pop3-mailbox.gob:853
#, c-format
msgid "unknown authentication mechanism \"%s\""
msgstr "nepoznat mehanizam za prijavu \"%s\""
-#: src/mn-imap-mailbox.gob:972
+#: src/mn-imap-mailbox.gob:1151
msgid "falling back to IMAP LOGIN authentication"
msgstr "povratak na IMAP LOGIN prijavu"
-#: src/mn-imap-mailbox.gob:977 src/mn-pop3-mailbox.gob:879
+#: src/mn-imap-mailbox.gob:1156 src/mn-pop3-mailbox.gob:888
msgid "authentication failed"
msgstr "prijava nije uspela"
-#: src/mn-mail-icon.gob:84 ui/summary-dialog.glade.h:2
+#: src/mn-mail-icon.gob:92 ui/summary-dialog.glade.h:2
+msgid "_Launch Mail Reader"
+msgstr ""
+
+#: src/mn-mail-icon.gob:93 ui/summary-dialog.glade.h:3
msgid "_Update"
msgstr "_Osveži"
-#: src/mn-mail-icon.gob:90
+#: src/mn-mail-icon.gob:99
msgid "R_emove From Notification Area"
msgstr "_Ukloni sa obaveštajne zone"
@@ -801,7 +849,7 @@ msgstr "Gotovo"
msgid "Whether the properties are completely filled or not"
msgstr "Da li su postavke sasvim popunjene ili ne"
-#: src/mn-mailbox-view.gob:263 src/mn-message-label.gob:74
+#: src/mn-mailbox-view.gob:263 src/mn-message-box.gob:58
msgid "Mailbox"
msgstr "Sanduče"
@@ -827,35 +875,36 @@ msgid "The mailbox human-readable name"
msgstr "Ime sandučeta"
#: src/mn-mailbox.gob:145
-msgid "Whether the mailbox has to be manually checked or not"
+#, fuzzy
+msgid "Whether the mailbox has to be polled or not"
msgstr "Da li se ovo sanduče ručno proverava ili ne"
-#: src/mn-mailbox.gob:150
+#: src/mn-mailbox.gob:151
msgid "Whether the mailbox has new mail or not"
msgstr "Da li u sandučetu stoji nova pošta ili ne"
-#: src/mn-mailbox.gob:155
+#: src/mn-mailbox.gob:156
msgid "The list of new and unread MNMessage objects"
msgstr "Spisak novih i nepročitanih MNMessage objekata"
-#: src/mn-mailbox.gob:209
+#: src/mn-mailbox.gob:210
msgid "The mailbox error, if any"
msgstr "Greška u pristupu sandučetu, ako postoji"
-#: src/mn-mailbox.gob:308
+#: src/mn-mailbox.gob:309
msgid "does not exist"
msgstr "ne postoji"
-#: src/mn-mailbox.gob:340
+#: src/mn-mailbox.gob:341
msgid "unknown format"
msgstr "nepoznat format"
-#: src/mn-mailbox.gob:406
+#: src/mn-mailbox.gob:407
#, c-format
msgid "unable to enable immediate notification for %s: %s"
msgstr "Nije moguće namestiti neposrednu dojavu nove pošte za %s: %s"
-#: src/mn-mailbox.gob:424
+#: src/mn-mailbox.gob:425
#, c-format
msgid ""
"As a fallback, they will be checked every %i second (this delay is "
@@ -873,7 +922,7 @@ msgstr[2] ""
"Pošto nema druge mogućnosti, biće proveravani svakih %i sekundi (ovo "
"kašnjenje se može promeniti iz prozora sa postavkama)"
-#: src/mn-mailbox.gob:435
+#: src/mn-mailbox.gob:436
#, c-format
msgid ""
"As a fallback, they will be checked every %i minute (this delay is "
@@ -891,7 +940,7 @@ msgstr[2] ""
"Pošto nema druge mogućnosti, biće proveravani svakih %i minuta (ovo "
"kašnjenje se može promeniti iz prozora sa postavkama)"
-#: src/mn-mailbox.gob:446
+#: src/mn-mailbox.gob:447
#, c-format
msgid ""
"As a fallback, they will be checked approximately every %i minute (this "
@@ -909,11 +958,11 @@ msgstr[2] ""
"Pošto nema druge mogućnosti, biće proveravani na oko %i minuta (ovo "
"kašnjenje se može promeniti iz prozora sa postavkama)"
-#: src/mn-mailbox.gob:462
+#: src/mn-mailbox.gob:463
msgid "A monitoring error has occurred"
msgstr "Došlo je do greške pri motrenju"
-#: src/mn-mailbox.gob:463
+#: src/mn-mailbox.gob:464
#, c-format
msgid ""
"Mail Notification was unable to enable immediate notification for one or "
@@ -922,27 +971,27 @@ msgstr ""
"Nije moguće namestiti neposrednu dojavu nove pošte za jedan ili više "
"sandučića. %s"
-#: src/mn-mailboxes.gob:143
+#: src/mn-mailboxes.gob:142
msgid "Whether one or more of the mailboxes has to be polled"
msgstr ""
"Pokazuje da li postoji bar jedno sanduče koje mora da se učestalo proverava"
-#: src/mn-mailboxes.gob:276
+#: src/mn-mailboxes.gob:272
#, c-format
msgid "%s is unsupported: %s"
msgstr "%s nije podržan: %s"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has new mail"
msgstr "Sanduče %s ima novu poštu"
-#: src/mn-mailboxes.gob:307
+#: src/mn-mailboxes.gob:304
#, c-format
msgid "%s has no new mail"
msgstr "Sanduče %s nema novu poštu"
-#: src/mn-mailboxes.gob:333
+#: src/mn-mailboxes.gob:330
#, c-format
msgid "%s reported an error: %s"
msgstr "%s je dojavio grešku: %s"
@@ -1068,23 +1117,23 @@ msgstr "greška pri čitanju sandučeta: %s"
msgid "unable to open mailbox: %s"
msgstr "nije moguće otvoriti sanduče: %s"
-#: src/mn-message-label.gob:77
+#: src/mn-message-box.gob:61
msgid "Unreadable message"
msgstr "Nečitljiva poruka"
-#: src/mn-message-label.gob:97
+#: src/mn-message-box.gob:66
msgid "From"
msgstr "Od"
-#: src/mn-message-label.gob:98
+#: src/mn-message-box.gob:67
msgid "Subject"
msgstr "Tema"
-#: src/mn-message-label.gob:102
+#: src/mn-message-box.gob:72
msgid "Sent"
msgstr "Poslato"
-#: src/mn-message-label.gob:151
+#: src/mn-message-box.gob:184
#, c-format
msgid "%i second ago"
msgid_plural "%i seconds ago"
@@ -1092,7 +1141,7 @@ msgstr[0] "pre %i sekundu"
msgstr[1] "pre %i sekunde"
msgstr[2] "pre %i sekundi"
-#: src/mn-message-label.gob:155
+#: src/mn-message-box.gob:188
#, c-format
msgid "%i minute ago"
msgid_plural "%i minutes ago"
@@ -1100,7 +1149,7 @@ msgstr[0] "pre %i minut"
msgstr[1] "pre %i minuta"
msgstr[2] "pre %i minuta"
-#: src/mn-message-label.gob:160
+#: src/mn-message-box.gob:193
#, c-format
msgid "%i hour ago"
msgid_plural "%i hours ago"
@@ -1108,7 +1157,7 @@ msgstr[0] "pre %i sat"
msgstr[1] "pre %i sata"
msgstr[2] "pre %i sati"
-#: src/mn-message-label.gob:165
+#: src/mn-message-box.gob:198
#, c-format
msgid "%i day ago"
msgid_plural "%i days ago"
@@ -1116,7 +1165,7 @@ msgstr[0] "pre %i dan"
msgstr[1] "pre %i dana"
msgstr[2] "pre %i dana"
-#: src/mn-message-label.gob:170
+#: src/mn-message-box.gob:203
#, c-format
msgid "%i week ago"
msgid_plural "%i weeks ago"
@@ -1166,15 +1215,15 @@ msgstr "_ugrađeni SSL/TLS"
msgid "SSL/TLS on sepa_rate port"
msgstr "SSL/TLS na posebnom portu"
-#: src/mn-pop3-mailbox-properties.gob:85
+#: src/mn-pop3-mailbox-properties.gob:86
msgid "The hostname or IP address of the POP3 server"
msgstr "Ime ili IP broj POP3 servera"
-#: src/mn-pop3-mailbox-properties.gob:86
+#: src/mn-pop3-mailbox-properties.gob:87
msgid "Your username on the POP3 server"
msgstr "Vaše ime na POP3 serveru"
-#: src/mn-pop3-mailbox-properties.gob:87
+#: src/mn-pop3-mailbox-properties.gob:88
msgid ""
"Your password on the POP3 server (if left blank, you will be prompted for "
"the password when needed)"
@@ -1182,7 +1231,7 @@ msgstr ""
"Vaša lozinka na POP3 serveru (ako ne upišete lozinku, program će Vas "
"zamoliti da je unesete kada to bude potrebno)"
-#: src/mn-pop3-mailbox-properties.gob:88 src/mn-pop3-mailbox-properties.gob:89
+#: src/mn-pop3-mailbox-properties.gob:89 src/mn-pop3-mailbox-properties.gob:90
msgid "The port number of the POP3 server"
msgstr "Broj porta na POP3 serveru"
@@ -1190,11 +1239,11 @@ msgstr "Broj porta na POP3 serveru"
msgid "invalid arguments for the LOGIN-DELAY capability"
msgstr "parametri za mogućnost LOGIN-DELAY nisu ispravno postavljeni"
-#: src/mn-pop3-mailbox.gob:549
+#: src/mn-pop3-mailbox.gob:556
msgid "unknown error"
msgstr "nepoznata greška"
-#: src/mn-pop3-mailbox.gob:681
+#: src/mn-pop3-mailbox.gob:690
#, c-format
msgid "honouring LOGIN-DELAY, sleeping for %i second"
msgid_plural "honouring LOGIN-DELAY, sleeping for %i seconds"
@@ -1202,39 +1251,39 @@ msgstr[0] "tražen je zastoj pri prijavi, pauziram %i sekundu"
msgstr[1] "tražen je zastoj pri prijavi, pauziram %i sekunde"
msgstr[2] "tražen je zastoj pri prijavi, pauziram %i sekundi"
-#: src/mn-pop3-mailbox.gob:840
+#: src/mn-pop3-mailbox.gob:849
msgid "server does not support APOP authentication"
msgstr "server ne podržava prijavu korišćenjem mehanizma APOP"
-#: src/mn-pop3-mailbox.gob:868
+#: src/mn-pop3-mailbox.gob:877
msgid "falling back to APOP authentication"
msgstr "prelazim na APOP prijavu"
-#: src/mn-pop3-mailbox.gob:873
+#: src/mn-pop3-mailbox.gob:882
msgid "falling back to USER/PASS authentication"
msgstr "prelazim na prijavu pomoću imena i lozinke"
-#: src/mn-properties.c:170
+#: src/mn-properties.c:181
msgid "top left"
msgstr "gore-levo"
-#: src/mn-properties.c:171
+#: src/mn-properties.c:182
msgid "top right"
msgstr "gore-desno"
-#: src/mn-properties.c:172
+#: src/mn-properties.c:183
msgid "bottom left"
msgstr "dole-levo"
-#: src/mn-properties.c:173
+#: src/mn-properties.c:184
msgid "bottom right"
msgstr "dole-desno"
-#: src/mn-properties.c:251
+#: src/mn-properties.c:270
msgid "No mailbox selected."
msgstr "Nijedno sanduče nije izabrano."
-#: src/mn-properties.c:256
+#: src/mn-properties.c:275
#, c-format
msgid "%i mailbox selected."
msgid_plural "%i mailboxes selected."
@@ -1242,43 +1291,26 @@ msgstr[0] "Izabrano %i sanduče"
msgstr[1] "Izabrana %i sandučeta"
msgstr[2] "Izabrano %i sandučeta"
-#: src/mn-shell.gob:86
+#: src/mn-shell.gob:92
msgid "You have new mail."
msgstr "Imate novu poštu."
-#: src/mn-shell.gob:263
-msgid "The following mailbox has new mail:\n"
-msgid_plural "The following mailboxes have new mail:\n"
-msgstr[0] "Sanduče sa novom poštom:\n"
-msgstr[1] "Sandučići sa novom poštom:\n"
-msgstr[2] "Sandučići sa novom poštom:\n"
-
-#: src/mn-shell.gob:267
-msgid "You have no new mail."
-msgstr "Nema pošte."
-
-#: src/mn-shell.gob:270
-msgid "The following mailbox reported an error:\n"
-msgid_plural "The following mailboxes reported an error:\n"
-msgstr[0] "Ovo sanduče ima grešku:\n"
-msgstr[1] "Ovi sandučići imaju grešku:\n"
-msgstr[2] "Ovi sandučići imaju grešku:\n"
-
-#: src/mn-shell.gob:275
-msgid "The following mailbox is unsupported:\n"
-msgid_plural "The following mailboxes are unsupported:\n"
-msgstr[0] "Ovo sanduče nije podržano:\n"
-msgstr[1] "Ovi sandučići nisu podržani:\n"
-msgstr[2] "Ovi sandučići nisu podržani:\n"
-
-#: src/mn-shell.gob:320
-msgid "A command error has occurred in Mail Notification"
-msgstr "Došlo je do greške u komandama"
+#: src/mn-shell.gob:347
+msgid "Mailboxes Having New Mail"
+msgstr ""
-#: src/mn-shell.gob:321
-#, c-format
-msgid "Unable to execute \"%s\": %s."
-msgstr "Nije moguće izvršiti %s: %s"
+#: src/mn-shell.gob:349
+msgid "Errors"
+msgstr ""
+
+#: src/mn-shell.gob:351
+#, fuzzy
+msgid "Unsupported Mailboxes"
+msgstr "Lokalno sanduče"
+
+#: src/mn-shell.gob:364 ui/summary-dialog.glade.h:1
+msgid "Mail Summary"
+msgstr "Sažetak poruka"
#: src/mn-soup.c:140
#, c-format
@@ -1377,11 +1409,20 @@ msgstr "Došlo je do kobne greške u programu za dojavu pošte"
msgid "unable to get current time: %s"
msgstr "nije moguće dobaviti trenutno vreme: %s"
-#: src/mn-util.c:887
+#: src/mn-util.c:906
#, c-format
msgid "invalid signal specification \"%s\""
msgstr "nevažeća odrednica za signal „%s‟"
+#: src/mn-util.c:945
+msgid "A command error has occurred in Mail Notification"
+msgstr "Došlo je do greške u komandama"
+
+#: src/mn-util.c:946
+#, c-format
+msgid "Unable to execute \"%s\": %s."
+msgstr "Nije moguće izvršiti %s: %s"
+
#: ui/authentication.glade.h:1 ui/properties.glade.h:2
msgid "*"
msgstr "*"
@@ -1403,58 +1444,72 @@ msgid "<span weight=\"bold\">Commands</span>"
msgstr "<span weight=\"bold\">Naredbe</span>"
#: ui/properties.glade.h:4
+#, fuzzy
+msgid "<span weight=\"bold\">Double-click Action</span>"
+msgstr "<span weight=\"bold\">Mesto</span>"
+
+#: ui/properties.glade.h:5
msgid "<span weight=\"bold\">General</span>"
msgstr "<span weight=\"bold\">Opšte</span>"
-#: ui/properties.glade.h:5
+#: ui/properties.glade.h:6
msgid "<span weight=\"bold\">Mailbox List</span>"
msgstr "<span weight=\"bold\">Sandučići</span>"
-#: ui/properties.glade.h:6
+#: ui/properties.glade.h:7
msgid "<span weight=\"bold\">Position</span>"
msgstr "<span weight=\"bold\">Mesto</span>"
-#: ui/properties.glade.h:7
+#: ui/properties.glade.h:8
msgid "General"
msgstr "Opšte"
-#: ui/properties.glade.h:8
+#: ui/properties.glade.h:9
msgid "Hori_zontal offset:"
msgstr "Hori_zontalni pomak:"
-#: ui/properties.glade.h:9
+#: ui/properties.glade.h:10
msgid "Mail Notification Properties"
msgstr "Postavke za dojavu"
-#: ui/properties.glade.h:10
+#: ui/properties.glade.h:11
msgid "Mail Summary Popup"
msgstr "Sažetak poruka"
-#: ui/properties.glade.h:11
+#: ui/properties.glade.h:12
msgid "Mailboxes"
msgstr "Sandučići"
-#: ui/properties.glade.h:12
+#: ui/properties.glade.h:13
+msgid "Only display _recent mail"
+msgstr ""
+
+#: ui/properties.glade.h:14
msgid "P_osition:"
msgstr "_Mesto:"
-#: ui/properties.glade.h:13
+#: ui/properties.glade.h:15
msgid "The amount of time to wait before closing the mail summary popup"
msgstr "Pauza pre zatvaranja prozora sa sažetkom poruka"
-#: ui/properties.glade.h:14
+#: ui/properties.glade.h:16
msgid "The amount of time to wait between mail checks"
msgstr "Pauza između dve uzastopne provere"
-#: ui/properties.glade.h:15
+#: ui/properties.glade.h:17
+#, fuzzy
+msgid "The command to run to launch the mail reader"
+msgstr "Naredba koja se pokreće kada je sva pošta pročitana"
+
+#: ui/properties.glade.h:18
msgid "The command to run when all mail is read"
msgstr "Naredba koja se pokreće kada je sva pošta pročitana"
-#: ui/properties.glade.h:16
+#: ui/properties.glade.h:19
msgid "The command to run when new mail arrives"
msgstr "Naredba koja se pokreće kada stiže nova pošta"
-#: ui/properties.glade.h:17
+#: ui/properties.glade.h:20
msgid ""
"The number of pixels to leave between the left or right side of the screen "
"and the mail summary popup"
@@ -1462,7 +1517,7 @@ msgstr ""
"Broj tačaka koje treba ostaviti između leve, odn. desne strane ekrana i "
"prozora sa sažetkom poruka"
-#: ui/properties.glade.h:18
+#: ui/properties.glade.h:21
msgid ""
"The number of pixels to leave between the top or bottom side of the screen "
"and the mail summary popup"
@@ -1470,82 +1525,102 @@ msgstr ""
"Broj tačaka koje treba ostaviti između vrha, odn. dna ekrana i prozora sa "
"sažetkom poruka"
-#: ui/properties.glade.h:19
+#: ui/properties.glade.h:22
msgid "When _all mail is read:"
msgstr "Kada je s_va pošta pročitana:"
-#: ui/properties.glade.h:20
+#: ui/properties.glade.h:23
msgid "When _new mail arrives:"
msgstr "Kada _stigne nova pošta:"
-#: ui/properties.glade.h:21
+#: ui/properties.glade.h:24
msgid "Whether the status icon should blink on errors or not"
msgstr "Da li statusna sličica treperi pri greškama ili ne"
-#: ui/properties.glade.h:22
+#: ui/properties.glade.h:25
msgid "Whether to automatically close the mail summary popup or not"
msgstr ""
"Da li treba ili ne treba automatski zatvoriti prozor sa sažetkom poruka"
-#: ui/properties.glade.h:23
+#: ui/properties.glade.h:26
msgid "Whether to display the mail summary popup when new mail arrives or not"
msgstr ""
"Da li treba ili ne treba prikazivati sažetak poruka kada stigne nova pošta"
-#: ui/properties.glade.h:24
+#: ui/properties.glade.h:27
+#, fuzzy
+msgid "Whether to hide previously displayed mail or not"
+msgstr "Da li u sandučetu stoji nova pošta ili ne"
+
+#: ui/properties.glade.h:28
msgid "Whether to run a command when all mail is read or not"
msgstr "Da li se pokreće ili ne pokreće komanda kada je sva pošta pročitana"
-#: ui/properties.glade.h:25
+#: ui/properties.glade.h:29
msgid "Whether to run a command when new mail arrives or not"
msgstr "Da li se pokreće komanda kada stigne pošta ili ne"
-#: ui/properties.glade.h:26
+#: ui/properties.glade.h:30
+#, fuzzy
+msgid "Whether to set a mail reader or not"
+msgstr "Da li se pokreće ili ne pokreće komanda kada je sva pošta pročitana"
+
+#: ui/properties.glade.h:31
msgid ""
"Whether to start Mail Notification when you log into your GNOME session or "
"not"
msgstr "Da li pokrenuti dojavu pošte kada se prijavite na sistem"
-#: ui/properties.glade.h:27
+#: ui/properties.glade.h:32
msgid "_Automatically close after:"
msgstr "_Automatski zatvori posle:"
-#: ui/properties.glade.h:28
+#: ui/properties.glade.h:33
msgid "_Blink on errors"
msgstr "_Treperi pri greškama"
-#: ui/properties.glade.h:29
+#: ui/properties.glade.h:34
msgid "_Delay between mail checks:"
msgstr "_Pauza između provera:"
-#: ui/properties.glade.h:30
+#: ui/properties.glade.h:35
+#, fuzzy
+msgid "_Display the mail summary dialog"
+msgstr "Prikaži prozor sa sažetkom poruka"
+
+#: ui/properties.glade.h:36
msgid "_Enable mail summary popup"
msgstr "Dozvoli prikaz sažetka poruka"
-#: ui/properties.glade.h:31
+#: ui/properties.glade.h:37
+msgid "_Launch the mail reader"
+msgstr ""
+
+#: ui/properties.glade.h:38
+#, fuzzy
+msgid "_Mail reader:"
+msgstr "_Sažetak poruka"
+
+#: ui/properties.glade.h:39
msgid "_Start Mail Notification on GNOME login"
msgstr "Pokreni _dojavu pri prijavi"
-#: ui/properties.glade.h:32
+#: ui/properties.glade.h:40
msgid "_Vertical offset:"
msgstr "_Vertikalni pomak:"
-#: ui/properties.glade.h:33
+#: ui/properties.glade.h:41
msgid "minutes"
msgstr "minuta"
-#: ui/properties.glade.h:34
+#: ui/properties.glade.h:42
msgid "pixels"
msgstr "tačaka"
-#: ui/properties.glade.h:35
+#: ui/properties.glade.h:43
msgid "seconds"
msgstr "sekundi"
-#: ui/summary-dialog.glade.h:1
-msgid "Mail Summary"
-msgstr "Sažetak poruka"
-
#: ui/summary-popup.glade.h:1
msgid "<span size=\"larger\" weight=\"bold\">Mail Summary</span>"
msgstr "<span weight=\"bold\">Sažetak poruka</span>"
@@ -1586,8 +1661,26 @@ msgstr "_Podesi dojavu pošte"
msgid "_Skip configuration"
msgstr "P_reskoči podešavanja"
-#~ msgid "Double-clicked command"
-#~ msgstr "Izvrši na dvostruki klik"
+#~ msgid "The following mailbox has new mail:\n"
+#~ msgid_plural "The following mailboxes have new mail:\n"
+#~ msgstr[0] "Sanduče sa novom poštom:\n"
+#~ msgstr[1] "Sandučići sa novom poštom:\n"
+#~ msgstr[2] "Sandučići sa novom poštom:\n"
+
+#~ msgid "You have no new mail."
+#~ msgstr "Nema pošte."
+
+#~ msgid "The following mailbox reported an error:\n"
+#~ msgid_plural "The following mailboxes reported an error:\n"
+#~ msgstr[0] "Ovo sanduče ima grešku:\n"
+#~ msgstr[1] "Ovi sandučići imaju grešku:\n"
+#~ msgstr[2] "Ovi sandučići imaju grešku:\n"
+
+#~ msgid "The following mailbox is unsupported:\n"
+#~ msgid_plural "The following mailboxes are unsupported:\n"
+#~ msgstr[0] "Ovo sanduče nije podržano:\n"
+#~ msgstr[1] "Ovi sandučići nisu podržani:\n"
+#~ msgstr[2] "Ovi sandučići nisu podržani:\n"
#~ msgid "Run a command when the icon is double-clicked"
#~ msgstr "Izvrši komandu pri dvostrukom kliku na ikonu"
diff --git a/src/Makefile.am b/src/Makefile.am
@@ -148,11 +148,12 @@ gob_sources = \
mn-mailbox-view.gob \
mn-mailbox.gob \
mn-mailboxes.gob \
- mn-message-label.gob \
+ mn-message-box.gob \
mn-message.gob \
mn-pending-mailbox.gob \
mn-shell.gob \
mn-system-mailbox-properties.gob \
+ mn-tooltips.gob \
mn-unsupported-mailbox.gob \
mn-uri.gob
gob_built_sources = \
@@ -190,9 +191,9 @@ gob_built_sources = \
mn-mailboxes-private.h \
mn-mailboxes.c \
mn-mailboxes.h \
- mn-message-label-private.h \
- mn-message-label.c \
- mn-message-label.h \
+ mn-message-box-private.h \
+ mn-message-box.c \
+ mn-message-box.h \
mn-message-private.h \
mn-message.c \
mn-message.h \
@@ -205,6 +206,9 @@ gob_built_sources = \
mn-system-mailbox-properties-private.h \
mn-system-mailbox-properties.c \
mn-system-mailbox-properties.h \
+ mn-tooltips-private.h \
+ mn-tooltips.c \
+ mn-tooltips.h \
mn-unsupported-mailbox-private.h \
mn-unsupported-mailbox.c \
mn-unsupported-mailbox.h \
diff --git a/src/Makefile.in b/src/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.2 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -40,9 +40,9 @@ bin_PROGRAMS = mail-notification$(EXEEXT)
subdir = src
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/openssl.m4 \
- $(top_srcdir)/m4/sasl2.m4 $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
+ $(top_srcdir)/m4/openssl.m4 $(top_srcdir)/m4/sasl2.m4 \
+ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -61,14 +61,14 @@ am__mail_notification_SOURCES_DIST = MNAutomation.idl \
mn-gmime-stream-vfs.gob mn-about-dialog.gob \
mn-autodetect-mailbox-properties.gob mn-automation.gob \
mn-blinking-image.gob mn-mail-icon.gob mn-mailbox-view.gob \
- mn-mailbox.gob mn-mailboxes.gob mn-message-label.gob \
+ mn-mailbox.gob mn-mailboxes.gob mn-message-box.gob \
mn-message.gob mn-pending-mailbox.gob mn-shell.gob \
- mn-system-mailbox-properties.gob mn-unsupported-mailbox.gob \
- mn-uri.gob mn-mbox-mailbox-private.h mn-mbox-mailbox.c \
- mn-mbox-mailbox.h mn-mh-mailbox-private.h mn-mh-mailbox.c \
- mn-mh-mailbox.h mn-maildir-mailbox-private.h \
- mn-maildir-mailbox.c mn-maildir-mailbox.h \
- mn-pop3-mailbox-properties-private.h \
+ mn-system-mailbox-properties.gob mn-tooltips.gob \
+ mn-unsupported-mailbox.gob mn-uri.gob \
+ mn-mbox-mailbox-private.h mn-mbox-mailbox.c mn-mbox-mailbox.h \
+ mn-mh-mailbox-private.h mn-mh-mailbox.c mn-mh-mailbox.h \
+ mn-maildir-mailbox-private.h mn-maildir-mailbox.c \
+ mn-maildir-mailbox.h mn-pop3-mailbox-properties-private.h \
mn-pop3-mailbox-properties.c mn-pop3-mailbox-properties.h \
mn-pop3-mailbox-private.h mn-pop3-mailbox.c mn-pop3-mailbox.h \
mn-imap-mailbox-properties-private.h \
@@ -94,12 +94,13 @@ am__mail_notification_SOURCES_DIST = MNAutomation.idl \
mn-mail-icon.c mn-mail-icon.h mn-mailbox-view-private.h \
mn-mailbox-view.c mn-mailbox-view.h mn-mailbox-private.h \
mn-mailbox.c mn-mailbox.h mn-mailboxes-private.h \
- mn-mailboxes.c mn-mailboxes.h mn-message-label-private.h \
- mn-message-label.c mn-message-label.h mn-message-private.h \
+ mn-mailboxes.c mn-mailboxes.h mn-message-box-private.h \
+ mn-message-box.c mn-message-box.h mn-message-private.h \
mn-message.c mn-message.h mn-pending-mailbox-private.h \
mn-pending-mailbox.c mn-pending-mailbox.h mn-shell-private.h \
mn-shell.c mn-shell.h mn-system-mailbox-properties-private.h \
mn-system-mailbox-properties.c mn-system-mailbox-properties.h \
+ mn-tooltips-private.h mn-tooltips.c mn-tooltips.h \
mn-unsupported-mailbox-private.h mn-unsupported-mailbox.c \
mn-unsupported-mailbox.h mn-uri-private.h mn-uri.c mn-uri.h \
mn-sgml-ref.c mn-sgml-ref.h mn-soup.c mn-soup.h \
@@ -142,9 +143,9 @@ am__objects_13 = $(am__objects_3) $(am__objects_4) $(am__objects_5) \
mn-automation.$(OBJEXT) mn-blinking-image.$(OBJEXT) \
mn-mail-icon.$(OBJEXT) mn-mailbox-view.$(OBJEXT) \
mn-mailbox.$(OBJEXT) mn-mailboxes.$(OBJEXT) \
- mn-message-label.$(OBJEXT) mn-message.$(OBJEXT) \
+ mn-message-box.$(OBJEXT) mn-message.$(OBJEXT) \
mn-pending-mailbox.$(OBJEXT) mn-shell.$(OBJEXT) \
- mn-system-mailbox-properties.$(OBJEXT) \
+ mn-system-mailbox-properties.$(OBJEXT) mn-tooltips.$(OBJEXT) \
mn-unsupported-mailbox.$(OBJEXT) mn-uri.$(OBJEXT)
@WITH_GMAIL_TRUE@am__objects_14 = mn-sgml-ref.$(OBJEXT) \
@WITH_GMAIL_TRUE@ mn-soup.$(OBJEXT)
@@ -172,54 +173,6 @@ mail_notification_LDADD = $(LDADD)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
-@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/MNAutomation-common.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/MNAutomation-skels.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/MNAutomation-stubs.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/eggtrayicon.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-about-dialog.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-auth-combo-box.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-authenticated-mailbox.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-autodetect-mailbox-properties.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-automation.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-blinking-image.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-client-session.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-conf.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-gmail-mailbox-properties.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-gmail-mailbox.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-gmime-stream-vfs.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-imap-mailbox-properties.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-imap-mailbox.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-mail-icon.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-mailbox-properties-dialog.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-mailbox-properties-util.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-mailbox-properties.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-mailbox-view.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-mailbox.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-mailboxes.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-maildir-mailbox.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-main.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-mbox-mailbox.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-md5.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-message-label.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-message-mime.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-message.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-mh-mailbox.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-pending-mailbox.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-pi-mailbox-properties.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-pop3-mailbox-properties.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-pop3-mailbox.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-properties.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-sasl.Po ./$(DEPDIR)/mn-sgml-ref.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-shell.Po ./$(DEPDIR)/mn-soup.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-ssl.Po ./$(DEPDIR)/mn-stock.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-summary-dialog.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-summary-popup.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-summary.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-sylpheed-mailbox.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-system-mailbox-properties.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-unsupported-mailbox.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-uri.Po ./$(DEPDIR)/mn-util.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/mn-vfs.Po
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
@@ -270,6 +223,7 @@ GNOME_LIBS = @GNOME_LIBS@
GOB2 = @GOB2@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
+ICONV = @ICONV@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -307,6 +261,7 @@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
OBJEXT = @OBJEXT@
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
OPENSSL_LIBS = @OPENSSL_LIBS@
@@ -367,6 +322,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
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_alias = @build_alias@
datadir = @datadir@
@@ -518,11 +475,12 @@ gob_sources = \
mn-mailbox-view.gob \
mn-mailbox.gob \
mn-mailboxes.gob \
- mn-message-label.gob \
+ mn-message-box.gob \
mn-message.gob \
mn-pending-mailbox.gob \
mn-shell.gob \
mn-system-mailbox-properties.gob \
+ mn-tooltips.gob \
mn-unsupported-mailbox.gob \
mn-uri.gob
@@ -561,9 +519,9 @@ gob_built_sources = \
mn-mailboxes-private.h \
mn-mailboxes.c \
mn-mailboxes.h \
- mn-message-label-private.h \
- mn-message-label.c \
- mn-message-label.h \
+ mn-message-box-private.h \
+ mn-message-box.c \
+ mn-message-box.h \
mn-message-private.h \
mn-message.c \
mn-message.h \
@@ -576,6 +534,9 @@ gob_built_sources = \
mn-system-mailbox-properties-private.h \
mn-system-mailbox-properties.c \
mn-system-mailbox-properties.h \
+ mn-tooltips-private.h \
+ mn-tooltips.c \
+ mn-tooltips.h \
mn-unsupported-mailbox-private.h \
mn-unsupported-mailbox.c \
mn-unsupported-mailbox.h \
@@ -736,7 +697,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-mbox-mailbox.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-md5.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-message-label.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-message-box.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-message-mime.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-message.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-mh-mailbox.Po@am__quote@
@@ -756,6 +717,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-summary.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-sylpheed-mailbox.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-system-mailbox-properties.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-tooltips.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-unsupported-mailbox.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-uri.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mn-util.Po@am__quote@
@@ -765,16 +727,14 @@ distclean-compile:
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
.c.obj:
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
uninstall-info-am:
@@ -882,13 +842,13 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
- -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
diff --git a/src/mn-about-dialog-private.h b/src/mn-about-dialog-private.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#ifndef __MN_ABOUT_DIALOG_PRIVATE_H__
#define __MN_ABOUT_DIALOG_PRIVATE_H__
diff --git a/src/mn-about-dialog.c b/src/mn-about-dialog.c
@@ -1,11 +1,11 @@
-/* Generated by GOB (v2.0.10) on Mon Oct 25 15:24:34 2004
+/* Generated by GOB (v2.0.11) on Sun Oct 31 18:41:22 2004
(do not edit directly) */
/* End world hunger, donate to the World Food Programme, http://www.wfp.org */
#define GOB_VERSION_MAJOR 2
#define GOB_VERSION_MINOR 0
-#define GOB_VERSION_PATCHLEVEL 10
+#define GOB_VERSION_PATCHLEVEL 11
#define selfp (self->_priv)
diff --git a/src/mn-about-dialog.h b/src/mn-about-dialog.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
diff --git a/src/mn-auth-combo-box-private.h b/src/mn-auth-combo-box-private.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#ifndef __MN_AUTH_COMBO_BOX_PRIVATE_H__
#define __MN_AUTH_COMBO_BOX_PRIVATE_H__
diff --git a/src/mn-auth-combo-box.c b/src/mn-auth-combo-box.c
@@ -1,11 +1,11 @@
-/* Generated by GOB (v2.0.10) on Mon Oct 25 15:24:33 2004
+/* Generated by GOB (v2.0.11) on Sun Oct 31 18:41:21 2004
(do not edit directly) */
/* End world hunger, donate to the World Food Programme, http://www.wfp.org */
#define GOB_VERSION_MAJOR 2
#define GOB_VERSION_MINOR 0
-#define GOB_VERSION_PATCHLEVEL 10
+#define GOB_VERSION_PATCHLEVEL 11
#define selfp (self->_priv)
diff --git a/src/mn-auth-combo-box.h b/src/mn-auth-combo-box.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
diff --git a/src/mn-authenticated-mailbox-private.h b/src/mn-authenticated-mailbox-private.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#ifndef __MN_AUTHENTICATED_MAILBOX_PRIVATE_H__
#define __MN_AUTHENTICATED_MAILBOX_PRIVATE_H__
diff --git a/src/mn-authenticated-mailbox.c b/src/mn-authenticated-mailbox.c
@@ -1,11 +1,11 @@
-/* Generated by GOB (v2.0.10) on Mon Oct 25 15:24:33 2004
+/* Generated by GOB (v2.0.11) on Sun Oct 31 18:41:21 2004
(do not edit directly) */
/* End world hunger, donate to the World Food Programme, http://www.wfp.org */
#define GOB_VERSION_MAJOR 2
#define GOB_VERSION_MINOR 0
-#define GOB_VERSION_PATCHLEVEL 10
+#define GOB_VERSION_PATCHLEVEL 11
#define selfp (self->_priv)
@@ -132,9 +132,9 @@ mn_authenticated_mailbox_class_init (MNAuthenticatedMailboxClass * c G_GNUC_UNUS
{
#define __GOB_FUNCTION__ "MN:Authenticated:Mailbox::class_init"
GObjectClass *g_object_class G_GNUC_UNUSED = (GObjectClass*) c;
+ MNMailboxClass *mn_mailbox_class = (MNMailboxClass *)c;
g_type_class_add_private(c,sizeof(MNAuthenticatedMailboxPrivate));
- MNMailboxClass *mn_mailbox_class = (MNMailboxClass *)c;
parent_class = g_type_class_ref (MN_TYPE_MAILBOX);
diff --git a/src/mn-authenticated-mailbox.h b/src/mn-authenticated-mailbox.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
diff --git a/src/mn-autodetect-mailbox-properties-private.h b/src/mn-autodetect-mailbox-properties-private.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#ifndef __MN_AUTODETECT_MAILBOX_PROPERTIES_PRIVATE_H__
#define __MN_AUTODETECT_MAILBOX_PROPERTIES_PRIVATE_H__
diff --git a/src/mn-autodetect-mailbox-properties.c b/src/mn-autodetect-mailbox-properties.c
@@ -1,11 +1,11 @@
-/* Generated by GOB (v2.0.10) on Mon Oct 25 15:24:34 2004
+/* Generated by GOB (v2.0.11) on Sun Oct 31 18:41:22 2004
(do not edit directly) */
/* End world hunger, donate to the World Food Programme, http://www.wfp.org */
#define GOB_VERSION_MAJOR 2
#define GOB_VERSION_MINOR 0
-#define GOB_VERSION_PATCHLEVEL 10
+#define GOB_VERSION_PATCHLEVEL 11
#define selfp (self->_priv)
@@ -173,7 +173,7 @@ mn_autodetect_mailbox_properties_init (MNAutodetectMailboxProperties * o G_GNUC_
#define __GOB_FUNCTION__ "MN:Autodetect:Mailbox:Properties::init"
o->_priv = G_TYPE_INSTANCE_GET_PRIVATE(o,TYPE_SELF,MNAutodetectMailboxPropertiesPrivate);
#line 51 "mn-autodetect-mailbox-properties.gob"
- o->_priv->tooltips = mn_tooltips_new();
+ o->_priv->tooltips = mn_gtk_tooltips_new();
#line 178 "mn-autodetect-mailbox-properties.c"
}
#undef __GOB_FUNCTION__
@@ -326,9 +326,9 @@ ___1_mn_autodetect_mailbox_properties_constructor (GType type G_GNUC_UNUSED, gui
gtk_label_set_mnemonic_widget(GTK_LABEL(label), selfp->location_entry);
gtk_entry_set_activates_default(GTK_ENTRY(selfp->location_entry), TRUE);
- mn_tooltips_set_tip(selfp->tooltips,
- selfp->location_entry,
- _("The URI of the mailbox"));
+ mn_gtk_tooltips_set_tip(selfp->tooltips,
+ selfp->location_entry,
+ _("The URI of the mailbox"));
gtk_box_pack_start(GTK_BOX(hbox), selfp->location_entry, TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
diff --git a/src/mn-autodetect-mailbox-properties.gob b/src/mn-autodetect-mailbox-properties.gob
@@ -48,7 +48,7 @@ class MN:Autodetect:Mailbox:Properties from Gtk:HBox (interface MN:Mailbox:Prope
g_value_set_boolean(VAL, *location != 0);
};
- private GtkTooltips *tooltips = {mn_tooltips_new()} unrefwith g_object_unref;
+ private GtkTooltips *tooltips = {mn_gtk_tooltips_new()} unrefwith g_object_unref;
private GtkWidget *location_entry;
override (G:Object) GObject *
@@ -76,9 +76,9 @@ class MN:Autodetect:Mailbox:Properties from Gtk:HBox (interface MN:Mailbox:Prope
gtk_label_set_mnemonic_widget(GTK_LABEL(label), selfp->location_entry);
gtk_entry_set_activates_default(GTK_ENTRY(selfp->location_entry), TRUE);
- mn_tooltips_set_tip(selfp->tooltips,
- selfp->location_entry,
- _("The URI of the mailbox"));
+ mn_gtk_tooltips_set_tip(selfp->tooltips,
+ selfp->location_entry,
+ _("The URI of the mailbox"));
gtk_box_pack_start(GTK_BOX(hbox), selfp->location_entry, TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
diff --git a/src/mn-autodetect-mailbox-properties.h b/src/mn-autodetect-mailbox-properties.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
diff --git a/src/mn-automation-private.h b/src/mn-automation-private.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#ifndef __MN_AUTOMATION_PRIVATE_H__
#define __MN_AUTOMATION_PRIVATE_H__
diff --git a/src/mn-automation.c b/src/mn-automation.c
@@ -1,11 +1,11 @@
-/* Generated by GOB (v2.0.10) on Mon Oct 25 15:24:34 2004
+/* Generated by GOB (v2.0.11) on Sun Oct 31 18:41:22 2004
(do not edit directly) */
/* End world hunger, donate to the World Food Programme, http://www.wfp.org */
#define GOB_VERSION_MAJOR 2
#define GOB_VERSION_MINOR 0
-#define GOB_VERSION_PATCHLEVEL 10
+#define GOB_VERSION_PATCHLEVEL 11
#define selfp (self->_priv)
diff --git a/src/mn-automation.h b/src/mn-automation.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
diff --git a/src/mn-blinking-image-private.h b/src/mn-blinking-image-private.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#ifndef __MN_BLINKING_IMAGE_PRIVATE_H__
#define __MN_BLINKING_IMAGE_PRIVATE_H__
diff --git a/src/mn-blinking-image.c b/src/mn-blinking-image.c
@@ -1,11 +1,11 @@
-/* Generated by GOB (v2.0.10) on Mon Oct 25 15:24:34 2004
+/* Generated by GOB (v2.0.11) on Sun Oct 31 18:41:22 2004
(do not edit directly) */
/* End world hunger, donate to the World Food Programme, http://www.wfp.org */
#define GOB_VERSION_MAJOR 2
#define GOB_VERSION_MINOR 0
-#define GOB_VERSION_PATCHLEVEL 10
+#define GOB_VERSION_PATCHLEVEL 11
#define selfp (self->_priv)
diff --git a/src/mn-blinking-image.h b/src/mn-blinking-image.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
diff --git a/src/mn-client-session.c b/src/mn-client-session.c
@@ -563,7 +563,10 @@ mn_client_session_prepare_input_buffer (MNClientSession *session)
g_return_if_fail(session != NULL);
if (session->bytes_to_remove)
- g_byte_array_remove_range(session->input_buffer, 0, session->bytes_to_remove);
+ {
+ g_byte_array_remove_range(session->input_buffer, 0, session->bytes_to_remove);
+ session->bytes_to_remove = 0;
+ }
}
static gboolean
@@ -576,6 +579,9 @@ mn_client_session_fill_input_buffer (MNClientSession *session)
g_return_val_if_fail(session != NULL, FALSE);
+ if (session->callbacks->pre_read)
+ session->callbacks->pre_read(session, session->private);
+
#ifdef WITH_SSL
if (session->ssl)
bytes_read = SSL_read(session->ssl, buf, sizeof(buf));
@@ -585,6 +591,9 @@ mn_client_session_fill_input_buffer (MNClientSession *session)
bytes_read = read(session->s, buf, sizeof(buf));
while (bytes_read < 0 && errno == EINTR);
+ if (session->callbacks->post_read)
+ session->callbacks->post_read(session, session->private);
+
if (bytes_read <= 0)
{
#ifdef WITH_SSL
@@ -898,7 +907,8 @@ mn_client_session_sasl_authentication_start (MNClientSession *session,
const char *service,
GSList *mechanisms,
const char *forced_mechanism,
- const char **used_mechanism)
+ const char **used_mechanism,
+ gboolean initial_response)
{
GError *err = NULL;
int result;
@@ -981,8 +991,8 @@ mn_client_session_sasl_authentication_start (MNClientSession *session,
result = sasl_client_start(session->sasl_conn,
mechanisms_string->str,
&interact,
- &session->sasl_initial_clientout,
- &session->sasl_initial_clientoutlen,
+ initial_response ? &session->sasl_initial_clientout : NULL,
+ initial_response ? &session->sasl_initial_clientoutlen : NULL,
used_mechanism);
if (result == SASL_INTERACT)
diff --git a/src/mn-client-session.h b/src/mn-client-session.h
@@ -63,6 +63,11 @@ typedef struct
MNClientSessionResponse *response,
int result,
MNClientSessionPrivate *private);
+
+ void (*pre_read) (MNClientSession *session,
+ MNClientSessionPrivate *private);
+ void (*post_read) (MNClientSession *session,
+ MNClientSessionPrivate *private);
} MNClientSessionCallbacks;
gboolean mn_client_session_run (MNClientSessionState *states,
@@ -93,7 +98,8 @@ gboolean mn_client_session_sasl_authentication_start (MNClientSession *session,
const char *service,
GSList *mechanisms,
const char *forced_mechanism,
- const char **used_mechanism);
+ const char **used_mechanism,
+ gboolean initial_response);
int mn_client_session_sasl_authentication_step (MNClientSession *session,
const char *input);
gboolean mn_client_session_sasl_authentication_done (MNClientSession *session);
diff --git a/src/mn-conf.c b/src/mn-conf.c
@@ -35,6 +35,9 @@
#define COMBO_BOX_KEY "mn-conf-combo-box-key"
#define COMBO_BOX_STRING_COLUMN "mn-conf-combo-box-string-column"
+#define RADIO_BUTTON_KEY "mn-conf-radio-button-key"
+#define RADIO_BUTTON_STRING "mn-conf-radio-button-string"
+
/*** types *******************************************************************/
typedef struct
@@ -56,6 +59,16 @@ static void mn_conf_link_combo_box_to_string_notify_cb (GConfClient *client,
GConfEntry *entry,
gpointer user_data);
+static void mn_conf_link_radio_button_to_string (GtkRadioButton *radio,
+ const char *key,
+ const char *str);
+static void mn_conf_link_radio_button_to_string_toggled_h (GtkToggleButton *toggle,
+ gpointer user_data);
+static void mn_conf_link_radio_button_to_string_notify_cb (GConfClient *client,
+ guint cnxn_id,
+ GConfEntry *entry,
+ gpointer user_data);
+
static gboolean mn_conf_link_window_h (GtkWidget *widget,
GdkEventConfigure *event,
gpointer user_data);
@@ -84,9 +97,6 @@ static void mn_conf_link_entry_notify_cb (GConfClient *client,
GConfEntry *entry,
gpointer user_data);
-static void mn_conf_link_weak_notify_cb (gpointer data,
- GObject *former_object);
-
static void mn_conf_startup_client_free (StartupClient *client);
static void mn_conf_startup_clients_free (GSList *list);
@@ -97,6 +107,9 @@ static void mn_conf_startup_list_write (GSList *list, const char *name);
static GSList *mn_conf_get_autostart_elem (GSList *list);
+static void mn_conf_notification_add_weak_notify_cb (gpointer data,
+ GObject *former_object);
+
/*** implementation **********************************************************/
void
@@ -157,7 +170,6 @@ mn_conf_link (GtkWidget *widget, ...)
const char *signal_name;
GCallback signal_handler;
GConfClientNotifyFunc notification_cb;
- unsigned int notification_id;
key = va_arg(args, const char *);
g_return_if_fail(key != NULL);
@@ -214,8 +226,7 @@ mn_conf_link (GtkWidget *widget, ...)
g_return_if_reached();
g_signal_connect_data(widget, signal_name, signal_handler, g_strdup(key), (GClosureNotify) g_free, 0);
- notification_id = eel_gconf_notification_add(key, notification_cb, widget);
- g_object_weak_ref(G_OBJECT(widget), mn_conf_link_weak_notify_cb, GUINT_TO_POINTER(notification_id));
+ mn_conf_notification_add(widget, key, notification_cb, widget);
widget = va_arg(args, GtkWidget *);
}
@@ -228,7 +239,6 @@ mn_conf_link_combo_box_to_string (GtkComboBox *combo,
const char *key)
{
char *value;
- unsigned int notification_id;
g_return_if_fail(GTK_IS_COMBO_BOX(combo));
g_return_if_fail(key != NULL);
@@ -241,8 +251,7 @@ mn_conf_link_combo_box_to_string (GtkComboBox *combo,
g_free(value);
g_signal_connect(combo, "changed", G_CALLBACK(mn_conf_link_combo_box_to_string_changed_h), NULL);
- notification_id = eel_gconf_notification_add(key, mn_conf_link_combo_box_to_string_notify_cb, combo);
- g_object_weak_ref(G_OBJECT(combo), mn_conf_link_weak_notify_cb, GUINT_TO_POINTER(notification_id));
+ mn_conf_notification_add(combo, key, mn_conf_link_combo_box_to_string_notify_cb, combo);
}
static void
@@ -316,6 +325,98 @@ mn_conf_link_combo_box_to_string_notify_cb (GConfClient *client,
GDK_THREADS_LEAVE();
}
+void
+mn_conf_link_radio_group_to_enum (GType enum_type,
+ const char *key,
+ ...)
+{
+ GEnumClass *enum_class;
+ GtkRadioButton *radio;
+ va_list args;
+
+ g_return_if_fail(key != NULL);
+
+ enum_class = g_type_class_ref(enum_type);
+ g_return_if_fail(enum_class != NULL);
+
+ va_start(args, key);
+
+ while ((radio = va_arg(args, GtkRadioButton *)))
+ {
+ int value;
+ GEnumValue *enum_value;
+
+ value = va_arg(args, int);
+
+ enum_value = g_enum_get_value(enum_class, value);
+ g_return_if_fail(enum_value != NULL);
+
+ mn_conf_link_radio_button_to_string(radio, key, enum_value->value_nick);
+ }
+
+ va_end(args);
+}
+
+static void
+mn_conf_link_radio_button_to_string (GtkRadioButton *radio,
+ const char *key,
+ const char *str)
+{
+ char *current_str;
+
+ g_return_if_fail(GTK_IS_RADIO_BUTTON(radio));
+ g_return_if_fail(key != NULL);
+ g_return_if_fail(str != NULL);
+
+ current_str = eel_gconf_get_string(key);
+ if (current_str)
+ {
+ if (! strcmp(current_str, str))
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(radio), TRUE);
+ g_free(current_str);
+ }
+
+ g_object_set_data_full(G_OBJECT(radio), RADIO_BUTTON_KEY, g_strdup(key), g_free);
+ g_object_set_data_full(G_OBJECT(radio), RADIO_BUTTON_STRING, g_strdup(str), g_free);
+
+ g_signal_connect(radio, "toggled", G_CALLBACK(mn_conf_link_radio_button_to_string_toggled_h), NULL);
+ mn_conf_notification_add(radio, key, mn_conf_link_radio_button_to_string_notify_cb, radio);
+}
+
+static void
+mn_conf_link_radio_button_to_string_toggled_h (GtkToggleButton *toggle,
+ gpointer user_data)
+{
+ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(toggle)))
+ {
+ const char *key = g_object_get_data(G_OBJECT(toggle), RADIO_BUTTON_KEY);
+ const char *str = g_object_get_data(G_OBJECT(toggle), RADIO_BUTTON_STRING);
+
+ eel_gconf_set_string(key, str);
+ }
+}
+
+static void
+mn_conf_link_radio_button_to_string_notify_cb (GConfClient *client,
+ guint cnxn_id,
+ GConfEntry *entry,
+ gpointer user_data)
+{
+ GtkRadioButton *radio = user_data;
+ GConfValue *value = gconf_entry_get_value(entry);
+ const char *str = gconf_value_get_string(value);
+
+ if (str)
+ {
+ GDK_THREADS_ENTER();
+
+ if (! strcmp(str, g_object_get_data(G_OBJECT(radio), RADIO_BUTTON_STRING)))
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(radio), TRUE);
+
+ GDK_THREADS_LEAVE();
+ }
+}
+
static gboolean
mn_conf_link_window_h (GtkWidget *widget,
GdkEventConfigure *event,
@@ -421,13 +522,6 @@ mn_conf_link_entry_notify_cb (GConfClient *client,
GDK_THREADS_LEAVE();
}
-static void
-mn_conf_link_weak_notify_cb (gpointer data, GObject *former_object)
-{
- unsigned int notification_id = GPOINTER_TO_UINT(data);
- eel_gconf_notification_remove(notification_id);
-}
-
/*
* The mn_conf_startup_* functions are based on code taken from
* startup-programs.c in gnome-session, written by Owen Taylor.
@@ -616,28 +710,49 @@ mn_conf_set_autostart (gboolean autostart)
mn_conf_startup_clients_free(clients);
}
-GEnumValue *
+int
mn_conf_get_enum_value (GType enum_type, const char *key)
{
GEnumClass *enum_class;
GEnumValue *enum_value = NULL;
+ char *nick;
- g_return_val_if_fail(key != NULL, NULL);
+ g_return_val_if_fail(key != NULL, 0);
enum_class = g_type_class_ref(enum_type);
- if (enum_class)
+ g_return_val_if_fail(enum_class != NULL, 0);
+
+ nick = eel_gconf_get_string(key);
+ if (nick)
{
- char *nick;
+ enum_value = g_enum_get_value_by_nick(enum_class, nick);
+ g_free(nick);
+ }
- nick = eel_gconf_get_string(key);
- if (nick)
- {
- enum_value = g_enum_get_value_by_nick(enum_class, nick);
- g_free(nick);
- }
+ g_type_class_unref(enum_class);
- g_type_class_unref(enum_class);
- }
+ return enum_value ? enum_value->value : 0;
+}
+
+void
+mn_conf_notification_add (gpointer object,
+ const char *key,
+ GConfClientNotifyFunc callback,
+ gpointer user_data)
+{
+ unsigned int notification_id;
+
+ g_return_if_fail(G_IS_OBJECT(object));
+ g_return_if_fail(key != NULL);
+ g_return_if_fail(callback != NULL);
+
+ notification_id = eel_gconf_notification_add(key, callback, user_data);
+ g_object_weak_ref(G_OBJECT(object), mn_conf_notification_add_weak_notify_cb, GUINT_TO_POINTER(notification_id));
+}
- return enum_value;
+static void
+mn_conf_notification_add_weak_notify_cb (gpointer data, GObject *former_object)
+{
+ unsigned int notification_id = GPOINTER_TO_UINT(data);
+ eel_gconf_notification_remove(notification_id);
}
diff --git a/src/mn-conf.h b/src/mn-conf.h
@@ -61,6 +61,12 @@
MN_CONF_COMMANDS_MAIL_READ_NAMESPACE "/enabled"
#define MN_CONF_COMMANDS_MAIL_READ_COMMAND \
MN_CONF_COMMANDS_MAIL_READ_NAMESPACE "/command"
+#define MN_CONF_COMMANDS_MAIL_READER_NAMESPACE \
+ MN_CONF_COMMANDS_NAMESPACE "/mail-reader"
+#define MN_CONF_COMMANDS_MAIL_READER_ENABLED \
+ MN_CONF_COMMANDS_MAIL_READER_NAMESPACE "/enabled"
+#define MN_CONF_COMMANDS_MAIL_READER_COMMAND \
+ MN_CONF_COMMANDS_MAIL_READER_NAMESPACE "/command"
#define MN_CONF_COMMANDS_CLICKED_NAMESPACE \
MN_CONF_COMMANDS_NAMESPACE "/clicked" /* obsolete */
#define MN_CONF_COMMANDS_CLICKED_ENABLED \
@@ -115,6 +121,10 @@
MN_CONF_MAIL_SUMMARY_POPUP_OFFSET_NAMESPACE "/horizontal"
#define MN_CONF_MAIL_SUMMARY_POPUP_VERTICAL_OFFSET \
MN_CONF_MAIL_SUMMARY_POPUP_OFFSET_NAMESPACE "/vertical"
+#define MN_CONF_MAIL_SUMMARY_POPUP_ONLY_RECENT \
+ MN_CONF_MAIL_SUMMARY_POPUP_NAMESPACE "/only-recent"
+#define MN_CONF_DOUBLE_CLICK_ACTION \
+ MN_CONF_NAMESPACE "/double-click-action"
void mn_conf_init (void);
void mn_conf_unset_obsolete (void);
@@ -127,11 +137,19 @@ void mn_conf_link (GtkWidget *widget,
void mn_conf_link_combo_box_to_string (GtkComboBox *combo,
int string_column,
const char *key);
+void mn_conf_link_radio_group_to_enum (GType enum_type,
+ const char *key,
+ ...);
gboolean mn_conf_get_autostart (void);
void mn_conf_set_autostart (gboolean autostart);
-GEnumValue *mn_conf_get_enum_value (GType enum_type,
+int mn_conf_get_enum_value (GType enum_type,
const char *key);
+void mn_conf_notification_add (gpointer object,
+ const char *key,
+ GConfClientNotifyFunc callback,
+ gpointer user_data);
+
#endif /* _MN_CONF_H */
diff --git a/src/mn-gmail-mailbox-private.h b/src/mn-gmail-mailbox-private.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#ifndef __MN_GMAIL_MAILBOX_PRIVATE_H__
#define __MN_GMAIL_MAILBOX_PRIVATE_H__
@@ -16,9 +16,9 @@ extern "C" {
#line 18 "mn-gmail-mailbox-private.h"
struct _MNGmailMailboxPrivate {
-#line 46 "mn-gmail-mailbox.gob"
+#line 64 "mn-gmail-mailbox.gob"
GHashTable * cookies;
-#line 47 "mn-gmail-mailbox.gob"
+#line 65 "mn-gmail-mailbox.gob"
gboolean logged_in;
#line 24 "mn-gmail-mailbox-private.h"
};
diff --git a/src/mn-gmail-mailbox-properties-private.h b/src/mn-gmail-mailbox-properties-private.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#ifndef __MN_GMAIL_MAILBOX_PROPERTIES_PRIVATE_H__
#define __MN_GMAIL_MAILBOX_PROPERTIES_PRIVATE_H__
diff --git a/src/mn-gmail-mailbox-properties.c b/src/mn-gmail-mailbox-properties.c
@@ -1,11 +1,11 @@
-/* Generated by GOB (v2.0.10) on Mon Oct 25 15:24:33 2004
+/* Generated by GOB (v2.0.11) on Sun Oct 31 18:41:21 2004
(do not edit directly) */
/* End world hunger, donate to the World Food Programme, http://www.wfp.org */
#define GOB_VERSION_MAJOR 2
#define GOB_VERSION_MINOR 0
-#define GOB_VERSION_PATCHLEVEL 10
+#define GOB_VERSION_PATCHLEVEL 11
#define selfp (self->_priv)
@@ -167,7 +167,7 @@ mn_gmail_mailbox_properties_init (MNGmailMailboxProperties * o G_GNUC_UNUSED)
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox:Properties::init"
o->_priv = G_TYPE_INSTANCE_GET_PRIVATE(o,TYPE_SELF,MNGmailMailboxPropertiesPrivate);
#line 52 "mn-gmail-mailbox-properties.gob"
- o->_priv->tooltips = mn_tooltips_new();
+ o->_priv->tooltips = mn_gtk_tooltips_new();
#line 172 "mn-gmail-mailbox-properties.c"
}
#undef __GOB_FUNCTION__
@@ -318,10 +318,10 @@ ___1_mn_gmail_mailbox_properties_constructor (GType type G_GNUC_UNUSED, guint n_
gtk_size_group_add_widget(selfp->size_group, label1);
gtk_size_group_add_widget(selfp->size_group, label2);
- mn_tooltips_set_tips(selfp->tooltips,
- selfp->username_entry, _("Your Gmail username"),
- selfp->password_entry, _("Your Gmail password (if left blank, you will be prompted for the password when needed)"),
- NULL);
+ mn_gtk_tooltips_set_tips(selfp->tooltips,
+ selfp->username_entry, _("Your Gmail username"),
+ selfp->password_entry, _("Your Gmail password (if left blank, you will be prompted for the password when needed)"),
+ NULL);
mn_mailbox_properties_link_entries(GTK_ENTRY(selfp->username_entry),
GTK_ENTRY(selfp->password_entry),
diff --git a/src/mn-gmail-mailbox-properties.gob b/src/mn-gmail-mailbox-properties.gob
@@ -49,7 +49,7 @@ class MN:Gmail:Mailbox:Properties from Gtk:VBox (interface MN:Mailbox:Properties
private GtkWidget *username_entry;
private GtkWidget *password_entry;
- private GtkTooltips *tooltips = {mn_tooltips_new()} unrefwith g_object_unref;
+ private GtkTooltips *tooltips = {mn_gtk_tooltips_new()} unrefwith g_object_unref;
override (G:Object) GObject *
constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params)
@@ -73,10 +73,10 @@ class MN:Gmail:Mailbox:Properties from Gtk:VBox (interface MN:Mailbox:Properties
gtk_size_group_add_widget(selfp->size_group, label1);
gtk_size_group_add_widget(selfp->size_group, label2);
- mn_tooltips_set_tips(selfp->tooltips,
- selfp->username_entry, _("Your Gmail username"),
- selfp->password_entry, _("Your Gmail password (if left blank, you will be prompted for the password when needed)"),
- NULL);
+ mn_gtk_tooltips_set_tips(selfp->tooltips,
+ selfp->username_entry, _("Your Gmail username"),
+ selfp->password_entry, _("Your Gmail password (if left blank, you will be prompted for the password when needed)"),
+ NULL);
mn_mailbox_properties_link_entries(GTK_ENTRY(selfp->username_entry),
GTK_ENTRY(selfp->password_entry),
diff --git a/src/mn-gmail-mailbox-properties.h b/src/mn-gmail-mailbox-properties.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
diff --git a/src/mn-gmail-mailbox.c b/src/mn-gmail-mailbox.c
@@ -1,11 +1,11 @@
-/* Generated by GOB (v2.0.10) on Mon Oct 25 15:24:33 2004
+/* Generated by GOB (v2.0.11) on Sun Oct 31 18:41:21 2004
(do not edit directly) */
/* End world hunger, donate to the World Food Programme, http://www.wfp.org */
#define GOB_VERSION_MAJOR 2
#define GOB_VERSION_MINOR 0
-#define GOB_VERSION_PATCHLEVEL 10
+#define GOB_VERSION_PATCHLEVEL 11
#define selfp (self->_priv)
@@ -26,17 +26,35 @@
#include "config.h"
#include <stdio.h>
#include <string.h>
+#include <stdarg.h>
#include <time.h>
#ifdef TM_IN_SYS_TIME
#include <sys/time.h>
#endif
#include <glib/gi18n.h>
+#include <eel/eel.h>
#include "mn-mailbox-private.h"
#include "mn-util.h"
#include "mn-stock.h"
#include "mn-sgml-ref.h"
-#line 40 "mn-gmail-mailbox.c"
+ typedef enum
+ {
+ JS_ARG_STRING,
+ JS_ARG_LIST
+ } JSArgType;
+
+ typedef struct
+ {
+ JSArgType type;
+ union
+ {
+ char *string;
+ GSList *list;
+ } value;
+ } JSArg;
+
+#line 58 "mn-gmail-mailbox.c"
/* self casting macros */
#define SELF(x) MN_GMAIL_MAILBOX(x)
#define SELF_CONST(x) MN_GMAIL_MAILBOX_CONST(x)
@@ -63,12 +81,19 @@ static void mn_gmail_mailbox_dump_request (MNGmailMailbox * self, SoupMessage *
static void mn_gmail_mailbox_dump_request_cb (gpointer key, gpointer value, gpointer user_data) G_GNUC_UNUSED;
static void mn_gmail_mailbox_dump_response (MNGmailMailbox * self, SoupMessage * message, const char * body) G_GNUC_UNUSED;
static void mn_gmail_mailbox_dump_response_cb (gpointer key, gpointer value, gpointer user_data) G_GNUC_UNUSED;
-static char * mn_gmail_mailbox_get_token (const char * str, const char * pre, const char * post, gboolean include_pre, gboolean include_post) G_GNUC_UNUSED;
+static char * mn_gmail_mailbox_get_substring (const char * str, const char * pre, const char * post, gboolean include_pre, gboolean include_post) G_GNUC_UNUSED;
static gboolean mn_gmail_mailbox_login (MNGmailMailbox * self, SoupSession * session, gboolean * authentication_failed, GError ** err) G_GNUC_UNUSED;
static void mn_gmail_mailbox_update_cookies (MNGmailMailbox * self, SoupMessage * message) G_GNUC_UNUSED;
static char * mn_gmail_mailbox_build_cookie (MNGmailMailbox * self) G_GNUC_UNUSED;
static void mn_gmail_mailbox_build_cookie_cb (gpointer key, gpointer value, gpointer user_data) G_GNUC_UNUSED;
static gboolean mn_gmail_mailbox_check (MNGmailMailbox * self, SoupSession * session, GError ** err) G_GNUC_UNUSED;
+static void mn_gmail_mailbox_append_message (MNGmailMailbox * self, GSList ** messages, JSArg * arg) G_GNUC_UNUSED;
+static gboolean mn_gmail_mailbox_js_get_arg_list (char ** str, GSList ** list) G_GNUC_UNUSED;
+static gboolean mn_gmail_mailbox_js_arg_list_scan (GSList * list, ...) G_GNUC_UNUSED;
+static void mn_gmail_mailbox_js_arg_list_free (GSList * list) G_GNUC_UNUSED;
+static JSArg * mn_gmail_mailbox_js_arg_new_string (const char * string) G_GNUC_UNUSED;
+static JSArg * mn_gmail_mailbox_js_arg_new_list (GSList * list) G_GNUC_UNUSED;
+static void mn_gmail_mailbox_js_arg_free (JSArg * arg) G_GNUC_UNUSED;
static time_t mn_gmail_mailbox_parse_date (const char * date) G_GNUC_UNUSED;
/* pointer to the class of our parent */
@@ -82,12 +107,19 @@ static MNAuthenticatedMailboxClass *parent_class = NULL;
#define self_dump_request_cb mn_gmail_mailbox_dump_request_cb
#define self_dump_response mn_gmail_mailbox_dump_response
#define self_dump_response_cb mn_gmail_mailbox_dump_response_cb
-#define self_get_token mn_gmail_mailbox_get_token
+#define self_get_substring mn_gmail_mailbox_get_substring
#define self_login mn_gmail_mailbox_login
#define self_update_cookies mn_gmail_mailbox_update_cookies
#define self_build_cookie mn_gmail_mailbox_build_cookie
#define self_build_cookie_cb mn_gmail_mailbox_build_cookie_cb
#define self_check mn_gmail_mailbox_check
+#define self_append_message mn_gmail_mailbox_append_message
+#define self_js_get_arg_list mn_gmail_mailbox_js_get_arg_list
+#define self_js_arg_list_scan mn_gmail_mailbox_js_arg_list_scan
+#define self_js_arg_list_free mn_gmail_mailbox_js_arg_list_free
+#define self_js_arg_new_string mn_gmail_mailbox_js_arg_new_string
+#define self_js_arg_new_list mn_gmail_mailbox_js_arg_new_list
+#define self_js_arg_free mn_gmail_mailbox_js_arg_free
#define self_parse_date mn_gmail_mailbox_parse_date
GType
mn_gmail_mailbox_get_type (void)
@@ -140,9 +172,9 @@ ___finalize(GObject *obj_self)
gpointer priv G_GNUC_UNUSED = self->_priv;
if(G_OBJECT_CLASS(parent_class)->finalize) \
(* G_OBJECT_CLASS(parent_class)->finalize)(obj_self);
-#line 46 "mn-gmail-mailbox.gob"
+#line 64 "mn-gmail-mailbox.gob"
if(self->_priv->cookies) { g_hash_table_destroy ((gpointer) self->_priv->cookies); self->_priv->cookies = NULL; }
-#line 146 "mn-gmail-mailbox.c"
+#line 178 "mn-gmail-mailbox.c"
}
#undef __GOB_FUNCTION__
@@ -153,45 +185,45 @@ mn_gmail_mailbox_init (MNGmailMailbox * o G_GNUC_UNUSED)
o->_priv = G_TYPE_INSTANCE_GET_PRIVATE(o,TYPE_SELF,MNGmailMailboxPrivate);
}
#undef __GOB_FUNCTION__
-#line 49 "mn-gmail-mailbox.gob"
+#line 67 "mn-gmail-mailbox.gob"
static void
mn_gmail_mailbox_class_init (MNGmailMailboxClass * class G_GNUC_UNUSED)
-#line 160 "mn-gmail-mailbox.c"
+#line 192 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::class_init"
GObjectClass *g_object_class G_GNUC_UNUSED = (GObjectClass*) class;
-
- g_type_class_add_private(class,sizeof(MNGmailMailboxPrivate));
MNMailboxClass *mn_mailbox_class = (MNMailboxClass *)class;
MNAuthenticatedMailboxClass *mn_authenticated_mailbox_class = (MNAuthenticatedMailboxClass *)class;
+ g_type_class_add_private(class,sizeof(MNGmailMailboxPrivate));
+
parent_class = g_type_class_ref (MN_TYPE_AUTHENTICATED_MAILBOX);
-#line 55 "mn-gmail-mailbox.gob"
+#line 73 "mn-gmail-mailbox.gob"
g_object_class->constructor = ___2_mn_gmail_mailbox_constructor;
-#line 68 "mn-gmail-mailbox.gob"
+#line 86 "mn-gmail-mailbox.gob"
mn_mailbox_class->impl_is = ___3_mn_gmail_mailbox_impl_is;
-#line 74 "mn-gmail-mailbox.gob"
+#line 92 "mn-gmail-mailbox.gob"
mn_authenticated_mailbox_class->impl_authenticated_check = ___4_mn_gmail_mailbox_impl_authenticated_check;
-#line 177 "mn-gmail-mailbox.c"
+#line 209 "mn-gmail-mailbox.c"
g_object_class->finalize = ___finalize;
{
-#line 50 "mn-gmail-mailbox.gob"
+#line 68 "mn-gmail-mailbox.gob"
MN_MAILBOX_CLASS(class)->stock_id = MN_STOCK_GMAIL;
MN_MAILBOX_CLASS(class)->format = "Gmail";
-#line 185 "mn-gmail-mailbox.c"
+#line 217 "mn-gmail-mailbox.c"
}
}
#undef __GOB_FUNCTION__
-#line 55 "mn-gmail-mailbox.gob"
+#line 73 "mn-gmail-mailbox.gob"
static GObject *
___2_mn_gmail_mailbox_constructor (GType type G_GNUC_UNUSED, guint n_construct_properties, GObjectConstructParam * construct_params)
-#line 195 "mn-gmail-mailbox.c"
+#line 227 "mn-gmail-mailbox.c"
#define PARENT_HANDLER(___type,___n_construct_properties,___construct_params) \
((G_OBJECT_CLASS(parent_class)->constructor)? \
(* G_OBJECT_CLASS(parent_class)->constructor)(___type,___n_construct_properties,___construct_params): \
@@ -199,7 +231,7 @@ ___2_mn_gmail_mailbox_constructor (GType type G_GNUC_UNUSED, guint n_construct_p
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::constructor"
{
-#line 57 "mn-gmail-mailbox.gob"
+#line 75 "mn-gmail-mailbox.gob"
GObject *object;
@@ -210,51 +242,51 @@ ___2_mn_gmail_mailbox_constructor (GType type G_GNUC_UNUSED, guint n_construct_p
return object;
}}
-#line 214 "mn-gmail-mailbox.c"
+#line 246 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
#undef PARENT_HANDLER
-#line 68 "mn-gmail-mailbox.gob"
+#line 86 "mn-gmail-mailbox.gob"
static gboolean
___3_mn_gmail_mailbox_impl_is (MNMailbox * dummy G_GNUC_UNUSED, MNURI * uri)
-#line 221 "mn-gmail-mailbox.c"
+#line 253 "mn-gmail-mailbox.c"
#define PARENT_HANDLER(___dummy,___uri) \
((MN_MAILBOX_CLASS(parent_class)->impl_is)? \
(* MN_MAILBOX_CLASS(parent_class)->impl_is)(___dummy,___uri): \
((gboolean )0))
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::impl_is"
-#line 68 "mn-gmail-mailbox.gob"
+#line 86 "mn-gmail-mailbox.gob"
g_return_val_if_fail (uri != NULL, (gboolean )0);
-#line 68 "mn-gmail-mailbox.gob"
+#line 86 "mn-gmail-mailbox.gob"
g_return_val_if_fail (MN_IS_URI (uri), (gboolean )0);
-#line 232 "mn-gmail-mailbox.c"
+#line 264 "mn-gmail-mailbox.c"
{
-#line 70 "mn-gmail-mailbox.gob"
+#line 88 "mn-gmail-mailbox.gob"
return MN_URI_IS_GMAIL(uri);
}}
-#line 238 "mn-gmail-mailbox.c"
+#line 270 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
#undef PARENT_HANDLER
-#line 74 "mn-gmail-mailbox.gob"
+#line 92 "mn-gmail-mailbox.gob"
static MNAuthenticatedMailboxResult
___4_mn_gmail_mailbox_impl_authenticated_check (MNAuthenticatedMailbox * authenticated_mailbox G_GNUC_UNUSED, GError ** err)
-#line 245 "mn-gmail-mailbox.c"
+#line 277 "mn-gmail-mailbox.c"
#define PARENT_HANDLER(___authenticated_mailbox,___err) \
((MN_AUTHENTICATED_MAILBOX_CLASS(parent_class)->impl_authenticated_check)? \
(* MN_AUTHENTICATED_MAILBOX_CLASS(parent_class)->impl_authenticated_check)(___authenticated_mailbox,___err): \
((MNAuthenticatedMailboxResult )0))
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::impl_authenticated_check"
-#line 74 "mn-gmail-mailbox.gob"
+#line 92 "mn-gmail-mailbox.gob"
g_return_val_if_fail (authenticated_mailbox != NULL, (MNAuthenticatedMailboxResult )0);
-#line 74 "mn-gmail-mailbox.gob"
+#line 92 "mn-gmail-mailbox.gob"
g_return_val_if_fail (MN_IS_AUTHENTICATED_MAILBOX (authenticated_mailbox), (MNAuthenticatedMailboxResult )0);
-#line 256 "mn-gmail-mailbox.c"
+#line 288 "mn-gmail-mailbox.c"
{
-#line 77 "mn-gmail-mailbox.gob"
+#line 95 "mn-gmail-mailbox.gob"
Self *self = SELF(authenticated_mailbox);
SoupSession *session;
@@ -275,21 +307,21 @@ ___4_mn_gmail_mailbox_impl_authenticated_check (MNAuthenticatedMailbox * authent
return result;
}}
-#line 279 "mn-gmail-mailbox.c"
+#line 311 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
#undef PARENT_HANDLER
-#line 98 "mn-gmail-mailbox.gob"
+#line 116 "mn-gmail-mailbox.gob"
static SoupUri *
mn_gmail_mailbox_soup_uri_new (const char * text_uri, GError ** err)
-#line 286 "mn-gmail-mailbox.c"
+#line 318 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::soup_uri_new"
-#line 98 "mn-gmail-mailbox.gob"
+#line 116 "mn-gmail-mailbox.gob"
g_return_val_if_fail (text_uri != NULL, (SoupUri * )0);
-#line 291 "mn-gmail-mailbox.c"
+#line 323 "mn-gmail-mailbox.c"
{
-#line 100 "mn-gmail-mailbox.gob"
+#line 118 "mn-gmail-mailbox.gob"
SoupUri *uri;
@@ -299,28 +331,28 @@ mn_gmail_mailbox_soup_uri_new (const char * text_uri, GError ** err)
return uri;
}}
-#line 303 "mn-gmail-mailbox.c"
+#line 335 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 110 "mn-gmail-mailbox.gob"
+#line 128 "mn-gmail-mailbox.gob"
static char *
mn_gmail_mailbox_get (MNGmailMailbox * self, SoupSession * session, const char * text_uri, GError ** err)
-#line 309 "mn-gmail-mailbox.c"
+#line 341 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::get"
-#line 110 "mn-gmail-mailbox.gob"
+#line 128 "mn-gmail-mailbox.gob"
g_return_val_if_fail (self != NULL, (char * )0);
-#line 110 "mn-gmail-mailbox.gob"
+#line 128 "mn-gmail-mailbox.gob"
g_return_val_if_fail (MN_IS_GMAIL_MAILBOX (self), (char * )0);
-#line 110 "mn-gmail-mailbox.gob"
+#line 128 "mn-gmail-mailbox.gob"
g_return_val_if_fail (session != NULL, (char * )0);
-#line 110 "mn-gmail-mailbox.gob"
+#line 128 "mn-gmail-mailbox.gob"
g_return_val_if_fail (SOUP_IS_SESSION (session), (char * )0);
-#line 110 "mn-gmail-mailbox.gob"
+#line 128 "mn-gmail-mailbox.gob"
g_return_val_if_fail (text_uri != NULL, (char * )0);
-#line 322 "mn-gmail-mailbox.c"
+#line 354 "mn-gmail-mailbox.c"
{
-#line 115 "mn-gmail-mailbox.gob"
+#line 133 "mn-gmail-mailbox.gob"
SoupUri *uri;
char *body;
@@ -334,28 +366,28 @@ mn_gmail_mailbox_get (MNGmailMailbox * self, SoupSession * session, const char *
return body;
}}
-#line 338 "mn-gmail-mailbox.c"
+#line 370 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 129 "mn-gmail-mailbox.gob"
+#line 147 "mn-gmail-mailbox.gob"
static char *
mn_gmail_mailbox_get_from_uri (MNGmailMailbox * self, SoupSession * session, SoupUri * uri, GError ** err)
-#line 344 "mn-gmail-mailbox.c"
+#line 376 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::get_from_uri"
-#line 129 "mn-gmail-mailbox.gob"
+#line 147 "mn-gmail-mailbox.gob"
g_return_val_if_fail (self != NULL, (char * )0);
-#line 129 "mn-gmail-mailbox.gob"
+#line 147 "mn-gmail-mailbox.gob"
g_return_val_if_fail (MN_IS_GMAIL_MAILBOX (self), (char * )0);
-#line 129 "mn-gmail-mailbox.gob"
+#line 147 "mn-gmail-mailbox.gob"
g_return_val_if_fail (session != NULL, (char * )0);
-#line 129 "mn-gmail-mailbox.gob"
+#line 147 "mn-gmail-mailbox.gob"
g_return_val_if_fail (SOUP_IS_SESSION (session), (char * )0);
-#line 129 "mn-gmail-mailbox.gob"
+#line 147 "mn-gmail-mailbox.gob"
g_return_val_if_fail (uri != NULL, (char * )0);
-#line 357 "mn-gmail-mailbox.c"
+#line 389 "mn-gmail-mailbox.c"
{
-#line 134 "mn-gmail-mailbox.gob"
+#line 152 "mn-gmail-mailbox.gob"
SoupMessage *message;
char *cookie;
@@ -387,26 +419,26 @@ mn_gmail_mailbox_get_from_uri (MNGmailMailbox * self, SoupSession * session, Sou
return body;
}}
-#line 391 "mn-gmail-mailbox.c"
+#line 423 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 166 "mn-gmail-mailbox.gob"
+#line 184 "mn-gmail-mailbox.gob"
static void
mn_gmail_mailbox_dump_request (MNGmailMailbox * self, SoupMessage * message)
-#line 397 "mn-gmail-mailbox.c"
+#line 429 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::dump_request"
-#line 166 "mn-gmail-mailbox.gob"
+#line 184 "mn-gmail-mailbox.gob"
g_return_if_fail (self != NULL);
-#line 166 "mn-gmail-mailbox.gob"
+#line 184 "mn-gmail-mailbox.gob"
g_return_if_fail (MN_IS_GMAIL_MAILBOX (self));
-#line 166 "mn-gmail-mailbox.gob"
+#line 184 "mn-gmail-mailbox.gob"
g_return_if_fail (message != NULL);
-#line 166 "mn-gmail-mailbox.gob"
+#line 184 "mn-gmail-mailbox.gob"
g_return_if_fail (SOUP_IS_MESSAGE (message));
-#line 408 "mn-gmail-mailbox.c"
+#line 440 "mn-gmail-mailbox.c"
{
-#line 168 "mn-gmail-mailbox.gob"
+#line 186 "mn-gmail-mailbox.gob"
const SoupUri *suri;
char *uri;
@@ -418,24 +450,24 @@ mn_gmail_mailbox_dump_request (MNGmailMailbox * self, SoupMessage * message)
soup_message_foreach_header(message->request_headers, self_dump_request_cb, self);
}}
-#line 422 "mn-gmail-mailbox.c"
+#line 454 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 180 "mn-gmail-mailbox.gob"
+#line 198 "mn-gmail-mailbox.gob"
static void
mn_gmail_mailbox_dump_request_cb (gpointer key, gpointer value, gpointer user_data)
-#line 428 "mn-gmail-mailbox.c"
+#line 460 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::dump_request_cb"
-#line 180 "mn-gmail-mailbox.gob"
+#line 198 "mn-gmail-mailbox.gob"
g_return_if_fail (key != NULL);
-#line 180 "mn-gmail-mailbox.gob"
+#line 198 "mn-gmail-mailbox.gob"
g_return_if_fail (value != NULL);
-#line 180 "mn-gmail-mailbox.gob"
+#line 198 "mn-gmail-mailbox.gob"
g_return_if_fail (user_data != NULL);
-#line 437 "mn-gmail-mailbox.c"
+#line 469 "mn-gmail-mailbox.c"
{
-#line 184 "mn-gmail-mailbox.gob"
+#line 202 "mn-gmail-mailbox.gob"
Self *self = user_data;
const char *header_name = key;
@@ -443,28 +475,28 @@ mn_gmail_mailbox_dump_request_cb (gpointer key, gpointer value, gpointer user_da
mn_mailbox_notice(MN_MAILBOX(self), "> %s: %s", header_name, header_value);
}}
-#line 447 "mn-gmail-mailbox.c"
+#line 479 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 192 "mn-gmail-mailbox.gob"
+#line 210 "mn-gmail-mailbox.gob"
static void
mn_gmail_mailbox_dump_response (MNGmailMailbox * self, SoupMessage * message, const char * body)
-#line 453 "mn-gmail-mailbox.c"
+#line 485 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::dump_response"
-#line 192 "mn-gmail-mailbox.gob"
+#line 210 "mn-gmail-mailbox.gob"
g_return_if_fail (self != NULL);
-#line 192 "mn-gmail-mailbox.gob"
+#line 210 "mn-gmail-mailbox.gob"
g_return_if_fail (MN_IS_GMAIL_MAILBOX (self));
-#line 192 "mn-gmail-mailbox.gob"
+#line 210 "mn-gmail-mailbox.gob"
g_return_if_fail (message != NULL);
-#line 192 "mn-gmail-mailbox.gob"
+#line 210 "mn-gmail-mailbox.gob"
g_return_if_fail (SOUP_IS_MESSAGE (message));
-#line 192 "mn-gmail-mailbox.gob"
+#line 210 "mn-gmail-mailbox.gob"
g_return_if_fail (body != NULL);
-#line 466 "mn-gmail-mailbox.c"
+#line 498 "mn-gmail-mailbox.c"
{
-#line 196 "mn-gmail-mailbox.gob"
+#line 214 "mn-gmail-mailbox.gob"
char **lines;
int i;
@@ -476,24 +508,24 @@ mn_gmail_mailbox_dump_response (MNGmailMailbox * self, SoupMessage * message, co
mn_mailbox_notice(MN_MAILBOX(self), "< %s", lines[i]);
g_strfreev(lines);
}}
-#line 480 "mn-gmail-mailbox.c"
+#line 512 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 208 "mn-gmail-mailbox.gob"
+#line 226 "mn-gmail-mailbox.gob"
static void
mn_gmail_mailbox_dump_response_cb (gpointer key, gpointer value, gpointer user_data)
-#line 486 "mn-gmail-mailbox.c"
+#line 518 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::dump_response_cb"
-#line 208 "mn-gmail-mailbox.gob"
+#line 226 "mn-gmail-mailbox.gob"
g_return_if_fail (key != NULL);
-#line 208 "mn-gmail-mailbox.gob"
+#line 226 "mn-gmail-mailbox.gob"
g_return_if_fail (value != NULL);
-#line 208 "mn-gmail-mailbox.gob"
+#line 226 "mn-gmail-mailbox.gob"
g_return_if_fail (user_data != NULL);
-#line 495 "mn-gmail-mailbox.c"
+#line 527 "mn-gmail-mailbox.c"
{
-#line 212 "mn-gmail-mailbox.gob"
+#line 230 "mn-gmail-mailbox.gob"
Self *self = user_data;
const char *header_name = key;
@@ -501,39 +533,39 @@ mn_gmail_mailbox_dump_response_cb (gpointer key, gpointer value, gpointer user_d
mn_mailbox_notice(MN_MAILBOX(self), "< %s: %s", header_name, header_value);
}}
-#line 505 "mn-gmail-mailbox.c"
+#line 537 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
/**
- * mn_gmail_mailbox_get_token:
+ * mn_gmail_mailbox_get_substring:
* @str: the string to search
- * @pre: the start of the token
- * @post: the end of the token
+ * @pre: the start of the substring
+ * @post: the end of the substring
* @include_pre: whether to include @pre in the result or not
* @include_post: whether to include @post in the result or not
*
- * Gets the first token of @str included between @pre and @post.
+ * Gets the first substring of @str included between @pre and @post.
*
- * Return value: a newly allocated string containing the token or
- * %NULL if not found.
+ * Return value: a newly allocated string containing the substring
+ * or %NULL if not found.
**/
-#line 233 "mn-gmail-mailbox.gob"
+#line 251 "mn-gmail-mailbox.gob"
static char *
-mn_gmail_mailbox_get_token (const char * str, const char * pre, const char * post, gboolean include_pre, gboolean include_post)
-#line 524 "mn-gmail-mailbox.c"
+mn_gmail_mailbox_get_substring (const char * str, const char * pre, const char * post, gboolean include_pre, gboolean include_post)
+#line 556 "mn-gmail-mailbox.c"
{
-#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::get_token"
-#line 233 "mn-gmail-mailbox.gob"
+#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::get_substring"
+#line 251 "mn-gmail-mailbox.gob"
g_return_val_if_fail (str != NULL, (char * )0);
-#line 233 "mn-gmail-mailbox.gob"
+#line 251 "mn-gmail-mailbox.gob"
g_return_val_if_fail (pre != NULL, (char * )0);
-#line 233 "mn-gmail-mailbox.gob"
+#line 251 "mn-gmail-mailbox.gob"
g_return_val_if_fail (post != NULL, (char * )0);
-#line 533 "mn-gmail-mailbox.c"
+#line 565 "mn-gmail-mailbox.c"
{
-#line 239 "mn-gmail-mailbox.gob"
+#line 257 "mn-gmail-mailbox.gob"
- char *token = NULL;
+ char *sub = NULL;
char *pre_loc;
pre_loc = strstr(str, pre);
@@ -549,34 +581,34 @@ mn_gmail_mailbox_get_token (const char * str, const char * pre, const char * pos
char *start = include_pre ? pre_loc : after_pre_loc;
char *end = include_post ? post_loc + strlen(post) : post_loc;
- token = g_strndup(start, end - start);
+ sub = g_strndup(start, end - start);
}
}
- return token;
+ return sub;
}}
-#line 559 "mn-gmail-mailbox.c"
+#line 591 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 263 "mn-gmail-mailbox.gob"
+#line 281 "mn-gmail-mailbox.gob"
static gboolean
mn_gmail_mailbox_login (MNGmailMailbox * self, SoupSession * session, gboolean * authentication_failed, GError ** err)
-#line 565 "mn-gmail-mailbox.c"
+#line 597 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::login"
-#line 263 "mn-gmail-mailbox.gob"
+#line 281 "mn-gmail-mailbox.gob"
g_return_val_if_fail (self != NULL, (gboolean )0);
-#line 263 "mn-gmail-mailbox.gob"
+#line 281 "mn-gmail-mailbox.gob"
g_return_val_if_fail (MN_IS_GMAIL_MAILBOX (self), (gboolean )0);
-#line 263 "mn-gmail-mailbox.gob"
+#line 281 "mn-gmail-mailbox.gob"
g_return_val_if_fail (session != NULL, (gboolean )0);
-#line 263 "mn-gmail-mailbox.gob"
+#line 281 "mn-gmail-mailbox.gob"
g_return_val_if_fail (SOUP_IS_SESSION (session), (gboolean )0);
-#line 263 "mn-gmail-mailbox.gob"
+#line 281 "mn-gmail-mailbox.gob"
g_return_val_if_fail (authentication_failed != NULL, (gboolean )0);
-#line 578 "mn-gmail-mailbox.c"
+#line 610 "mn-gmail-mailbox.c"
{
-#line 268 "mn-gmail-mailbox.gob"
+#line 286 "mn-gmail-mailbox.gob"
char *text_uri;
char *escaped_username;
@@ -609,7 +641,7 @@ mn_gmail_mailbox_login (MNGmailMailbox * self, SoupSession * session, gboolean *
if (! body)
return FALSE;
- next_location = self_get_token(body, "top.location = \"", "\"", FALSE, FALSE);
+ next_location = self_get_substring(body, "top.location = \"", "\"", FALSE, FALSE);
g_free(body);
if (! next_location)
@@ -651,7 +683,7 @@ mn_gmail_mailbox_login (MNGmailMailbox * self, SoupSession * session, gboolean *
if (! body)
return FALSE;
- next_location = self_get_token(body, "location.replace(\"", "\")", FALSE, FALSE);
+ next_location = self_get_substring(body, "location.replace(\"", "\")", FALSE, FALSE);
g_free(body);
if (! next_location)
@@ -670,26 +702,26 @@ mn_gmail_mailbox_login (MNGmailMailbox * self, SoupSession * session, gboolean *
g_set_error(err, 0, 0, _("login failed"));
return FALSE;
}}
-#line 674 "mn-gmail-mailbox.c"
+#line 706 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 362 "mn-gmail-mailbox.gob"
+#line 380 "mn-gmail-mailbox.gob"
static void
mn_gmail_mailbox_update_cookies (MNGmailMailbox * self, SoupMessage * message)
-#line 680 "mn-gmail-mailbox.c"
+#line 712 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::update_cookies"
-#line 362 "mn-gmail-mailbox.gob"
+#line 380 "mn-gmail-mailbox.gob"
g_return_if_fail (self != NULL);
-#line 362 "mn-gmail-mailbox.gob"
+#line 380 "mn-gmail-mailbox.gob"
g_return_if_fail (MN_IS_GMAIL_MAILBOX (self));
-#line 362 "mn-gmail-mailbox.gob"
+#line 380 "mn-gmail-mailbox.gob"
g_return_if_fail (message != NULL);
-#line 362 "mn-gmail-mailbox.gob"
+#line 380 "mn-gmail-mailbox.gob"
g_return_if_fail (SOUP_IS_MESSAGE (message));
-#line 691 "mn-gmail-mailbox.c"
+#line 723 "mn-gmail-mailbox.c"
{
-#line 364 "mn-gmail-mailbox.gob"
+#line 382 "mn-gmail-mailbox.gob"
const GSList *set_cookie_headers;
const GSList *l;
@@ -718,22 +750,22 @@ mn_gmail_mailbox_update_cookies (MNGmailMailbox * self, SoupMessage * message)
}
}
}}
-#line 722 "mn-gmail-mailbox.c"
+#line 754 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 393 "mn-gmail-mailbox.gob"
+#line 411 "mn-gmail-mailbox.gob"
static char *
mn_gmail_mailbox_build_cookie (MNGmailMailbox * self)
-#line 728 "mn-gmail-mailbox.c"
+#line 760 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::build_cookie"
-#line 393 "mn-gmail-mailbox.gob"
+#line 411 "mn-gmail-mailbox.gob"
g_return_val_if_fail (self != NULL, (char * )0);
-#line 393 "mn-gmail-mailbox.gob"
+#line 411 "mn-gmail-mailbox.gob"
g_return_val_if_fail (MN_IS_GMAIL_MAILBOX (self), (char * )0);
-#line 735 "mn-gmail-mailbox.c"
+#line 767 "mn-gmail-mailbox.c"
{
-#line 395 "mn-gmail-mailbox.gob"
+#line 413 "mn-gmail-mailbox.gob"
GString *cookie;
char *str;
@@ -751,17 +783,17 @@ mn_gmail_mailbox_build_cookie (MNGmailMailbox * self)
return str;
}}
-#line 755 "mn-gmail-mailbox.c"
+#line 787 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 413 "mn-gmail-mailbox.gob"
+#line 431 "mn-gmail-mailbox.gob"
static void
mn_gmail_mailbox_build_cookie_cb (gpointer key, gpointer value, gpointer user_data)
-#line 761 "mn-gmail-mailbox.c"
+#line 793 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::build_cookie_cb"
{
-#line 415 "mn-gmail-mailbox.gob"
+#line 433 "mn-gmail-mailbox.gob"
GString *cookie = user_data;
@@ -770,29 +802,29 @@ mn_gmail_mailbox_build_cookie_cb (gpointer key, gpointer value, gpointer user_da
g_string_append_printf(cookie, "%s=%s", (const char *) key, (const char *) value);
}}
-#line 774 "mn-gmail-mailbox.c"
+#line 806 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 424 "mn-gmail-mailbox.gob"
+#line 442 "mn-gmail-mailbox.gob"
static gboolean
mn_gmail_mailbox_check (MNGmailMailbox * self, SoupSession * session, GError ** err)
-#line 780 "mn-gmail-mailbox.c"
+#line 812 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::check"
-#line 424 "mn-gmail-mailbox.gob"
+#line 442 "mn-gmail-mailbox.gob"
g_return_val_if_fail (self != NULL, (gboolean )0);
-#line 424 "mn-gmail-mailbox.gob"
+#line 442 "mn-gmail-mailbox.gob"
g_return_val_if_fail (MN_IS_GMAIL_MAILBOX (self), (gboolean )0);
-#line 424 "mn-gmail-mailbox.gob"
+#line 442 "mn-gmail-mailbox.gob"
g_return_val_if_fail (session != NULL, (gboolean )0);
-#line 424 "mn-gmail-mailbox.gob"
+#line 442 "mn-gmail-mailbox.gob"
g_return_val_if_fail (SOUP_IS_SESSION (session), (gboolean )0);
-#line 791 "mn-gmail-mailbox.c"
+#line 823 "mn-gmail-mailbox.c"
{
-#line 426 "mn-gmail-mailbox.gob"
+#line 444 "mn-gmail-mailbox.gob"
char *body;
- char *results;
+ char *work;
gboolean status = FALSE;
g_return_val_if_fail(selfp->logged_in == TRUE, FALSE);
@@ -803,86 +835,29 @@ mn_gmail_mailbox_check (MNGmailMailbox * self, SoupSession * session, GError **
if (! body)
return FALSE;
- results = strstr(body, "Search results for: is:unread\",\"");
- if (results)
+ work = strstr(body, "Search results for: is:unread\",\"");
+ if (work)
{
GSList *messages = NULL;
- char *p = strstr(results + 32, ",1,");
- while (p)
+ work += 32;
+
+ while ((work = strstr(work, "D([")))
{
- char *inbox_marker;
- char *next_p;
+ GSList *arg_list;
- /*
- * FIXME: we should parse the list instead of using field
- * separator matching (this breaks if a separator is
- * present in a field value).
- */
+ work += 2;
+ if (self_js_get_arg_list(&work, &arg_list) && arg_list)
+ {
+ GSList *l;
- p += 3; /* skip ,1, */
- inbox_marker = strstr(p, ",[\"^i\"");
- next_p = strstr(p, ",1,");
+ MN_LIST_FOREACH(l, arg_list->next)
+ self_append_message(self, &messages, l->data);
- if (inbox_marker && (! next_p || inbox_marker < next_p)) /* msg from inbox */
- {
- char *date;
- char *sender_email;
- char *sender_name;
- char *subject;
-
- time_t sent_time = 0;
- char *from = NULL;
- char *expanded_subject = NULL;
-
- date = self_get_token(p, "\\<b\\>", "\\</b\\>", FALSE, FALSE);
- sender_email = self_get_token(p, "<span id=\\'_user_", "\\'", FALSE, FALSE);
- sender_name = self_get_token(p, "\\'\\>\\<b\\>", "\\</b\\>", FALSE, FALSE);
- subject = self_get_token(p, ";\",\"\\<b\\>", "\\</b\\>", FALSE, FALSE);
-
- if (date)
- {
- sent_time = self_parse_date(date);
- g_free(date);
- }
-
- if (sender_name && sender_email)
- {
- char *tmp;
-
- tmp = g_strdup_printf("%s <%s>", sender_name, sender_email);
- from = mn_sgml_ref_expand(tmp);
- g_free(tmp);
- }
- else if (sender_name)
- from = mn_sgml_ref_expand(sender_name);
- else if (sender_email)
- from = mn_sgml_ref_expand(sender_email);
-
- g_free(sender_email);
- g_free(sender_name);
-
- if (subject)
- {
- if (strcmp(subject, "(no subject)"))
- expanded_subject = mn_sgml_ref_expand(subject);
- g_free(subject);
- }
-
- messages = g_slist_append(messages, mn_message_new(MN_MAILBOX(self)->uri,
- NULL,
- sent_time,
- NULL,
- from,
- expanded_subject));
-
- g_free(from);
- g_free(expanded_subject);
+ self_js_arg_list_free(arg_list);
}
-
- p = next_p;
}
-
+
GDK_THREADS_ENTER();
mn_mailbox_set_has_new(MN_MAILBOX(self), messages != NULL);
mn_mailbox_set_messages(MN_MAILBOX(self), messages);
@@ -899,20 +874,380 @@ mn_gmail_mailbox_check (MNGmailMailbox * self, SoupSession * session, GError **
return status;
}}
-#line 903 "mn-gmail-mailbox.c"
+#line 878 "mn-gmail-mailbox.c"
+#undef __GOB_FUNCTION__
+
+#line 497 "mn-gmail-mailbox.gob"
+static void
+mn_gmail_mailbox_append_message (MNGmailMailbox * self, GSList ** messages, JSArg * arg)
+#line 884 "mn-gmail-mailbox.c"
+{
+#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::append_message"
+#line 497 "mn-gmail-mailbox.gob"
+ g_return_if_fail (self != NULL);
+#line 497 "mn-gmail-mailbox.gob"
+ g_return_if_fail (MN_IS_GMAIL_MAILBOX (self));
+#line 497 "mn-gmail-mailbox.gob"
+ g_return_if_fail (messages != NULL);
+#line 497 "mn-gmail-mailbox.gob"
+ g_return_if_fail (arg != NULL);
+#line 895 "mn-gmail-mailbox.c"
+{
+#line 501 "mn-gmail-mailbox.gob"
+
+ char *date_field;
+ char *sender_field;
+ char *subject_field;
+ GSList *labels_list;
+ GSList *l;
+ gboolean in_inbox = FALSE;
+
+ char *date;
+ char *sender_email;
+ char *sender_name;
+ char *subject;
+
+ time_t sent_time = 0;
+ char *from = NULL;
+ char *expanded_subject = NULL;
+
+ if (arg->type != JS_ARG_LIST
+ || ! self_js_arg_list_scan(arg->value.list,
+ 3, JS_ARG_STRING, &date_field,
+ 4, JS_ARG_STRING, &sender_field,
+ 6, JS_ARG_STRING, &subject_field,
+ 8, JS_ARG_LIST, &labels_list,
+ -1))
+ return;
+
+ MN_LIST_FOREACH(l, labels_list)
+ {
+ JSArg *label = l->data;
+
+ if (label->type == JS_ARG_STRING && ! strcmp(label->value.string, "^i"))
+ {
+ in_inbox = TRUE;
+ break;
+ }
+ }
+
+ if (! in_inbox)
+ return;
+
+ date = self_get_substring(date_field, "<b>", "</b>", FALSE, FALSE);
+ sender_email = self_get_substring(sender_field, "<span id='_user_", "'", FALSE, FALSE);
+ sender_name = self_get_substring(sender_field, "'><b>", "</b>", FALSE, FALSE);
+ subject = self_get_substring(subject_field, "<b>", "</b>", FALSE, FALSE);
+
+ if (date)
+ {
+ sent_time = self_parse_date(date);
+ g_free(date);
+ }
+
+ if (sender_name && sender_email)
+ {
+ char *tmp;
+
+ tmp = g_strdup_printf("%s <%s>", sender_name, sender_email);
+ from = mn_sgml_ref_expand(tmp);
+ g_free(tmp);
+ }
+ else if (sender_name)
+ from = mn_sgml_ref_expand(sender_name);
+ else if (sender_email)
+ from = mn_sgml_ref_expand(sender_email);
+
+ g_free(sender_email);
+ g_free(sender_name);
+
+ if (subject)
+ {
+ if (strcmp(subject, "(no subject)"))
+ expanded_subject = mn_sgml_ref_expand(subject);
+ g_free(subject);
+ }
+
+ *messages = g_slist_append(*messages, mn_message_new(MN_MAILBOX(self)->uri,
+ NULL,
+ sent_time,
+ NULL,
+ from,
+ expanded_subject));
+
+ g_free(from);
+ g_free(expanded_subject);
+ }}
+#line 982 "mn-gmail-mailbox.c"
+#undef __GOB_FUNCTION__
+
+#line 586 "mn-gmail-mailbox.gob"
+static gboolean
+mn_gmail_mailbox_js_get_arg_list (char ** str, GSList ** list)
+#line 988 "mn-gmail-mailbox.c"
+{
+#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::js_get_arg_list"
+#line 586 "mn-gmail-mailbox.gob"
+ g_return_val_if_fail (str != NULL, (gboolean )0);
+#line 586 "mn-gmail-mailbox.gob"
+ g_return_val_if_fail (list != NULL, (gboolean )0);
+#line 995 "mn-gmail-mailbox.c"
+{
+#line 588 "mn-gmail-mailbox.gob"
+
+ GSList *our_list = NULL;
+ gboolean done = FALSE;
+ gboolean in_literal = FALSE; /* a string enclosed in double quotes */
+ gboolean quoted = FALSE; /* the next character is quoted with a backslash */
+ JSArg *arg = NULL;
+ GString *string;
+
+ g_return_val_if_fail(*str != NULL, FALSE);
+ g_return_val_if_fail(**str == '[', FALSE);
+
+ (*str)++; /* skip the initial open bracket */
+ string = g_string_new(NULL);
+
+ while (**str && ! done)
+ {
+ gboolean next = TRUE;
+
+ if (in_literal)
+ switch (**str)
+ {
+ case '\\':
+ quoted = TRUE;
+ break;
+
+ case '"':
+ if (! quoted)
+ {
+ in_literal = FALSE;
+ break;
+ }
+ /* else pass through */
+
+ default:
+ quoted = FALSE;
+ g_string_append_c(string, **str);
+ }
+ else
+ switch (**str)
+ {
+ case '[':
+ {
+ GSList *sub_list;
+
+ if (arg || ! self_js_get_arg_list(str, &sub_list))
+ goto end; /* parse error */
+
+ arg = self_js_arg_new_list(sub_list);
+ next = FALSE;
+ break;
+ }
+
+ case ']':
+ done = TRUE;
+ /* fall through */
+
+ case ',':
+ if (! arg)
+ arg = self_js_arg_new_string(string->str);
+
+ our_list = g_slist_append(our_list, arg);
+
+ g_string_truncate(string, 0);
+ arg = NULL;
+ break;
+
+ case '"':
+ in_literal = TRUE;
+ break;
+
+ default:
+ g_string_append_c(string, **str);
+ }
+
+ if (next)
+ (*str)++;
+ }
+
+ end:
+ if (arg)
+ self_js_arg_free(arg);
+ g_string_free(string, TRUE);
+
+ if (done)
+ {
+ *list = our_list;
+ return TRUE;
+ }
+ else
+ {
+ self_js_arg_list_free(our_list);
+ return FALSE;
+ }
+ }}
+#line 1092 "mn-gmail-mailbox.c"
+#undef __GOB_FUNCTION__
+
+#line 683 "mn-gmail-mailbox.gob"
+static gboolean
+mn_gmail_mailbox_js_arg_list_scan (GSList * list, ...)
+#line 1098 "mn-gmail-mailbox.c"
+{
+#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::js_arg_list_scan"
+{
+#line 685 "mn-gmail-mailbox.gob"
+
+ va_list args;
+ int position;
+ gboolean status = TRUE;
+
+ va_start(args, list);
+
+ while ((position = va_arg(args, int)) != -1)
+ {
+ JSArgType type = va_arg(args, JSArgType);
+ JSArg *arg = g_slist_nth_data(list, position);
+
+ if (! arg)
+ {
+ status = FALSE;
+ break;
+ }
+
+ switch (type)
+ {
+ case JS_ARG_STRING:
+ {
+ char **str = va_arg(args, char **);
+ g_return_val_if_fail(str != NULL, FALSE);
+
+ *str = arg->value.string;
+ break;
+ }
+
+ case JS_ARG_LIST:
+ {
+ GSList **elem_list = va_arg(args, GSList **);
+ g_return_val_if_fail(elem_list != NULL, FALSE);
+
+ *elem_list = arg->value.list;
+ break;
+ }
+
+ default:
+ g_return_val_if_reached(FALSE);
+ }
+ }
+
+ va_end(args);
+
+ return status;
+ }}
+#line 1150 "mn-gmail-mailbox.c"
+#undef __GOB_FUNCTION__
+
+#line 733 "mn-gmail-mailbox.gob"
+static void
+mn_gmail_mailbox_js_arg_list_free (GSList * list)
+#line 1156 "mn-gmail-mailbox.c"
+{
+#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::js_arg_list_free"
+{
+#line 735 "mn-gmail-mailbox.gob"
+
+ eel_g_slist_free_deep_custom(list, (GFunc) self_js_arg_free, NULL);
+ }}
+#line 1164 "mn-gmail-mailbox.c"
+#undef __GOB_FUNCTION__
+
+#line 739 "mn-gmail-mailbox.gob"
+static JSArg *
+mn_gmail_mailbox_js_arg_new_string (const char * string)
+#line 1170 "mn-gmail-mailbox.c"
+{
+#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::js_arg_new_string"
+#line 739 "mn-gmail-mailbox.gob"
+ g_return_val_if_fail (string != NULL, (JSArg * )0);
+#line 1175 "mn-gmail-mailbox.c"
+{
+#line 741 "mn-gmail-mailbox.gob"
+
+ JSArg *arg;
+
+ arg = g_new(JSArg, 1);
+ arg->type = JS_ARG_STRING;
+ arg->value.string = g_strdup(string);
+
+ return arg;
+ }}
+#line 1187 "mn-gmail-mailbox.c"
+#undef __GOB_FUNCTION__
+
+#line 751 "mn-gmail-mailbox.gob"
+static JSArg *
+mn_gmail_mailbox_js_arg_new_list (GSList * list)
+#line 1193 "mn-gmail-mailbox.c"
+{
+#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::js_arg_new_list"
+{
+#line 753 "mn-gmail-mailbox.gob"
+
+ JSArg *arg;
+
+ arg = g_new(JSArg, 1);
+ arg->type = JS_ARG_LIST;
+ arg->value.list = list;
+
+ return arg;
+ }}
+#line 1207 "mn-gmail-mailbox.c"
+#undef __GOB_FUNCTION__
+
+#line 763 "mn-gmail-mailbox.gob"
+static void
+mn_gmail_mailbox_js_arg_free (JSArg * arg)
+#line 1213 "mn-gmail-mailbox.c"
+{
+#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::js_arg_free"
+#line 763 "mn-gmail-mailbox.gob"
+ g_return_if_fail (arg != NULL);
+#line 1218 "mn-gmail-mailbox.c"
+{
+#line 765 "mn-gmail-mailbox.gob"
+
+ switch (arg->type)
+ {
+ case JS_ARG_STRING:
+ g_free(arg->value.string);
+ break;
+
+ case JS_ARG_LIST:
+ self_js_arg_list_free(arg->value.list);
+ break;
+
+ default:
+ g_return_if_reached();
+ }
+
+ g_free(arg);
+ }}
+#line 1238 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
-#line 536 "mn-gmail-mailbox.gob"
+#line 783 "mn-gmail-mailbox.gob"
static time_t
mn_gmail_mailbox_parse_date (const char * date)
-#line 909 "mn-gmail-mailbox.c"
+#line 1244 "mn-gmail-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:Gmail:Mailbox::parse_date"
-#line 536 "mn-gmail-mailbox.gob"
+#line 783 "mn-gmail-mailbox.gob"
g_return_val_if_fail (date != NULL, (time_t )0);
-#line 914 "mn-gmail-mailbox.c"
+#line 1249 "mn-gmail-mailbox.c"
{
-#line 538 "mn-gmail-mailbox.gob"
+#line 785 "mn-gmail-mailbox.gob"
time_t t = 0;
#ifdef HAVE_TIMEGM
@@ -966,5 +1301,5 @@ mn_gmail_mailbox_parse_date (const char * date)
return t;
}}
-#line 970 "mn-gmail-mailbox.c"
+#line 1305 "mn-gmail-mailbox.c"
#undef __GOB_FUNCTION__
diff --git a/src/mn-gmail-mailbox.gob b/src/mn-gmail-mailbox.gob
@@ -30,15 +30,33 @@ requires 2.0.10
#include "config.h"
#include <stdio.h>
#include <string.h>
+#include <stdarg.h>
#include <time.h>
#ifdef TM_IN_SYS_TIME
#include <sys/time.h>
#endif
#include <glib/gi18n.h>
+#include <eel/eel.h>
#include "mn-mailbox-private.h"
#include "mn-util.h"
#include "mn-stock.h"
#include "mn-sgml-ref.h"
+
+ typedef enum
+ {
+ JS_ARG_STRING,
+ JS_ARG_LIST
+ } JSArgType;
+
+ typedef struct
+ {
+ JSArgType type;
+ union
+ {
+ char *string;
+ GSList *list;
+ } value;
+ } JSArg;
%}
class MN:Gmail:Mailbox from MN:Authenticated:Mailbox
@@ -218,26 +236,26 @@ class MN:Gmail:Mailbox from MN:Authenticated:Mailbox
}
/**
- * get_token:
+ * get_substring:
* @str: the string to search
- * @pre: the start of the token
- * @post: the end of the token
+ * @pre: the start of the substring
+ * @post: the end of the substring
* @include_pre: whether to include @pre in the result or not
* @include_post: whether to include @post in the result or not
*
- * Gets the first token of @str included between @pre and @post.
+ * Gets the first substring of @str included between @pre and @post.
*
- * Return value: a newly allocated string containing the token or
- * %NULL if not found.
+ * Return value: a newly allocated string containing the substring
+ * or %NULL if not found.
**/
private char *
- get_token (const char *str (check null),
- const char *pre (check null),
- const char *post (check null),
- gboolean include_pre,
- gboolean include_post)
+ get_substring (const char *str (check null),
+ const char *pre (check null),
+ const char *post (check null),
+ gboolean include_pre,
+ gboolean include_post)
{
- char *token = NULL;
+ char *sub = NULL;
char *pre_loc;
pre_loc = strstr(str, pre);
@@ -253,11 +271,11 @@ class MN:Gmail:Mailbox from MN:Authenticated:Mailbox
char *start = include_pre ? pre_loc : after_pre_loc;
char *end = include_post ? post_loc + strlen(post) : post_loc;
- token = g_strndup(start, end - start);
+ sub = g_strndup(start, end - start);
}
}
- return token;
+ return sub;
}
private gboolean
@@ -297,7 +315,7 @@ class MN:Gmail:Mailbox from MN:Authenticated:Mailbox
if (! body)
return FALSE;
- next_location = self_get_token(body, "top.location = \"", "\"", FALSE, FALSE);
+ next_location = self_get_substring(body, "top.location = \"", "\"", FALSE, FALSE);
g_free(body);
if (! next_location)
@@ -339,7 +357,7 @@ class MN:Gmail:Mailbox from MN:Authenticated:Mailbox
if (! body)
return FALSE;
- next_location = self_get_token(body, "location.replace(\"", "\")", FALSE, FALSE);
+ next_location = self_get_substring(body, "location.replace(\"", "\")", FALSE, FALSE);
g_free(body);
if (! next_location)
@@ -425,7 +443,7 @@ class MN:Gmail:Mailbox from MN:Authenticated:Mailbox
check (self, Soup:Session *session (check null type), GError **err)
{
char *body;
- char *results;
+ char *work;
gboolean status = FALSE;
g_return_val_if_fail(selfp->logged_in == TRUE, FALSE);
@@ -436,86 +454,29 @@ class MN:Gmail:Mailbox from MN:Authenticated:Mailbox
if (! body)
return FALSE;
- results = strstr(body, "Search results for: is:unread\",\"");
- if (results)
+ work = strstr(body, "Search results for: is:unread\",\"");
+ if (work)
{
GSList *messages = NULL;
- char *p = strstr(results + 32, ",1,");
- while (p)
+ work += 32;
+
+ while ((work = strstr(work, "D([")))
{
- char *inbox_marker;
- char *next_p;
+ GSList *arg_list;
- /*
- * FIXME: we should parse the list instead of using field
- * separator matching (this breaks if a separator is
- * present in a field value).
- */
+ work += 2;
+ if (self_js_get_arg_list(&work, &arg_list) && arg_list)
+ {
+ GSList *l;
- p += 3; /* skip ,1, */
- inbox_marker = strstr(p, ",[\"^i\"");
- next_p = strstr(p, ",1,");
+ MN_LIST_FOREACH(l, arg_list->next)
+ self_append_message(self, &messages, l->data);
- if (inbox_marker && (! next_p || inbox_marker < next_p)) /* msg from inbox */
- {
- char *date;
- char *sender_email;
- char *sender_name;
- char *subject;
-
- time_t sent_time = 0;
- char *from = NULL;
- char *expanded_subject = NULL;
-
- date = self_get_token(p, "\\<b\\>", "\\</b\\>", FALSE, FALSE);
- sender_email = self_get_token(p, "<span id=\\'_user_", "\\'", FALSE, FALSE);
- sender_name = self_get_token(p, "\\'\\>\\<b\\>", "\\</b\\>", FALSE, FALSE);
- subject = self_get_token(p, ";\",\"\\<b\\>", "\\</b\\>", FALSE, FALSE);
-
- if (date)
- {
- sent_time = self_parse_date(date);
- g_free(date);
- }
-
- if (sender_name && sender_email)
- {
- char *tmp;
-
- tmp = g_strdup_printf("%s <%s>", sender_name, sender_email);
- from = mn_sgml_ref_expand(tmp);
- g_free(tmp);
- }
- else if (sender_name)
- from = mn_sgml_ref_expand(sender_name);
- else if (sender_email)
- from = mn_sgml_ref_expand(sender_email);
-
- g_free(sender_email);
- g_free(sender_name);
-
- if (subject)
- {
- if (strcmp(subject, "(no subject)"))
- expanded_subject = mn_sgml_ref_expand(subject);
- g_free(subject);
- }
-
- messages = g_slist_append(messages, mn_message_new(MN_MAILBOX(self)->uri,
- NULL,
- sent_time,
- NULL,
- from,
- expanded_subject));
-
- g_free(from);
- g_free(expanded_subject);
+ self_js_arg_list_free(arg_list);
}
-
- p = next_p;
}
-
+
GDK_THREADS_ENTER();
mn_mailbox_set_has_new(MN_MAILBOX(self), messages != NULL);
mn_mailbox_set_messages(MN_MAILBOX(self), messages);
@@ -532,6 +493,292 @@ class MN:Gmail:Mailbox from MN:Authenticated:Mailbox
return status;
}
+
+ private void
+ append_message (self,
+ GSList **messages (check null),
+ JSArg *arg (check null))
+ {
+ char *date_field;
+ char *sender_field;
+ char *subject_field;
+ GSList *labels_list;
+ GSList *l;
+ gboolean in_inbox = FALSE;
+
+ char *date;
+ char *sender_email;
+ char *sender_name;
+ char *subject;
+
+ time_t sent_time = 0;
+ char *from = NULL;
+ char *expanded_subject = NULL;
+
+ if (arg->type != JS_ARG_LIST
+ || ! self_js_arg_list_scan(arg->value.list,
+ 3, JS_ARG_STRING, &date_field,
+ 4, JS_ARG_STRING, &sender_field,
+ 6, JS_ARG_STRING, &subject_field,
+ 8, JS_ARG_LIST, &labels_list,
+ -1))
+ return;
+
+ MN_LIST_FOREACH(l, labels_list)
+ {
+ JSArg *label = l->data;
+
+ if (label->type == JS_ARG_STRING && ! strcmp(label->value.string, "^i"))
+ {
+ in_inbox = TRUE;
+ break;
+ }
+ }
+
+ if (! in_inbox)
+ return;
+
+ date = self_get_substring(date_field, "<b>", "</b>", FALSE, FALSE);
+ sender_email = self_get_substring(sender_field, "<span id='_user_", "'", FALSE, FALSE);
+ sender_name = self_get_substring(sender_field, "'><b>", "</b>", FALSE, FALSE);
+ subject = self_get_substring(subject_field, "<b>", "</b>", FALSE, FALSE);
+
+ if (date)
+ {
+ sent_time = self_parse_date(date);
+ g_free(date);
+ }
+
+ if (sender_name && sender_email)
+ {
+ char *tmp;
+
+ tmp = g_strdup_printf("%s <%s>", sender_name, sender_email);
+ from = mn_sgml_ref_expand(tmp);
+ g_free(tmp);
+ }
+ else if (sender_name)
+ from = mn_sgml_ref_expand(sender_name);
+ else if (sender_email)
+ from = mn_sgml_ref_expand(sender_email);
+
+ g_free(sender_email);
+ g_free(sender_name);
+
+ if (subject)
+ {
+ if (strcmp(subject, "(no subject)"))
+ expanded_subject = mn_sgml_ref_expand(subject);
+ g_free(subject);
+ }
+
+ *messages = g_slist_append(*messages, mn_message_new(MN_MAILBOX(self)->uri,
+ NULL,
+ sent_time,
+ NULL,
+ from,
+ expanded_subject));
+
+ g_free(from);
+ g_free(expanded_subject);
+ }
+
+ private gboolean
+ js_get_arg_list (char **str (check null), GSList **list (check null))
+ {
+ GSList *our_list = NULL;
+ gboolean done = FALSE;
+ gboolean in_literal = FALSE; /* a string enclosed in double quotes */
+ gboolean quoted = FALSE; /* the next character is quoted with a backslash */
+ JSArg *arg = NULL;
+ GString *string;
+
+ g_return_val_if_fail(*str != NULL, FALSE);
+ g_return_val_if_fail(**str == '[', FALSE);
+
+ (*str)++; /* skip the initial open bracket */
+ string = g_string_new(NULL);
+
+ while (**str && ! done)
+ {
+ gboolean next = TRUE;
+
+ if (in_literal)
+ switch (**str)
+ {
+ case '\\':
+ quoted = TRUE;
+ break;
+
+ case '"':
+ if (! quoted)
+ {
+ in_literal = FALSE;
+ break;
+ }
+ /* else pass through */
+
+ default:
+ quoted = FALSE;
+ g_string_append_c(string, **str);
+ }
+ else
+ switch (**str)
+ {
+ case '[':
+ {
+ GSList *sub_list;
+
+ if (arg || ! self_js_get_arg_list(str, &sub_list))
+ goto end; /* parse error */
+
+ arg = self_js_arg_new_list(sub_list);
+ next = FALSE;
+ break;
+ }
+
+ case ']':
+ done = TRUE;
+ /* fall through */
+
+ case ',':
+ if (! arg)
+ arg = self_js_arg_new_string(string->str);
+
+ our_list = g_slist_append(our_list, arg);
+
+ g_string_truncate(string, 0);
+ arg = NULL;
+ break;
+
+ case '"':
+ in_literal = TRUE;
+ break;
+
+ default:
+ g_string_append_c(string, **str);
+ }
+
+ if (next)
+ (*str)++;
+ }
+
+ end:
+ if (arg)
+ self_js_arg_free(arg);
+ g_string_free(string, TRUE);
+
+ if (done)
+ {
+ *list = our_list;
+ return TRUE;
+ }
+ else
+ {
+ self_js_arg_list_free(our_list);
+ return FALSE;
+ }
+ }
+
+ private gboolean
+ js_arg_list_scan (GSList *list, ...)
+ {
+ va_list args;
+ int position;
+ gboolean status = TRUE;
+
+ va_start(args, list);
+
+ while ((position = va_arg(args, int)) != -1)
+ {
+ JSArgType type = va_arg(args, JSArgType);
+ JSArg *arg = g_slist_nth_data(list, position);
+
+ if (! arg)
+ {
+ status = FALSE;
+ break;
+ }
+
+ switch (type)
+ {
+ case JS_ARG_STRING:
+ {
+ char **str = va_arg(args, char **);
+ g_return_val_if_fail(str != NULL, FALSE);
+
+ *str = arg->value.string;
+ break;
+ }
+
+ case JS_ARG_LIST:
+ {
+ GSList **elem_list = va_arg(args, GSList **);
+ g_return_val_if_fail(elem_list != NULL, FALSE);
+
+ *elem_list = arg->value.list;
+ break;
+ }
+
+ default:
+ g_return_val_if_reached(FALSE);
+ }
+ }
+
+ va_end(args);
+
+ return status;
+ }
+
+ private void
+ js_arg_list_free (GSList *list)
+ {
+ eel_g_slist_free_deep_custom(list, (GFunc) self_js_arg_free, NULL);
+ }
+
+ private JSArg *
+ js_arg_new_string (const char *string (check null))
+ {
+ JSArg *arg;
+
+ arg = g_new(JSArg, 1);
+ arg->type = JS_ARG_STRING;
+ arg->value.string = g_strdup(string);
+
+ return arg;
+ }
+
+ private JSArg *
+ js_arg_new_list (GSList *list)
+ {
+ JSArg *arg;
+
+ arg = g_new(JSArg, 1);
+ arg->type = JS_ARG_LIST;
+ arg->value.list = list;
+
+ return arg;
+ }
+
+ private void
+ js_arg_free (JSArg *arg (check null))
+ {
+ switch (arg->type)
+ {
+ case JS_ARG_STRING:
+ g_free(arg->value.string);
+ break;
+
+ case JS_ARG_LIST:
+ self_js_arg_list_free(arg->value.list);
+ break;
+
+ default:
+ g_return_if_reached();
+ }
+
+ g_free(arg);
+ }
private time_t
parse_date (const char *date (check null))
diff --git a/src/mn-gmail-mailbox.h b/src/mn-gmail-mailbox.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
diff --git a/src/mn-gmime-stream-vfs-private.h b/src/mn-gmime-stream-vfs-private.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#ifndef __MN_GMIME_STREAM_VFS_PRIVATE_H__
#define __MN_GMIME_STREAM_VFS_PRIVATE_H__
diff --git a/src/mn-gmime-stream-vfs.c b/src/mn-gmime-stream-vfs.c
@@ -1,11 +1,11 @@
-/* Generated by GOB (v2.0.10) on Mon Oct 25 15:24:33 2004
+/* Generated by GOB (v2.0.11) on Sun Oct 31 18:41:22 2004
(do not edit directly) */
/* End world hunger, donate to the World Food Programme, http://www.wfp.org */
#define GOB_VERSION_MAJOR 2
#define GOB_VERSION_MINOR 0
-#define GOB_VERSION_PATCHLEVEL 10
+#define GOB_VERSION_PATCHLEVEL 11
#define selfp (self->_priv)
@@ -159,9 +159,9 @@ mn_gmime_stream_vfs_class_init (MNGMimeStreamVFSClass * c G_GNUC_UNUSED)
{
#define __GOB_FUNCTION__ "MN:GMime:Stream:VFS::class_init"
GObjectClass *g_object_class G_GNUC_UNUSED = (GObjectClass*) c;
+ GMimeStreamClass *gmime_stream_class = (GMimeStreamClass *)c;
g_type_class_add_private(c,sizeof(MNGMimeStreamVFSPrivate));
- GMimeStreamClass *gmime_stream_class = (GMimeStreamClass *)c;
parent_class = g_type_class_ref (GMIME_TYPE_STREAM);
diff --git a/src/mn-gmime-stream-vfs.h b/src/mn-gmime-stream-vfs.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
diff --git a/src/mn-imap-mailbox-private.h b/src/mn-imap-mailbox-private.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#ifndef __MN_IMAP_MAILBOX_PRIVATE_H__
#define __MN_IMAP_MAILBOX_PRIVATE_H__
@@ -10,6 +10,21 @@ extern "C" {
#endif /* __cplusplus */
+#line 32 "mn-imap-mailbox.gob"
+
+#include "mn-client-session.h"
+
+#line 18 "mn-imap-mailbox-private.h"
+struct _MNIMAPMailboxPrivate {
+#line 143 "mn-imap-mailbox.gob"
+ int removed;
+#line 145 "mn-imap-mailbox.gob"
+ MNClientSessionPrivate * idle_session;
+#line 146 "mn-imap-mailbox.gob"
+ GMutex * idle_session_mutex;
+#line 26 "mn-imap-mailbox-private.h"
+};
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
diff --git a/src/mn-imap-mailbox-properties-private.h b/src/mn-imap-mailbox-properties-private.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#ifndef __MN_IMAP_MAILBOX_PROPERTIES_PRIVATE_H__
#define __MN_IMAP_MAILBOX_PROPERTIES_PRIVATE_H__
diff --git a/src/mn-imap-mailbox-properties.c b/src/mn-imap-mailbox-properties.c
@@ -1,11 +1,11 @@
-/* Generated by GOB (v2.0.10) on Mon Oct 25 15:24:33 2004
+/* Generated by GOB (v2.0.11) on Sun Oct 31 18:41:21 2004
(do not edit directly) */
/* End world hunger, donate to the World Food Programme, http://www.wfp.org */
#define GOB_VERSION_MAJOR 2
#define GOB_VERSION_MINOR 0
-#define GOB_VERSION_PATCHLEVEL 10
+#define GOB_VERSION_PATCHLEVEL 11
#define selfp (self->_priv)
@@ -298,14 +298,14 @@ ___2_mn_imap_mailbox_properties_constructor (GType type G_GNUC_UNUSED, guint n_c
mn_auth_combo_box_append(MN_AUTH_COMBO_BOX(pi->auth_combo), "+LOGIN", "IMAP LOGIN");
- mn_tooltips_set_tips(pi->tooltips,
- pi->hostname_entry, _("The hostname or IP address of the IMAP server"),
- pi->username_entry, _("Your username on the IMAP server"),
- pi->password_entry, _("Your password on the IMAP server (if left blank, you will be prompted for the password when needed)"),
- pi->port_spin[0], _("The port number of the IMAP server"),
- pi->port_spin[1], _("The port number of the IMAP server"),
- selfp->mailbox_entry, _("The mailbox name"),
- NULL);
+ mn_gtk_tooltips_set_tips(pi->tooltips,
+ pi->hostname_entry, _("The hostname or IP address of the IMAP server"),
+ pi->username_entry, _("Your username on the IMAP server"),
+ pi->password_entry, _("Your password on the IMAP server (if left blank, you will be prompted for the password when needed)"),
+ pi->port_spin[0], _("The port number of the IMAP server"),
+ pi->port_spin[1], _("The port number of the IMAP server"),
+ selfp->mailbox_entry, _("The mailbox name"),
+ NULL);
g_signal_connect(selfp->inbox_radio, "toggled", G_CALLBACK(self_radio_toggled_h), self);
g_signal_connect(selfp->other_radio, "toggled", G_CALLBACK(self_radio_toggled_h), self);
diff --git a/src/mn-imap-mailbox-properties.gob b/src/mn-imap-mailbox-properties.gob
@@ -119,14 +119,14 @@ class MN:IMAP:Mailbox:Properties from MN:PI:Mailbox:Properties (interface MN:Mai
mn_auth_combo_box_append(MN_AUTH_COMBO_BOX(pi->auth_combo), "+LOGIN", "IMAP LOGIN");
- mn_tooltips_set_tips(pi->tooltips,
- pi->hostname_entry, _("The hostname or IP address of the IMAP server"),
- pi->username_entry, _("Your username on the IMAP server"),
- pi->password_entry, _("Your password on the IMAP server (if left blank, you will be prompted for the password when needed)"),
- pi->port_spin[0], _("The port number of the IMAP server"),
- pi->port_spin[1], _("The port number of the IMAP server"),
- selfp->mailbox_entry, _("The mailbox name"),
- NULL);
+ mn_gtk_tooltips_set_tips(pi->tooltips,
+ pi->hostname_entry, _("The hostname or IP address of the IMAP server"),
+ pi->username_entry, _("Your username on the IMAP server"),
+ pi->password_entry, _("Your password on the IMAP server (if left blank, you will be prompted for the password when needed)"),
+ pi->port_spin[0], _("The port number of the IMAP server"),
+ pi->port_spin[1], _("The port number of the IMAP server"),
+ selfp->mailbox_entry, _("The mailbox name"),
+ NULL);
g_signal_connect(selfp->inbox_radio, "toggled", G_CALLBACK(self_radio_toggled_h), self);
g_signal_connect(selfp->other_radio, "toggled", G_CALLBACK(self_radio_toggled_h), self);
diff --git a/src/mn-imap-mailbox-properties.h b/src/mn-imap-mailbox-properties.h
@@ -1,4 +1,4 @@
-/* Generated by GOB (v2.0.10) (do not edit directly) */
+/* Generated by GOB (v2.0.11) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
diff --git a/src/mn-imap-mailbox.c b/src/mn-imap-mailbox.c
@@ -1,11 +1,11 @@
-/* Generated by GOB (v2.0.10) on Mon Oct 25 15:24:33 2004
+/* Generated by GOB (v2.0.11) on Sun Oct 31 18:41:21 2004
(do not edit directly) */
/* End world hunger, donate to the World Food Programme, http://www.wfp.org */
#define GOB_VERSION_MAJOR 2
#define GOB_VERSION_MINOR 0
-#define GOB_VERSION_PATCHLEVEL 10
+#define GOB_VERSION_PATCHLEVEL 11
#define selfp (self->_priv)
@@ -21,7 +21,7 @@
#define ___GOB_UNLIKELY(expr) (expr)
#endif /* G_LIKELY */
-#line 27 "mn-imap-mailbox.gob"
+#line 36 "mn-imap-mailbox.gob"
#include "config.h"
#include <stdio.h>
@@ -33,7 +33,6 @@
#include <eel/eel.h>
#include "mn-mailbox-private.h"
#include "mn-util.h"
-#include "mn-client-session.h"
#ifdef WITH_MIME
#include "mn-message-mime.h"
#endif
@@ -45,6 +44,8 @@
#define IS_BAD(response) IS(response, "BAD")
#define IS_BYE(response) IS(response, "BYE")
+#define REMOVED(self) (g_atomic_int_get(&(self)->_priv->removed))
+
enum
{
STATE_GREETING = MN_CLIENT_SESSION_INITIAL_STATE,
@@ -56,13 +57,14 @@
STATE_AUTHENTICATE,
#endif
STATE_LOGIN,
-#ifdef WITH_MIME
STATE_EXAMINE,
STATE_SEARCH,
+#ifdef WITH_MIME
STATE_FETCH,
#else /* WITH_MIME */
STATE_STATUS,
#endif
+ STATE_IDLE,
STATE_LOGOUT
};
@@ -73,31 +75,46 @@
RESULT_DEFAULT_HANDLER = -3 /* invoke the default response handler */
};
+ typedef enum
+ {
+ IDLE_STATE_NORMAL,
+ IDLE_STATE_IDLING,
+ IDLE_STATE_WAS_IDLING
+ } IdleState;
+
struct _MNClientSessionPrivate
{
MNMailbox *mailbox;
MNIMAPMailbox *self;
MNClientSession *session;
+
int numeric_tag;
char tag[5];
+
char **capabilities;
GSList *auth_mechanisms;
gboolean authentication_failed;
-#ifdef WITH_MIME
+
gboolean search_received;
GSList *fetch_numbers;
char *fetch_set;
+
+#ifdef WITH_MIME
GSList *received_numbers;
GSList *messages;
#else /* WITH_MIME */
gboolean status_received;
#endif
+
#ifdef WITH_SSL
gboolean starttls_completed;
#endif
#ifdef WITH_SASL
const char *sasl_mechanism;
#endif
+
+ IdleState idle_state;
+ gboolean could_idle; /* could idle at least once */
};
struct _MNClientSessionResponse
@@ -109,7 +126,7 @@
char *arguments;
};
-#line 113 "mn-imap-mailbox.c"
+#line 130 "mn-imap-mailbox.c"
/* self casting macros */
#define SELF(x) MN_IMAP_MAILBOX(x)
#define SELF_CONST(x) MN_IMAP_MAILBOX_CONST(x)
@@ -128,6 +145,7 @@ static void mn_imap_mailbox_init (MNIMAPMailbox * o) G_GNUC_UNUSED;
static void mn_imap_mailbox_class_init (MNIMAPMailboxClass * class) G_GNUC_UNUSED;
static GObject * ___2_mn_imap_mailbox_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_params) G_GNUC_UNUSED;
static gboolean ___3_mn_imap_mailbox_impl_is (MNMailbox * dummy, MNURI * uri) G_GNUC_UNUSED;
+static void ___4_mn_imap_mailbox_removed (MNMailbox * mailbox) G_GNUC_UNUSED;
static int mn_imap_mailbox_handle_greeting_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static int mn_imap_mailbox_enter_capability_cb (MNClientSession * session, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static int mn_imap_mailbox_handle_capability_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
@@ -143,15 +161,19 @@ static int mn_imap_mailbox_enter_search_cb (MNClientSession * session, MNClientS
static int mn_imap_mailbox_handle_search_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static int mn_imap_mailbox_enter_fetch_cb (MNClientSession * session, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static int mn_imap_mailbox_handle_fetch_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
+static int mn_imap_mailbox_enter_idle_cb (MNClientSession * session, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
+static int mn_imap_mailbox_handle_idle_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static int mn_imap_mailbox_enter_status_cb (MNClientSession * session, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static int mn_imap_mailbox_handle_status_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static int mn_imap_mailbox_enter_logout_cb (MNClientSession * session, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static int mn_imap_mailbox_handle_logout_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
-static MNAuthenticatedMailboxResult ___17_mn_imap_mailbox_impl_authenticated_check (MNAuthenticatedMailbox * authenticated_mailbox, GError ** err) G_GNUC_UNUSED;
+static MNAuthenticatedMailboxResult ___1a_mn_imap_mailbox_impl_authenticated_check (MNAuthenticatedMailbox * authenticated_mailbox, GError ** err) G_GNUC_UNUSED;
static void mn_imap_mailbox_notice_cb (MNClientSession * session, const char * str, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static MNClientSessionResponse * mn_imap_mailbox_response_new_cb (MNClientSession * session, const char * input, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static void mn_imap_mailbox_response_free_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static int mn_imap_mailbox_custom_handler_cb (MNClientSession * session, MNClientSessionResponse * response, int result, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
+static void mn_imap_mailbox_pre_read_cb (MNClientSession * session, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
+static void mn_imap_mailbox_post_read_cb (MNClientSession * session, MNClientSessionPrivate * priv) G_GNUC_UNUSED;
static void mn_imap_mailbox_session_set_error_from_arguments (MNClientSessionPrivate * priv, MNClientSessionResponse * response) G_GNUC_UNUSED;
static int mn_imap_mailbox_session_write (MNClientSessionPrivate * priv, const char * format, ...) G_GNUC_UNUSED;
static void mn_imap_mailbox_session_parse_capabilities (MNClientSessionPrivate * priv, const char * capabilities) G_GNUC_UNUSED;
@@ -181,6 +203,8 @@ static MNAuthenticatedMailboxClass *parent_class = NULL;
#define self_handle_search_cb mn_imap_mailbox_handle_search_cb
#define self_enter_fetch_cb mn_imap_mailbox_enter_fetch_cb
#define self_handle_fetch_cb mn_imap_mailbox_handle_fetch_cb
+#define self_enter_idle_cb mn_imap_mailbox_enter_idle_cb
+#define self_handle_idle_cb mn_imap_mailbox_handle_idle_cb
#define self_enter_status_cb mn_imap_mailbox_enter_status_cb
#define self_handle_status_cb mn_imap_mailbox_handle_status_cb
#define self_enter_logout_cb mn_imap_mailbox_enter_logout_cb
@@ -189,6 +213,8 @@ static MNAuthenticatedMailboxClass *parent_class = NULL;
#define self_response_new_cb mn_imap_mailbox_response_new_cb
#define self_response_free_cb mn_imap_mailbox_response_free_cb
#define self_custom_handler_cb mn_imap_mailbox_custom_handler_cb
+#define self_pre_read_cb mn_imap_mailbox_pre_read_cb
+#define self_post_read_cb mn_imap_mailbox_post_read_cb
#define self_session_set_error_from_arguments mn_imap_mailbox_session_set_error_from_arguments
#define self_session_write mn_imap_mailbox_session_write
#define self_session_parse_capabilities mn_imap_mailbox_session_parse_capabilities
@@ -240,47 +266,71 @@ GET_NEW_VARG (const char *first, ...)
return ret;
}
+
+static void
+___finalize(GObject *obj_self)
+{
+#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::finalize"
+ MNIMAPMailbox *self G_GNUC_UNUSED = MN_IMAP_MAILBOX (obj_self);
+ gpointer priv G_GNUC_UNUSED = self->_priv;
+ if(G_OBJECT_CLASS(parent_class)->finalize) \
+ (* G_OBJECT_CLASS(parent_class)->finalize)(obj_self);
+#line 146 "mn-imap-mailbox.gob"
+ if(self->_priv->idle_session_mutex) { g_mutex_free ((gpointer) self->_priv->idle_session_mutex); self->_priv->idle_session_mutex = NULL; }
+#line 281 "mn-imap-mailbox.c"
+}
+#undef __GOB_FUNCTION__
+
static void
mn_imap_mailbox_init (MNIMAPMailbox * o G_GNUC_UNUSED)
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::init"
+ o->_priv = G_TYPE_INSTANCE_GET_PRIVATE(o,TYPE_SELF,MNIMAPMailboxPrivate);
+#line 146 "mn-imap-mailbox.gob"
+ o->_priv->idle_session_mutex = g_mutex_new();
+#line 292 "mn-imap-mailbox.c"
}
#undef __GOB_FUNCTION__
-#line 117 "mn-imap-mailbox.gob"
+#line 148 "mn-imap-mailbox.gob"
static void
mn_imap_mailbox_class_init (MNIMAPMailboxClass * class G_GNUC_UNUSED)
-#line 253 "mn-imap-mailbox.c"
+#line 298 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::class_init"
- GObjectClass *g_object_class = (GObjectClass *)class;
+ GObjectClass *g_object_class G_GNUC_UNUSED = (GObjectClass*) class;
MNMailboxClass *mn_mailbox_class = (MNMailboxClass *)class;
MNAuthenticatedMailboxClass *mn_authenticated_mailbox_class = (MNAuthenticatedMailboxClass *)class;
+ g_type_class_add_private(class,sizeof(MNIMAPMailboxPrivate));
+
parent_class = g_type_class_ref (MN_TYPE_AUTHENTICATED_MAILBOX);
-#line 122 "mn-imap-mailbox.gob"
+#line 153 "mn-imap-mailbox.gob"
g_object_class->constructor = ___2_mn_imap_mailbox_constructor;
-#line 139 "mn-imap-mailbox.gob"
+#line 170 "mn-imap-mailbox.gob"
mn_mailbox_class->impl_is = ___3_mn_imap_mailbox_impl_is;
-#line 681 "mn-imap-mailbox.gob"
- mn_authenticated_mailbox_class->impl_authenticated_check = ___17_mn_imap_mailbox_impl_authenticated_check;
-#line 268 "mn-imap-mailbox.c"
+#line 176 "mn-imap-mailbox.gob"
+ mn_mailbox_class->removed = ___4_mn_imap_mailbox_removed;
+#line 823 "mn-imap-mailbox.gob"
+ mn_authenticated_mailbox_class->impl_authenticated_check = ___1a_mn_imap_mailbox_impl_authenticated_check;
+#line 317 "mn-imap-mailbox.c"
+ g_object_class->finalize = ___finalize;
{
-#line 118 "mn-imap-mailbox.gob"
+#line 149 "mn-imap-mailbox.gob"
MN_MAILBOX_CLASS(class)->format = "IMAP";
-#line 274 "mn-imap-mailbox.c"
+#line 324 "mn-imap-mailbox.c"
}
}
#undef __GOB_FUNCTION__
-#line 122 "mn-imap-mailbox.gob"
+#line 153 "mn-imap-mailbox.gob"
static GObject *
___2_mn_imap_mailbox_constructor (GType type G_GNUC_UNUSED, guint n_construct_properties, GObjectConstructParam * construct_params)
-#line 284 "mn-imap-mailbox.c"
+#line 334 "mn-imap-mailbox.c"
#define PARENT_HANDLER(___type,___n_construct_properties,___construct_params) \
((G_OBJECT_CLASS(parent_class)->constructor)? \
(* G_OBJECT_CLASS(parent_class)->constructor)(___type,___n_construct_properties,___construct_params): \
@@ -288,7 +338,7 @@ ___2_mn_imap_mailbox_constructor (GType type G_GNUC_UNUSED, guint n_construct_pr
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::constructor"
{
-#line 124 "mn-imap-mailbox.gob"
+#line 155 "mn-imap-mailbox.gob"
GObject *object;
MNMailbox *mailbox;
@@ -303,49 +353,84 @@ ___2_mn_imap_mailbox_constructor (GType type G_GNUC_UNUSED, guint n_construct_pr
return object;
}}
-#line 307 "mn-imap-mailbox.c"
+#line 357 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
#undef PARENT_HANDLER
-#line 139 "mn-imap-mailbox.gob"
+#line 170 "mn-imap-mailbox.gob"
static gboolean
___3_mn_imap_mailbox_impl_is (MNMailbox * dummy G_GNUC_UNUSED, MNURI * uri)
-#line 314 "mn-imap-mailbox.c"
+#line 364 "mn-imap-mailbox.c"
#define PARENT_HANDLER(___dummy,___uri) \
((MN_MAILBOX_CLASS(parent_class)->impl_is)? \
(* MN_MAILBOX_CLASS(parent_class)->impl_is)(___dummy,___uri): \
((gboolean )0))
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::impl_is"
-#line 139 "mn-imap-mailbox.gob"
+#line 170 "mn-imap-mailbox.gob"
g_return_val_if_fail (uri != NULL, (gboolean )0);
-#line 139 "mn-imap-mailbox.gob"
+#line 170 "mn-imap-mailbox.gob"
g_return_val_if_fail (MN_IS_URI (uri), (gboolean )0);
-#line 325 "mn-imap-mailbox.c"
+#line 375 "mn-imap-mailbox.c"
{
-#line 141 "mn-imap-mailbox.gob"
+#line 172 "mn-imap-mailbox.gob"
return MN_URI_IS_IMAP(uri);
}}
-#line 331 "mn-imap-mailbox.c"
+#line 381 "mn-imap-mailbox.c"
+#undef __GOB_FUNCTION__
+#undef PARENT_HANDLER
+
+#line 176 "mn-imap-mailbox.gob"
+static void
+___4_mn_imap_mailbox_removed (MNMailbox * mailbox G_GNUC_UNUSED)
+#line 388 "mn-imap-mailbox.c"
+#define PARENT_HANDLER(___mailbox) \
+ { if(MN_MAILBOX_CLASS(parent_class)->removed) \
+ (* MN_MAILBOX_CLASS(parent_class)->removed)(___mailbox); }
+{
+#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::removed"
+#line 176 "mn-imap-mailbox.gob"
+ g_return_if_fail (mailbox != NULL);
+#line 176 "mn-imap-mailbox.gob"
+ g_return_if_fail (MN_IS_MAILBOX (mailbox));
+#line 398 "mn-imap-mailbox.c"
+{
+#line 178 "mn-imap-mailbox.gob"
+
+ Self *self = SELF(mailbox);
+
+ g_atomic_int_inc(&selfp->removed);
+
+ g_mutex_lock(selfp->idle_session_mutex);
+ if (selfp->idle_session)
+ {
+ mn_client_session_write(selfp->idle_session->session, "DONE");
+ selfp->idle_session->idle_state = IDLE_STATE_WAS_IDLING;
+ }
+ g_mutex_unlock(selfp->idle_session_mutex);
+
+ PARENT_HANDLER(mailbox);
+ }}
+#line 416 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
#undef PARENT_HANDLER
-#line 145 "mn-imap-mailbox.gob"
+#line 194 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_handle_greeting_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
-#line 338 "mn-imap-mailbox.c"
+#line 423 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::handle_greeting_cb"
-#line 145 "mn-imap-mailbox.gob"
+#line 194 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 145 "mn-imap-mailbox.gob"
+#line 194 "mn-imap-mailbox.gob"
g_return_val_if_fail (response != NULL, (int )0);
-#line 145 "mn-imap-mailbox.gob"
+#line 194 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 347 "mn-imap-mailbox.c"
+#line 432 "mn-imap-mailbox.c"
{
-#line 149 "mn-imap-mailbox.gob"
+#line 198 "mn-imap-mailbox.gob"
priv->session = session;
@@ -372,22 +457,22 @@ mn_imap_mailbox_handle_greeting_cb (MNClientSession * session, MNClientSessionRe
else
return MN_CLIENT_SESSION_RESULT_BAD_RESPONSE_FOR_CONTEXT;
}}
-#line 376 "mn-imap-mailbox.c"
+#line 461 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 176 "mn-imap-mailbox.gob"
+#line 225 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_enter_capability_cb (MNClientSession * session, MNClientSessionPrivate * priv)
-#line 382 "mn-imap-mailbox.c"
+#line 467 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::enter_capability_cb"
-#line 176 "mn-imap-mailbox.gob"
+#line 225 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 176 "mn-imap-mailbox.gob"
+#line 225 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 389 "mn-imap-mailbox.c"
+#line 474 "mn-imap-mailbox.c"
{
-#line 179 "mn-imap-mailbox.gob"
+#line 228 "mn-imap-mailbox.gob"
g_strfreev(priv->capabilities);
priv->capabilities = NULL;
@@ -397,24 +482,24 @@ mn_imap_mailbox_enter_capability_cb (MNClientSession * session, MNClientSessionP
return self_session_write(priv, "CAPABILITY");
}}
-#line 401 "mn-imap-mailbox.c"
+#line 486 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 189 "mn-imap-mailbox.gob"
+#line 238 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_handle_capability_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
-#line 407 "mn-imap-mailbox.c"
+#line 492 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::handle_capability_cb"
-#line 189 "mn-imap-mailbox.gob"
+#line 238 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 189 "mn-imap-mailbox.gob"
+#line 238 "mn-imap-mailbox.gob"
g_return_val_if_fail (response != NULL, (int )0);
-#line 189 "mn-imap-mailbox.gob"
+#line 238 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 416 "mn-imap-mailbox.c"
+#line 501 "mn-imap-mailbox.c"
{
-#line 193 "mn-imap-mailbox.gob"
+#line 242 "mn-imap-mailbox.gob"
if (response->continuation)
return MN_CLIENT_SESSION_RESULT_BAD_RESPONSE_FOR_CONTEXT;
@@ -442,22 +527,22 @@ mn_imap_mailbox_handle_capability_cb (MNClientSession * session, MNClientSession
return RESULT_DEFAULT_HANDLER;
}}
-#line 446 "mn-imap-mailbox.c"
+#line 531 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 221 "mn-imap-mailbox.gob"
+#line 270 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_enter_starttls_cb (MNClientSession * session, MNClientSessionPrivate * priv)
-#line 452 "mn-imap-mailbox.c"
+#line 537 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::enter_starttls_cb"
-#line 221 "mn-imap-mailbox.gob"
+#line 270 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 221 "mn-imap-mailbox.gob"
+#line 270 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 459 "mn-imap-mailbox.c"
+#line 544 "mn-imap-mailbox.c"
{
-#line 224 "mn-imap-mailbox.gob"
+#line 273 "mn-imap-mailbox.gob"
#ifdef WITH_SSL
return self_session_write(priv, "STARTTLS");
@@ -465,24 +550,24 @@ mn_imap_mailbox_enter_starttls_cb (MNClientSession * session, MNClientSessionPri
g_return_val_if_reached(0);
#endif /* WITH_SSL */
}}
-#line 469 "mn-imap-mailbox.c"
+#line 554 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 232 "mn-imap-mailbox.gob"
+#line 281 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_handle_starttls_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
-#line 475 "mn-imap-mailbox.c"
+#line 560 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::handle_starttls_cb"
-#line 232 "mn-imap-mailbox.gob"
+#line 281 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 232 "mn-imap-mailbox.gob"
+#line 281 "mn-imap-mailbox.gob"
g_return_val_if_fail (response != NULL, (int )0);
-#line 232 "mn-imap-mailbox.gob"
+#line 281 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 484 "mn-imap-mailbox.c"
+#line 569 "mn-imap-mailbox.c"
{
-#line 236 "mn-imap-mailbox.gob"
+#line 285 "mn-imap-mailbox.gob"
#ifdef WITH_SSL
if (response->continuation)
@@ -510,29 +595,35 @@ mn_imap_mailbox_handle_starttls_cb (MNClientSession * session, MNClientSessionRe
g_return_val_if_reached(0);
#endif /* WITH_SSL */
}}
-#line 514 "mn-imap-mailbox.c"
+#line 599 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 264 "mn-imap-mailbox.gob"
+#line 313 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_enter_authenticate_cb (MNClientSession * session, MNClientSessionPrivate * priv)
-#line 520 "mn-imap-mailbox.c"
+#line 605 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::enter_authenticate_cb"
-#line 264 "mn-imap-mailbox.gob"
+#line 313 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 264 "mn-imap-mailbox.gob"
+#line 313 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 527 "mn-imap-mailbox.c"
+#line 612 "mn-imap-mailbox.c"
{
-#line 267 "mn-imap-mailbox.gob"
+#line 316 "mn-imap-mailbox.gob"
#ifdef WITH_SASL
+ /*
+ * RFC 3501 6.2.2 specifies that the IMAP protocol does not
+ * support the "initial response" feature of SASL, so we set the
+ * initial_response argument to FALSE.
+ */
if (mn_client_session_sasl_authentication_start(priv->session,
"imap",
priv->auth_mechanisms,
priv->mailbox->uri->authmech,
- &priv->sasl_mechanism))
+ &priv->sasl_mechanism,
+ FALSE))
return self_session_write(priv, "AUTHENTICATE %s", priv->sasl_mechanism);
else
return self_session_authenticate_fallback(priv);
@@ -540,24 +631,24 @@ mn_imap_mailbox_enter_authenticate_cb (MNClientSession * session, MNClientSessio
g_return_val_if_reached(0);
#endif /* WITH_SASL */
}}
-#line 544 "mn-imap-mailbox.c"
+#line 635 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 282 "mn-imap-mailbox.gob"
+#line 337 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_handle_authenticate_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
-#line 550 "mn-imap-mailbox.c"
+#line 641 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::handle_authenticate_cb"
-#line 282 "mn-imap-mailbox.gob"
+#line 337 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 282 "mn-imap-mailbox.gob"
+#line 337 "mn-imap-mailbox.gob"
g_return_val_if_fail (response != NULL, (int )0);
-#line 282 "mn-imap-mailbox.gob"
+#line 337 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 559 "mn-imap-mailbox.c"
+#line 650 "mn-imap-mailbox.c"
{
-#line 286 "mn-imap-mailbox.gob"
+#line 341 "mn-imap-mailbox.gob"
#ifdef WITH_SASL
if (response->tag)
@@ -584,22 +675,22 @@ mn_imap_mailbox_handle_authenticate_cb (MNClientSession * session, MNClientSessi
g_return_val_if_reached(0);
#endif /* WITH_SASL */
}}
-#line 588 "mn-imap-mailbox.c"
+#line 679 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 313 "mn-imap-mailbox.gob"
+#line 368 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_enter_login_cb (MNClientSession * session, MNClientSessionPrivate * priv)
-#line 594 "mn-imap-mailbox.c"
+#line 685 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::enter_login_cb"
-#line 313 "mn-imap-mailbox.gob"
+#line 368 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 313 "mn-imap-mailbox.gob"
+#line 368 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 601 "mn-imap-mailbox.c"
+#line 692 "mn-imap-mailbox.c"
{
-#line 316 "mn-imap-mailbox.gob"
+#line 371 "mn-imap-mailbox.gob"
if (self_session_has_capability(priv, "LOGINDISABLED"))
{
@@ -622,24 +713,24 @@ mn_imap_mailbox_enter_login_cb (MNClientSession * session, MNClientSessionPrivat
return result;
}
}}
-#line 626 "mn-imap-mailbox.c"
+#line 717 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 339 "mn-imap-mailbox.gob"
+#line 394 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_handle_login_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
-#line 632 "mn-imap-mailbox.c"
+#line 723 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::handle_login_cb"
-#line 339 "mn-imap-mailbox.gob"
+#line 394 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 339 "mn-imap-mailbox.gob"
+#line 394 "mn-imap-mailbox.gob"
g_return_val_if_fail (response != NULL, (int )0);
-#line 339 "mn-imap-mailbox.gob"
+#line 394 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 641 "mn-imap-mailbox.c"
+#line 732 "mn-imap-mailbox.c"
{
-#line 343 "mn-imap-mailbox.gob"
+#line 398 "mn-imap-mailbox.gob"
if (response->continuation)
return MN_CLIENT_SESSION_RESULT_BAD_RESPONSE_FOR_CONTEXT;
@@ -661,24 +752,23 @@ mn_imap_mailbox_handle_login_cb (MNClientSession * session, MNClientSessionRespo
return RESULT_DEFAULT_HANDLER;
}}
-#line 665 "mn-imap-mailbox.c"
+#line 756 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 365 "mn-imap-mailbox.gob"
+#line 420 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_enter_examine_cb (MNClientSession * session, MNClientSessionPrivate * priv)
-#line 671 "mn-imap-mailbox.c"
+#line 762 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::enter_examine_cb"
-#line 365 "mn-imap-mailbox.gob"
+#line 420 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 365 "mn-imap-mailbox.gob"
+#line 420 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 678 "mn-imap-mailbox.c"
+#line 769 "mn-imap-mailbox.c"
{
-#line 368 "mn-imap-mailbox.gob"
+#line 423 "mn-imap-mailbox.gob"
-#ifdef WITH_MIME
char *quoted_mailbox;
int result;
@@ -687,30 +777,26 @@ mn_imap_mailbox_enter_examine_cb (MNClientSession * session, MNClientSessionPriv
g_free(quoted_mailbox);
return result;
-#else /* WITH_MIME */
- g_return_val_if_reached(0);
-#endif
}}
-#line 695 "mn-imap-mailbox.c"
+#line 782 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 383 "mn-imap-mailbox.gob"
+#line 434 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_handle_examine_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
-#line 701 "mn-imap-mailbox.c"
+#line 788 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::handle_examine_cb"
-#line 383 "mn-imap-mailbox.gob"
+#line 434 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 383 "mn-imap-mailbox.gob"
+#line 434 "mn-imap-mailbox.gob"
g_return_val_if_fail (response != NULL, (int )0);
-#line 383 "mn-imap-mailbox.gob"
+#line 434 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 710 "mn-imap-mailbox.c"
+#line 797 "mn-imap-mailbox.c"
{
-#line 387 "mn-imap-mailbox.gob"
+#line 438 "mn-imap-mailbox.gob"
-#ifdef WITH_MIME
if (response->continuation)
return MN_CLIENT_SESSION_RESULT_BAD_RESPONSE_FOR_CONTEXT;
else if (response->tag)
@@ -727,53 +813,53 @@ mn_imap_mailbox_handle_examine_cb (MNClientSession * session, MNClientSessionRes
}
return RESULT_DEFAULT_HANDLER;
-#else /* WITH_MIME */
- g_return_val_if_reached(0);
-#endif
}}
-#line 735 "mn-imap-mailbox.c"
+#line 818 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 410 "mn-imap-mailbox.gob"
+#line 457 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_enter_search_cb (MNClientSession * session, MNClientSessionPrivate * priv)
-#line 741 "mn-imap-mailbox.c"
+#line 824 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::enter_search_cb"
-#line 410 "mn-imap-mailbox.gob"
+#line 457 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 410 "mn-imap-mailbox.gob"
+#line 457 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 748 "mn-imap-mailbox.c"
+#line 831 "mn-imap-mailbox.c"
{
-#line 413 "mn-imap-mailbox.gob"
+#line 460 "mn-imap-mailbox.gob"
-#ifdef WITH_MIME
+ priv->search_received = FALSE;
+
+ g_slist_free(priv->fetch_numbers);
+ priv->fetch_numbers = NULL;
+
+ g_free(priv->fetch_set);
+ priv->fetch_set = NULL;
+
return self_session_write(priv, "SEARCH UNSEEN");
-#else
- g_return_val_if_reached(0);
-#endif
}}
-#line 758 "mn-imap-mailbox.c"
+#line 845 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 421 "mn-imap-mailbox.gob"
+#line 472 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_handle_search_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
-#line 764 "mn-imap-mailbox.c"
+#line 851 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::handle_search_cb"
-#line 421 "mn-imap-mailbox.gob"
+#line 472 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 421 "mn-imap-mailbox.gob"
+#line 472 "mn-imap-mailbox.gob"
g_return_val_if_fail (response != NULL, (int )0);
-#line 421 "mn-imap-mailbox.gob"
+#line 472 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 773 "mn-imap-mailbox.c"
+#line 860 "mn-imap-mailbox.c"
{
-#line 425 "mn-imap-mailbox.gob"
+#line 476 "mn-imap-mailbox.gob"
-#ifdef WITH_MIME
if (response->continuation)
return MN_CLIENT_SESSION_RESULT_BAD_RESPONSE_FOR_CONTEXT;
else if (response->tag)
@@ -785,16 +871,31 @@ mn_imap_mailbox_handle_search_cb (MNClientSession * session, MNClientSessionResp
if (priv->search_received)
{
if (priv->fetch_set)
- return STATE_FETCH;
+ {
+#ifdef WITH_MIME
+ return STATE_FETCH;
+#else
+ GDK_THREADS_ENTER();
+ mn_mailbox_set_has_new(priv->mailbox, TRUE);
+ gdk_flush();
+ GDK_THREADS_LEAVE();
+
+ return STATE_IDLE;
+#endif /* WITH_MIME */
+ }
else
{
GDK_THREADS_ENTER();
mn_mailbox_set_has_new(priv->mailbox, FALSE);
+#ifdef WITH_MIME
mn_mailbox_set_messages(priv->mailbox, NULL);
+#endif
gdk_flush();
GDK_THREADS_LEAVE();
- return STATE_LOGOUT;
+ return self_session_has_capability(priv, "IDLE")
+ ? STATE_IDLE
+ : STATE_LOGOUT;
}
}
else /* compliance error */
@@ -838,52 +939,56 @@ mn_imap_mailbox_handle_search_cb (MNClientSession * session, MNClientSessionResp
}
return RESULT_DEFAULT_HANDLER;
-#else /* WITH_MIME */
- g_return_val_if_reached(0);
-#endif
}}
-#line 846 "mn-imap-mailbox.c"
+#line 944 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 496 "mn-imap-mailbox.gob"
+#line 558 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_enter_fetch_cb (MNClientSession * session, MNClientSessionPrivate * priv)
-#line 852 "mn-imap-mailbox.c"
+#line 950 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::enter_fetch_cb"
-#line 496 "mn-imap-mailbox.gob"
+#line 558 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 496 "mn-imap-mailbox.gob"
+#line 558 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 859 "mn-imap-mailbox.c"
+#line 957 "mn-imap-mailbox.c"
{
-#line 499 "mn-imap-mailbox.gob"
+#line 561 "mn-imap-mailbox.gob"
#ifdef WITH_MIME
g_return_val_if_fail(priv->fetch_set != NULL, 0);
+
+ g_slist_free(priv->received_numbers);
+ priv->received_numbers = NULL;
+
+ mn_g_object_slist_free(priv->messages);
+ priv->messages = NULL;
+
return self_session_write(priv, "FETCH %s BODY[HEADER]", priv->fetch_set);
#else /* WITH_MIME */
g_return_val_if_reached(0);
#endif
}}
-#line 870 "mn-imap-mailbox.c"
+#line 975 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 508 "mn-imap-mailbox.gob"
+#line 577 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_handle_fetch_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
-#line 876 "mn-imap-mailbox.c"
+#line 981 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::handle_fetch_cb"
-#line 508 "mn-imap-mailbox.gob"
+#line 577 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 508 "mn-imap-mailbox.gob"
+#line 577 "mn-imap-mailbox.gob"
g_return_val_if_fail (response != NULL, (int )0);
-#line 508 "mn-imap-mailbox.gob"
+#line 577 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 885 "mn-imap-mailbox.c"
+#line 990 "mn-imap-mailbox.c"
{
-#line 512 "mn-imap-mailbox.gob"
+#line 581 "mn-imap-mailbox.gob"
#ifdef WITH_MIME
if (response->continuation)
@@ -907,7 +1012,9 @@ mn_imap_mailbox_handle_fetch_cb (MNClientSession * session, MNClientSessionRespo
gdk_flush();
GDK_THREADS_LEAVE();
- return STATE_LOGOUT;
+ return self_session_has_capability(priv, "IDLE")
+ ? STATE_IDLE
+ : STATE_LOGOUT;
}
else if (IS_NO(response) || IS_BAD(response))
return RESULT_ERROR_LOGOUT;
@@ -957,22 +1064,118 @@ mn_imap_mailbox_handle_fetch_cb (MNClientSession * session, MNClientSessionRespo
g_return_val_if_reached(0);
#endif
}}
-#line 961 "mn-imap-mailbox.c"
+#line 1068 "mn-imap-mailbox.c"
+#undef __GOB_FUNCTION__
+
+#line 657 "mn-imap-mailbox.gob"
+static int
+mn_imap_mailbox_enter_idle_cb (MNClientSession * session, MNClientSessionPrivate * priv)
+#line 1074 "mn-imap-mailbox.c"
+{
+#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::enter_idle_cb"
+#line 657 "mn-imap-mailbox.gob"
+ g_return_val_if_fail (session != NULL, (int )0);
+#line 657 "mn-imap-mailbox.gob"
+ g_return_val_if_fail (priv != NULL, (int )0);
+#line 1081 "mn-imap-mailbox.c"
+{
+#line 660 "mn-imap-mailbox.gob"
+
+ priv->idle_state = IDLE_STATE_NORMAL;
+ return REMOVED(priv->self) ? STATE_LOGOUT : self_session_write(priv, "IDLE");
+ }}
+#line 1088 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 586 "mn-imap-mailbox.gob"
+#line 665 "mn-imap-mailbox.gob"
+static int
+mn_imap_mailbox_handle_idle_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
+#line 1094 "mn-imap-mailbox.c"
+{
+#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::handle_idle_cb"
+#line 665 "mn-imap-mailbox.gob"
+ g_return_val_if_fail (session != NULL, (int )0);
+#line 665 "mn-imap-mailbox.gob"
+ g_return_val_if_fail (response != NULL, (int )0);
+#line 665 "mn-imap-mailbox.gob"
+ g_return_val_if_fail (priv != NULL, (int )0);
+#line 1103 "mn-imap-mailbox.c"
+{
+#line 669 "mn-imap-mailbox.gob"
+
+ if (priv->idle_state == IDLE_STATE_IDLING)
+ {
+ if (response->continuation || response->tag)
+ return MN_CLIENT_SESSION_RESULT_BAD_RESPONSE_FOR_CONTEXT;
+
+ priv->idle_state = IDLE_STATE_WAS_IDLING;
+
+ if (IS_BYE(response))
+ return MN_CLIENT_SESSION_RESULT_END; /* we'll reconnect */
+ else
+ /* any other response wakes us up */
+ return mn_client_session_write(session, "DONE");
+ }
+ else
+ {
+ if (response->continuation)
+ {
+ if (priv->idle_state == IDLE_STATE_WAS_IDLING)
+ return MN_CLIENT_SESSION_RESULT_BAD_RESPONSE_FOR_CONTEXT;
+ else
+ {
+ /* we're now in the idle loop */
+ priv->idle_state = IDLE_STATE_IDLING;
+ priv->could_idle = TRUE;
+
+ GDK_THREADS_ENTER();
+ mn_mailbox_set_must_poll(priv->mailbox, FALSE);
+ gdk_flush();
+ GDK_THREADS_LEAVE();
+
+ return MN_CLIENT_SESSION_RESULT_CONTINUE;
+ }
+ }
+ else if (response->tag)
+ {
+ if (HAS_CURRENT_TAG(response, priv))
+ {
+ if (IS_OK(response))
+ return REMOVED(priv->self) ? STATE_LOGOUT : STATE_SEARCH;
+ else if (IS_NO(response) || IS_BAD(response))
+ /*
+ * The server advertised IDLE but does not actually
+ * support it.
+ *
+ * Although strictly speaking this can be considered
+ * a compliance fault, we'll be tolerant and just
+ * logout without setting an error.
+ */
+ return STATE_LOGOUT;
+ else
+ return MN_CLIENT_SESSION_RESULT_BAD_RESPONSE_FOR_CONTEXT;
+ }
+ }
+ }
+
+ return RESULT_DEFAULT_HANDLER;
+ }}
+#line 1164 "mn-imap-mailbox.c"
+#undef __GOB_FUNCTION__
+
+#line 728 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_enter_status_cb (MNClientSession * session, MNClientSessionPrivate * priv)
-#line 967 "mn-imap-mailbox.c"
+#line 1170 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::enter_status_cb"
-#line 586 "mn-imap-mailbox.gob"
+#line 728 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 586 "mn-imap-mailbox.gob"
+#line 728 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 974 "mn-imap-mailbox.c"
+#line 1177 "mn-imap-mailbox.c"
{
-#line 589 "mn-imap-mailbox.gob"
+#line 731 "mn-imap-mailbox.gob"
#ifndef WITH_MIME
char *quoted_mailbox;
@@ -987,24 +1190,24 @@ mn_imap_mailbox_enter_status_cb (MNClientSession * session, MNClientSessionPriva
g_return_val_if_reached(0);
#endif
}}
-#line 991 "mn-imap-mailbox.c"
+#line 1194 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 604 "mn-imap-mailbox.gob"
+#line 746 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_handle_status_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
-#line 997 "mn-imap-mailbox.c"
+#line 1200 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::handle_status_cb"
-#line 604 "mn-imap-mailbox.gob"
+#line 746 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 604 "mn-imap-mailbox.gob"
+#line 746 "mn-imap-mailbox.gob"
g_return_val_if_fail (response != NULL, (int )0);
-#line 604 "mn-imap-mailbox.gob"
+#line 746 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 1006 "mn-imap-mailbox.c"
+#line 1209 "mn-imap-mailbox.c"
{
-#line 608 "mn-imap-mailbox.gob"
+#line 750 "mn-imap-mailbox.gob"
#ifndef WITH_MIME
if (response->continuation)
@@ -1050,43 +1253,43 @@ mn_imap_mailbox_handle_status_cb (MNClientSession * session, MNClientSessionResp
g_return_val_if_reached(0);
#endif
}}
-#line 1054 "mn-imap-mailbox.c"
+#line 1257 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 654 "mn-imap-mailbox.gob"
+#line 796 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_enter_logout_cb (MNClientSession * session, MNClientSessionPrivate * priv)
-#line 1060 "mn-imap-mailbox.c"
+#line 1263 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::enter_logout_cb"
-#line 654 "mn-imap-mailbox.gob"
+#line 796 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 654 "mn-imap-mailbox.gob"
+#line 796 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 1067 "mn-imap-mailbox.c"
+#line 1270 "mn-imap-mailbox.c"
{
-#line 657 "mn-imap-mailbox.gob"
+#line 799 "mn-imap-mailbox.gob"
return self_session_write(priv, "LOGOUT");
}}
-#line 1073 "mn-imap-mailbox.c"
+#line 1276 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 661 "mn-imap-mailbox.gob"
+#line 803 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_handle_logout_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
-#line 1079 "mn-imap-mailbox.c"
+#line 1282 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::handle_logout_cb"
-#line 661 "mn-imap-mailbox.gob"
+#line 803 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 661 "mn-imap-mailbox.gob"
+#line 803 "mn-imap-mailbox.gob"
g_return_val_if_fail (response != NULL, (int )0);
-#line 661 "mn-imap-mailbox.gob"
+#line 803 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 1088 "mn-imap-mailbox.c"
+#line 1291 "mn-imap-mailbox.c"
{
-#line 665 "mn-imap-mailbox.gob"
+#line 807 "mn-imap-mailbox.gob"
if (response->continuation)
return MN_CLIENT_SESSION_RESULT_BAD_RESPONSE_FOR_CONTEXT;
@@ -1102,26 +1305,26 @@ mn_imap_mailbox_handle_logout_cb (MNClientSession * session, MNClientSessionResp
else
return MN_CLIENT_SESSION_RESULT_CONTINUE;
}}
-#line 1106 "mn-imap-mailbox.c"
+#line 1309 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 681 "mn-imap-mailbox.gob"
+#line 823 "mn-imap-mailbox.gob"
static MNAuthenticatedMailboxResult
-___17_mn_imap_mailbox_impl_authenticated_check (MNAuthenticatedMailbox * authenticated_mailbox G_GNUC_UNUSED, GError ** err)
-#line 1112 "mn-imap-mailbox.c"
+___1a_mn_imap_mailbox_impl_authenticated_check (MNAuthenticatedMailbox * authenticated_mailbox G_GNUC_UNUSED, GError ** err)
+#line 1315 "mn-imap-mailbox.c"
#define PARENT_HANDLER(___authenticated_mailbox,___err) \
((MN_AUTHENTICATED_MAILBOX_CLASS(parent_class)->impl_authenticated_check)? \
(* MN_AUTHENTICATED_MAILBOX_CLASS(parent_class)->impl_authenticated_check)(___authenticated_mailbox,___err): \
((MNAuthenticatedMailboxResult )0))
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::impl_authenticated_check"
-#line 681 "mn-imap-mailbox.gob"
+#line 823 "mn-imap-mailbox.gob"
g_return_val_if_fail (authenticated_mailbox != NULL, (MNAuthenticatedMailboxResult )0);
-#line 681 "mn-imap-mailbox.gob"
+#line 823 "mn-imap-mailbox.gob"
g_return_val_if_fail (MN_IS_AUTHENTICATED_MAILBOX (authenticated_mailbox), (MNAuthenticatedMailboxResult )0);
-#line 1123 "mn-imap-mailbox.c"
+#line 1326 "mn-imap-mailbox.c"
{
-#line 684 "mn-imap-mailbox.gob"
+#line 826 "mn-imap-mailbox.gob"
MNMailbox *mailbox = MN_MAILBOX(authenticated_mailbox);
Self *self = SELF(authenticated_mailbox);
@@ -1135,13 +1338,14 @@ ___17_mn_imap_mailbox_impl_authenticated_check (MNAuthenticatedMailbox * authent
{ STATE_AUTHENTICATE, self_enter_authenticate_cb, self_handle_authenticate_cb },
#endif
{ STATE_LOGIN, self_enter_login_cb, self_handle_login_cb },
-#ifdef WITH_MIME
{ STATE_EXAMINE, self_enter_examine_cb, self_handle_examine_cb },
{ STATE_SEARCH, self_enter_search_cb, self_handle_search_cb },
+#ifdef WITH_MIME
{ STATE_FETCH, self_enter_fetch_cb, self_handle_fetch_cb },
-#else /* WITH_MIME */
+#else
{ STATE_STATUS, self_enter_status_cb, self_handle_status_cb },
#endif
+ { STATE_IDLE, self_enter_idle_cb, self_handle_idle_cb },
{ STATE_LOGOUT, self_enter_logout_cb, self_handle_logout_cb },
MN_CLIENT_SESSION_STATES_END
@@ -1150,36 +1354,48 @@ ___17_mn_imap_mailbox_impl_authenticated_check (MNAuthenticatedMailbox * authent
self_notice_cb,
self_response_new_cb,
self_response_free_cb,
- self_custom_handler_cb
+ self_custom_handler_cb,
+ self_pre_read_cb,
+ self_post_read_cb
};
MNClientSessionPrivate priv;
gboolean status;
- memset(&priv, 0, sizeof(priv));
- priv.mailbox = mailbox;
- priv.self = self;
+ do
+ {
+ memset(&priv, 0, sizeof(priv));
+ priv.mailbox = mailbox;
+ priv.self = self;
- status = mn_client_session_run(states,
- &callbacks,
+ status = mn_client_session_run(states,
+ &callbacks,
#ifdef WITH_SSL
- MN_URI_IS_SSL(mailbox->uri),
+ MN_URI_IS_SSL(mailbox->uri),
#endif
- mailbox->uri->hostname,
- mailbox->uri->port,
- mailbox->uri->username,
- MN_AUTHENTICATED_MAILBOX(self)->password,
- &priv,
- err);
+ mailbox->uri->hostname,
+ mailbox->uri->port,
+ mailbox->uri->username,
+ MN_AUTHENTICATED_MAILBOX(self)->password,
+ &priv,
+ err);
- g_strfreev(priv.capabilities);
- eel_g_slist_free_deep(priv.auth_mechanisms);
+ g_strfreev(priv.capabilities);
+ eel_g_slist_free_deep(priv.auth_mechanisms);
+
+ g_slist_free(priv.fetch_numbers);
+ g_free(priv.fetch_set);
#ifdef WITH_MIME
- g_slist_free(priv.fetch_numbers);
- g_free(priv.fetch_set);
- g_slist_free(priv.received_numbers);
- mn_g_object_slist_free(priv.messages);
+ g_slist_free(priv.received_numbers);
+ mn_g_object_slist_free(priv.messages);
#endif
+ }
+ while (status && priv.could_idle && ! REMOVED(self));
+
+ GDK_THREADS_ENTER();
+ mn_mailbox_set_must_poll(mailbox, TRUE);
+ gdk_flush();
+ GDK_THREADS_LEAVE();
return status
? MN_AUTHENTICATED_MAILBOX_OK
@@ -1187,46 +1403,46 @@ ___17_mn_imap_mailbox_impl_authenticated_check (MNAuthenticatedMailbox * authent
? MN_AUTHENTICATED_MAILBOX_ERROR_AUTHENTICATION
: MN_AUTHENTICATED_MAILBOX_ERROR_OTHER);
}}
-#line 1191 "mn-imap-mailbox.c"
+#line 1407 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
#undef PARENT_HANDLER
-#line 750 "mn-imap-mailbox.gob"
+#line 905 "mn-imap-mailbox.gob"
static void
mn_imap_mailbox_notice_cb (MNClientSession * session, const char * str, MNClientSessionPrivate * priv)
-#line 1198 "mn-imap-mailbox.c"
+#line 1414 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::notice_cb"
-#line 750 "mn-imap-mailbox.gob"
+#line 905 "mn-imap-mailbox.gob"
g_return_if_fail (session != NULL);
-#line 750 "mn-imap-mailbox.gob"
+#line 905 "mn-imap-mailbox.gob"
g_return_if_fail (str != NULL);
-#line 750 "mn-imap-mailbox.gob"
+#line 905 "mn-imap-mailbox.gob"
g_return_if_fail (priv != NULL);
-#line 1207 "mn-imap-mailbox.c"
+#line 1423 "mn-imap-mailbox.c"
{
-#line 754 "mn-imap-mailbox.gob"
+#line 909 "mn-imap-mailbox.gob"
mn_mailbox_notice(priv->mailbox, "%s", str);
}}
-#line 1213 "mn-imap-mailbox.c"
+#line 1429 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 758 "mn-imap-mailbox.gob"
+#line 913 "mn-imap-mailbox.gob"
static MNClientSessionResponse *
mn_imap_mailbox_response_new_cb (MNClientSession * session, const char * input, MNClientSessionPrivate * priv)
-#line 1219 "mn-imap-mailbox.c"
+#line 1435 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::response_new_cb"
-#line 758 "mn-imap-mailbox.gob"
+#line 913 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (MNClientSessionResponse * )0);
-#line 758 "mn-imap-mailbox.gob"
+#line 913 "mn-imap-mailbox.gob"
g_return_val_if_fail (input != NULL, (MNClientSessionResponse * )0);
-#line 758 "mn-imap-mailbox.gob"
+#line 913 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (MNClientSessionResponse * )0);
-#line 1228 "mn-imap-mailbox.c"
+#line 1444 "mn-imap-mailbox.c"
{
-#line 762 "mn-imap-mailbox.gob"
+#line 917 "mn-imap-mailbox.gob"
MNClientSessionResponse *response = NULL;
@@ -1273,24 +1489,24 @@ mn_imap_mailbox_response_new_cb (MNClientSession * session, const char * input,
return response;
}}
-#line 1277 "mn-imap-mailbox.c"
+#line 1493 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 809 "mn-imap-mailbox.gob"
+#line 964 "mn-imap-mailbox.gob"
static void
mn_imap_mailbox_response_free_cb (MNClientSession * session, MNClientSessionResponse * response, MNClientSessionPrivate * priv)
-#line 1283 "mn-imap-mailbox.c"
+#line 1499 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::response_free_cb"
-#line 809 "mn-imap-mailbox.gob"
+#line 964 "mn-imap-mailbox.gob"
g_return_if_fail (session != NULL);
-#line 809 "mn-imap-mailbox.gob"
+#line 964 "mn-imap-mailbox.gob"
g_return_if_fail (response != NULL);
-#line 809 "mn-imap-mailbox.gob"
+#line 964 "mn-imap-mailbox.gob"
g_return_if_fail (priv != NULL);
-#line 1292 "mn-imap-mailbox.c"
+#line 1508 "mn-imap-mailbox.c"
{
-#line 813 "mn-imap-mailbox.gob"
+#line 968 "mn-imap-mailbox.gob"
g_free(response->continuation);
g_free(response->tag);
@@ -1299,24 +1515,24 @@ mn_imap_mailbox_response_free_cb (MNClientSession * session, MNClientSessionResp
g_free(response->arguments);
g_free(response);
}}
-#line 1303 "mn-imap-mailbox.c"
+#line 1519 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 822 "mn-imap-mailbox.gob"
+#line 977 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_custom_handler_cb (MNClientSession * session, MNClientSessionResponse * response, int result, MNClientSessionPrivate * priv)
-#line 1309 "mn-imap-mailbox.c"
+#line 1525 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::custom_handler_cb"
-#line 822 "mn-imap-mailbox.gob"
+#line 977 "mn-imap-mailbox.gob"
g_return_val_if_fail (session != NULL, (int )0);
-#line 822 "mn-imap-mailbox.gob"
+#line 977 "mn-imap-mailbox.gob"
g_return_val_if_fail (response != NULL, (int )0);
-#line 822 "mn-imap-mailbox.gob"
+#line 977 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 1318 "mn-imap-mailbox.c"
+#line 1534 "mn-imap-mailbox.c"
{
-#line 827 "mn-imap-mailbox.gob"
+#line 982 "mn-imap-mailbox.gob"
switch (result)
{
@@ -1338,44 +1554,92 @@ mn_imap_mailbox_custom_handler_cb (MNClientSession * session, MNClientSessionRes
g_return_val_if_reached(0);
}
}}
-#line 1342 "mn-imap-mailbox.c"
+#line 1558 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 849 "mn-imap-mailbox.gob"
+#line 1004 "mn-imap-mailbox.gob"
+static void
+mn_imap_mailbox_pre_read_cb (MNClientSession * session, MNClientSessionPrivate * priv)
+#line 1564 "mn-imap-mailbox.c"
+{
+#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::pre_read_cb"
+#line 1004 "mn-imap-mailbox.gob"
+ g_return_if_fail (session != NULL);
+#line 1004 "mn-imap-mailbox.gob"
+ g_return_if_fail (priv != NULL);
+#line 1571 "mn-imap-mailbox.c"
+{
+#line 1007 "mn-imap-mailbox.gob"
+
+ if (priv->idle_state == IDLE_STATE_IDLING)
+ {
+ g_mutex_lock(priv->self->_priv->idle_session_mutex);
+ priv->self->_priv->idle_session = priv;
+ g_mutex_unlock(priv->self->_priv->idle_session_mutex);
+ }
+ }}
+#line 1582 "mn-imap-mailbox.c"
+#undef __GOB_FUNCTION__
+
+#line 1016 "mn-imap-mailbox.gob"
+static void
+mn_imap_mailbox_post_read_cb (MNClientSession * session, MNClientSessionPrivate * priv)
+#line 1588 "mn-imap-mailbox.c"
+{
+#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::post_read_cb"
+#line 1016 "mn-imap-mailbox.gob"
+ g_return_if_fail (session != NULL);
+#line 1016 "mn-imap-mailbox.gob"
+ g_return_if_fail (priv != NULL);
+#line 1595 "mn-imap-mailbox.c"
+{
+#line 1019 "mn-imap-mailbox.gob"
+
+ if (priv->idle_state == IDLE_STATE_IDLING)
+ {
+ g_mutex_lock(priv->self->_priv->idle_session_mutex);
+ priv->self->_priv->idle_session = NULL;
+ g_mutex_unlock(priv->self->_priv->idle_session_mutex);
+ }
+ }}
+#line 1606 "mn-imap-mailbox.c"
+#undef __GOB_FUNCTION__
+
+#line 1028 "mn-imap-mailbox.gob"
static void
mn_imap_mailbox_session_set_error_from_arguments (MNClientSessionPrivate * priv, MNClientSessionResponse * response)
-#line 1348 "mn-imap-mailbox.c"
+#line 1612 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::session_set_error_from_arguments"
-#line 849 "mn-imap-mailbox.gob"
+#line 1028 "mn-imap-mailbox.gob"
g_return_if_fail (priv != NULL);
-#line 849 "mn-imap-mailbox.gob"
+#line 1028 "mn-imap-mailbox.gob"
g_return_if_fail (response != NULL);
-#line 1355 "mn-imap-mailbox.c"
+#line 1619 "mn-imap-mailbox.c"
{
-#line 852 "mn-imap-mailbox.gob"
+#line 1031 "mn-imap-mailbox.gob"
if (response->arguments)
mn_client_session_error(priv->session, "\"%s\"", response->arguments);
else
mn_client_session_error(priv->session, _("unknown server error"));
}}
-#line 1364 "mn-imap-mailbox.c"
+#line 1628 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 859 "mn-imap-mailbox.gob"
+#line 1038 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_session_write (MNClientSessionPrivate * priv, const char * format, ...)
-#line 1370 "mn-imap-mailbox.c"
+#line 1634 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::session_write"
-#line 859 "mn-imap-mailbox.gob"
+#line 1038 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 859 "mn-imap-mailbox.gob"
+#line 1038 "mn-imap-mailbox.gob"
g_return_val_if_fail (format != NULL, (int )0);
-#line 1377 "mn-imap-mailbox.c"
+#line 1641 "mn-imap-mailbox.c"
{
-#line 863 "mn-imap-mailbox.gob"
+#line 1042 "mn-imap-mailbox.gob"
va_list args;
char *command;
@@ -1394,20 +1658,20 @@ mn_imap_mailbox_session_write (MNClientSessionPrivate * priv, const char * forma
return result;
}}
-#line 1398 "mn-imap-mailbox.c"
+#line 1662 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 882 "mn-imap-mailbox.gob"
+#line 1061 "mn-imap-mailbox.gob"
static void
mn_imap_mailbox_session_parse_capabilities (MNClientSessionPrivate * priv, const char * capabilities)
-#line 1404 "mn-imap-mailbox.c"
+#line 1668 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::session_parse_capabilities"
-#line 882 "mn-imap-mailbox.gob"
+#line 1061 "mn-imap-mailbox.gob"
g_return_if_fail (priv != NULL);
-#line 1409 "mn-imap-mailbox.c"
+#line 1673 "mn-imap-mailbox.c"
{
-#line 885 "mn-imap-mailbox.gob"
+#line 1064 "mn-imap-mailbox.gob"
if (capabilities)
{
@@ -1422,22 +1686,22 @@ mn_imap_mailbox_session_parse_capabilities (MNClientSessionPrivate * priv, const
else
priv->capabilities = g_new0(char *, 1);
}}
-#line 1426 "mn-imap-mailbox.c"
+#line 1690 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 900 "mn-imap-mailbox.gob"
+#line 1079 "mn-imap-mailbox.gob"
static gboolean
mn_imap_mailbox_session_has_capability (MNClientSessionPrivate * priv, const char * capability)
-#line 1432 "mn-imap-mailbox.c"
+#line 1696 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::session_has_capability"
-#line 900 "mn-imap-mailbox.gob"
+#line 1079 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (gboolean )0);
-#line 900 "mn-imap-mailbox.gob"
+#line 1079 "mn-imap-mailbox.gob"
g_return_val_if_fail (capability != NULL, (gboolean )0);
-#line 1439 "mn-imap-mailbox.c"
+#line 1703 "mn-imap-mailbox.c"
{
-#line 903 "mn-imap-mailbox.gob"
+#line 1082 "mn-imap-mailbox.gob"
int i;
@@ -1449,20 +1713,20 @@ mn_imap_mailbox_session_has_capability (MNClientSessionPrivate * priv, const cha
return FALSE;
}}
-#line 1453 "mn-imap-mailbox.c"
+#line 1717 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 915 "mn-imap-mailbox.gob"
+#line 1094 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_session_after_capability (MNClientSessionPrivate * priv)
-#line 1459 "mn-imap-mailbox.c"
+#line 1723 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::session_after_capability"
-#line 915 "mn-imap-mailbox.gob"
+#line 1094 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 1464 "mn-imap-mailbox.c"
+#line 1728 "mn-imap-mailbox.c"
{
-#line 917 "mn-imap-mailbox.gob"
+#line 1096 "mn-imap-mailbox.gob"
#ifdef WITH_SSL
if (MN_URI_IS_INBAND_SSL(priv->mailbox->uri)
@@ -1481,20 +1745,20 @@ mn_imap_mailbox_session_after_capability (MNClientSessionPrivate * priv)
#endif /* WITH_SSL */
return self_session_authenticate(priv);
}}
-#line 1485 "mn-imap-mailbox.c"
+#line 1749 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 936 "mn-imap-mailbox.gob"
+#line 1115 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_session_authenticate (MNClientSessionPrivate * priv)
-#line 1491 "mn-imap-mailbox.c"
+#line 1755 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::session_authenticate"
-#line 936 "mn-imap-mailbox.gob"
+#line 1115 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 1496 "mn-imap-mailbox.c"
+#line 1760 "mn-imap-mailbox.c"
{
-#line 938 "mn-imap-mailbox.gob"
+#line 1117 "mn-imap-mailbox.gob"
if (priv->mailbox->uri->authmech)
{
@@ -1523,20 +1787,20 @@ mn_imap_mailbox_session_authenticate (MNClientSessionPrivate * priv)
return STATE_LOGIN;
}
}}
-#line 1527 "mn-imap-mailbox.c"
+#line 1791 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 967 "mn-imap-mailbox.gob"
+#line 1146 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_session_authenticate_fallback (MNClientSessionPrivate * priv)
-#line 1533 "mn-imap-mailbox.c"
+#line 1797 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::session_authenticate_fallback"
-#line 967 "mn-imap-mailbox.gob"
+#line 1146 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 1538 "mn-imap-mailbox.c"
+#line 1802 "mn-imap-mailbox.c"
{
-#line 969 "mn-imap-mailbox.gob"
+#line 1148 "mn-imap-mailbox.gob"
if (! priv->mailbox->uri->authmech)
{
@@ -1547,28 +1811,30 @@ mn_imap_mailbox_session_authenticate_fallback (MNClientSessionPrivate * priv)
priv->authentication_failed = TRUE;
return mn_client_session_error(priv->session, _("authentication failed"));
}}
-#line 1551 "mn-imap-mailbox.c"
+#line 1815 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
-#line 980 "mn-imap-mailbox.gob"
+#line 1159 "mn-imap-mailbox.gob"
static int
mn_imap_mailbox_session_check_mail (MNClientSessionPrivate * priv)
-#line 1557 "mn-imap-mailbox.c"
+#line 1821 "mn-imap-mailbox.c"
{
#define __GOB_FUNCTION__ "MN:IMAP:Mailbox::session_check_mail"
-#line 980 "mn-imap-mailbox.gob"
+#line 1159 "mn-imap-mailbox.gob"
g_return_val_if_fail (priv != NULL, (int )0);
-#line 1562 "mn-imap-mailbox.c"
+#line 1826 "mn-imap-mailbox.c"
{
-#line 982 "mn-imap-mailbox.gob"
+#line 1161 "mn-imap-mailbox.gob"
#ifdef WITH_MIME
return STATE_EXAMINE;
#else
- return STATE_STATUS;
-#endif
+ return self_session_has_capability(priv, "IDLE")
+ ? STATE_EXAMINE
+ : STATE_STATUS;
+#endif /* WITH_MIME */
}}
-#line 1572 "mn-imap-mailbox.c"
+#line 1838 "mn-imap-mailbox.c"
#undef __GOB_FUNCTION__
/**
@@ -1579,17 +1845,17 @@ mn_imap_mailbox_session_check_mail (MNClientSessionPrivate * priv)
*
* Return value: the quoted string.
**/
-#line 998 "mn-imap-mailbox.gob"