Receiving messages from a POP server is very easy, once you set up Sylpheed the proper way. You can refer to the section "Setting up an account" on how to do this.
21 |
Once you are connected to the internet, or by another network that gives you access to the POP server, simply press the "Get new mail" button (or press Alt-I) and Sylpheed will connect to the server to fetch your new mail. Once this is retrieved, any filters you may have set up will be executed and then the folder pane will show you, marked in bold, which folder/mailbox contains new messages.
22 |
Although it is not within the scope of this manual, a bit of information on fetchmail or getmail.
26 |
You need to have either of these programs installed, and configured correctly. See the man pages/README files of the appropriate program on doing this.
27 |
After setting the program up, you can invoke it, either by hand or through CRON, to get your mail. The mail will usually be downloaded into /var/spool/mail/your_user_id. You can then tell Sylpheed, through an account that looks in your local unix mailbox, to get mail from there. For this you press the "Get mail" button, or press "Alt-I".
28 |
In the configuration menu, select "Create new account"
23 |
In the "Basic" tab, enter the relevant data. You name the account, enter your name and e-mail address, etc. To connect to news, in the Protocol box you select "News (NNTP)".
24 |
25 |
26 |
27 |
28 |
Enter the newsserver information.
29 |
Skip the "Receive" tab.
30 |
In the "Send" tab you can set up some more settings.
31 |
In the "Compose" tab you can define your signature file.
32 |
33 |
34 |
35 |
36 |
In the "Advanced" tab you can edit the portnumbers for the servers you will be using. This normally will need no change.
37 |
Close the dialogs, right click the new News folder in the folder pane and select "Subscribe to newsgroups". If not done already, a list of groups will be downloaded from the server. From there you will find your way, so good luck!
38 |
Starting Sylpheed can be done by typing "sylpheed" on a prompt in a terminal and pressing Enter. You can also add Sylpheed to a menu in KDE or Gnome, or create a shortcut to it on the desktop, if your window manager allows that.
21 |
When you first start Sylpheed, the program will ask you where you want to store the mails that you downloaded. You can accept the default ($HOME/Mail) or set up your own mail folder.
22 |
Sylpheed will then load with it's default settings. The way to change these are written about further on in this manual.
23 |
Permission is granted to copy, distribute and/or modify this document
35 | under the terms of the GNU Free Documentation License, Version 1.1
36 | or any later version published by the Free Software Foundation;
37 | with no Invariant Sections, with no Front-Cover Texts,
38 | and with no Back-Cover Texts.
39 | A copy of the license is included in the section entitled
40 | "GNU Free Documentation License".
55 |
56 | 次のページ
57 | 前のページ
58 | 目次へ
59 |
60 |
61 |
--------------------------------------------------------------------------------
/manual/ja/sylpheed.sgml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/manual/ja/sylpheed.sgml
--------------------------------------------------------------------------------
/nsis/Makefile.am:
--------------------------------------------------------------------------------
1 | EXTRA_DIST = \
2 | COPYING.ja.txt \
3 | COPYING.txt \
4 | README.txt \
5 | compile.bat \
6 | english.nsh \
7 | japanese.nsh \
8 | plugin-updater.nsi \
9 | spanish.nsh \
10 | sylpheed-defs.nsh \
11 | sylpheed.nsi \
12 | update-manager.nsi
13 |
--------------------------------------------------------------------------------
/nsis/README.txt:
--------------------------------------------------------------------------------
1 | NSIS scripts for Sylpheed installer
2 | ===================================
3 |
4 | How to compile installer:
5 |
6 | 1. Install latest version of NSIS.
7 | 2. Install NsProcess plug-in into NSIS.
8 | 3. Install nsisunz plug-in (http://nsis.sourceforge.net/Nsisunz_plug-in).
9 | 4. Make Sylpheed/ bsfilter/ plugins/ folders here.
10 | 5. Run compile.bat.
11 | 6. If successful, Sylpheed-x.y.z_setup.exe should be made.
12 |
--------------------------------------------------------------------------------
/nsis/compile.bat:
--------------------------------------------------------------------------------
1 | PATH "C:\Program Files\NSIS";%PATH%
2 |
3 | makensis plugin-updater.nsi
4 | move plugin-updater.exe Sylpheed
5 | makensis update-manager.nsi
6 | move update-manager.exe Sylpheed
7 | makensis sylpheed.nsi
8 |
9 | rem makensis /DSYLPHEED_PRO plugin-updater.nsi
10 | rem move plugin-updater.exe Sylpheed
11 | rem makensis /DSYLPHEED_PRO update-manager.nsi
12 | rem move update-manager.exe Sylpheed
13 | rem makensis /DSYLPHEED_PRO sylpheed.nsi
14 |
15 | pause
16 |
--------------------------------------------------------------------------------
/nsis/japanese.nsh:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/nsis/japanese.nsh
--------------------------------------------------------------------------------
/nsis/spanish.nsh:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/nsis/spanish.nsh
--------------------------------------------------------------------------------
/nsis/sylpheed-defs.nsh:
--------------------------------------------------------------------------------
1 | ;!define SYLPHEED_PRO
2 | ;!define HAVE_AUTOENC_PLUGIN
3 |
4 | !define PRODUCT_NAME "Sylpheed"
5 | !define PRODUCT_VERSION "3.7"
6 |
7 | !ifdef SYLPHEED_PRO
8 | !define PRODUCT_PUBLISHER "SRA OSS, Inc. Japan"
9 | !define PRODUCT_WEB_SITE "http://www.sraoss.co.jp/sylpheed-pro/"
10 | !else
11 | !define PRODUCT_PUBLISHER "Hiroyuki Yamamoto"
12 | !define PRODUCT_WEB_SITE "http://sylpheed.sraoss.jp/"
13 | !endif
14 |
15 | !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\sylpheed.exe"
16 | !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
17 | !define PRODUCT_UNINST_ROOT_KEY "HKLM"
18 | !define MEMENTO_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
19 | !define MEMENTO_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
20 |
21 | !ifdef SYLPHEED_PRO
22 | !define INST_NAME "Sylpheed Pro"
23 | !define INST_VERSION "2.6"
24 | !define INST_FILENAME "Sylpheed_Pro"
25 | !else
26 | !define INST_NAME ${PRODUCT_NAME}
27 | !define INST_VERSION ${PRODUCT_VERSION}
28 | !define INST_FILENAME ${PRODUCT_NAME}
29 | !endif
30 |
31 | !define ORIG_WEB_SITE "http://sylpheed.sraoss.jp/"
32 |
--------------------------------------------------------------------------------
/plugin/Makefile.am:
--------------------------------------------------------------------------------
1 | SUBDIRS = attachment_tool test
2 |
--------------------------------------------------------------------------------
/plugin/attachment_tool/Makefile.am:
--------------------------------------------------------------------------------
1 | libdir = $(plugindir)
2 |
3 | lib_LTLIBRARIES = attachment_tool.la
4 |
5 | attachment_tool_la_SOURCES = attachment_tool.c
6 | attachment_tool_la_LDFLAGS = -module -no-undefined -avoid-version
7 |
8 | INCLUDES = \
9 | -I$(top_srcdir) \
10 | -I$(top_srcdir)/libsylph \
11 | -I$(top_srcdir)/src \
12 | $(GTK_CFLAGS)
13 |
14 | attachment_tool_la_LIBADD = \
15 | $(GTK_LIBS) \
16 | $(top_builddir)/src/libsylpheed-plugin-0.la \
17 | $(top_builddir)/libsylph/libsylph-0.la
18 |
19 | install:
20 | install-plugin: install-am
21 |
--------------------------------------------------------------------------------
/plugin/attachment_tool/README:
--------------------------------------------------------------------------------
1 | Attachment Tool Plug-in
2 | =======================
3 |
4 | This is a plug-in for handling messages with attached files.
5 |
6 | Currently, this plug-in can only remove data of attached files with file name.
7 | MIME structure will be retained, and users will see 0 byte files.
8 |
9 | This tool is available on local folders only.
10 |
11 | Requirement
12 | -----------
13 |
14 | This plug-in requires Sylpheed 3.1beta3 or later.
15 |
16 | Install
17 | -------
18 |
19 | This plugin will not be installed by 'make install'.
20 | To install this test plugin, type 'make install-plugin'.
21 |
22 | Usage
23 | -----
24 |
25 | 1. Select target messages in the summary view.
26 | 2. Select 'Tools - Remove attachments'.
27 |
--------------------------------------------------------------------------------
/plugin/test/Makefile.am:
--------------------------------------------------------------------------------
1 | libdir = $(plugindir)
2 |
3 | lib_LTLIBRARIES = test.la
4 |
5 | test_la_SOURCES = test.c test.h
6 | test_la_LDFLAGS = -module -no-undefined -avoid-version
7 |
8 | INCLUDES = \
9 | -I$(top_srcdir) \
10 | -I$(top_srcdir)/libsylph \
11 | -I$(top_srcdir)/src \
12 | $(GTK_CFLAGS)
13 |
14 | test_la_LIBADD = \
15 | $(GTK_LIBS) \
16 | $(top_builddir)/src/libsylpheed-plugin-0.la \
17 | $(top_builddir)/libsylph/libsylph-0.la
18 |
19 | install:
20 | install-plugin: install-am
21 |
--------------------------------------------------------------------------------
/plugin/test/README:
--------------------------------------------------------------------------------
1 | This is a test plugin for Sylpheed plug-in system.
2 |
3 | This plugin will not be installed by 'make install'.
4 | To install this test plugin, use 'make install-plugin'.
5 |
--------------------------------------------------------------------------------
/plugin/test/test.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2011 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __TEST_H__
21 | #define __TEST_H__
22 |
23 | #endif /* __TEST_H__ */
24 |
--------------------------------------------------------------------------------
/po/ChangeLog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/po/ChangeLog
--------------------------------------------------------------------------------
/po/Makevars:
--------------------------------------------------------------------------------
1 | # Makefile variables for PO directory in any package using GNU gettext.
2 |
3 | # Usually the message domain is the same as the package name.
4 | DOMAIN = $(PACKAGE)
5 |
6 | # These two variables depend on the location of this directory.
7 | subdir = po
8 | top_builddir = ..
9 |
10 | # These options get passed to xgettext.
11 | XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
12 |
13 | # This is the copyright holder that gets inserted into the header of the
14 | # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
15 | # package. (Note that the msgstr strings, extracted from the package's
16 | # sources, belong to the copyright holder of the package.) Translators are
17 | # expected to transfer the copyright for their translations to this person
18 | # or entity, or to disclaim their copyright. The empty string stands for
19 | # the public domain; in this case the translators are expected to disclaim
20 | # their copyright.
21 | COPYRIGHT_HOLDER = Hiroyuki Yamamoto
22 |
23 | # This is the email address or URL to which the translators shall report
24 | # bugs in the untranslated strings:
25 | # - Strings which are not entire sentences, see the maintainer guidelines
26 | # in the GNU gettext documentation, section 'Preparing Strings'.
27 | # - Strings which use unclear terms or require additional context to be
28 | # understood.
29 | # - Strings which make invalid assumptions about notation of date, time or
30 | # money.
31 | # - Pluralisation problems.
32 | # - Incorrect English spelling.
33 | # - Incorrect formatting.
34 | # It can be your email address, or a mailing list address where translators
35 | # can write to without being subscribed, or the URL of a web page through
36 | # which the translators can contact you.
37 | MSGID_BUGS_ADDRESS = hiro-y@kcn.ne.jp
38 |
39 | # This is the list of locale categories, beyond LC_MESSAGES, for which the
40 | # message catalogs shall be used. It is usually empty.
41 | EXTRA_LOCALE_CATEGORIES =
42 |
--------------------------------------------------------------------------------
/po/Rules-quot:
--------------------------------------------------------------------------------
1 | # Special Makefile rules for English message catalogs with quotation marks.
2 |
3 | DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot
4 |
5 | .SUFFIXES: .insert-header .po-update-en
6 |
7 | en@quot.po-create:
8 | $(MAKE) en@quot.po-update
9 | en@boldquot.po-create:
10 | $(MAKE) en@boldquot.po-update
11 |
12 | en@quot.po-update: en@quot.po-update-en
13 | en@boldquot.po-update: en@boldquot.po-update-en
14 |
15 | .insert-header.po-update-en:
16 | @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \
17 | if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
18 | tmpdir=`pwd`; \
19 | echo "$$lang:"; \
20 | ll=`echo $$lang | sed -e 's/@.*//'`; \
21 | LC_ALL=C; export LC_ALL; \
22 | cd $(srcdir); \
23 | if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
24 | if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
25 | rm -f $$tmpdir/$$lang.new.po; \
26 | else \
27 | if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
28 | :; \
29 | else \
30 | echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
31 | exit 1; \
32 | fi; \
33 | fi; \
34 | else \
35 | echo "creation of $$lang.po failed!" 1>&2; \
36 | rm -f $$tmpdir/$$lang.new.po; \
37 | fi
38 |
39 | en@quot.insert-header: insert-header.sin
40 | sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header
41 |
42 | en@boldquot.insert-header: insert-header.sin
43 | sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header
44 |
45 | mostlyclean: mostlyclean-quot
46 | mostlyclean-quot:
47 | rm -f *.insert-header
48 |
--------------------------------------------------------------------------------
/po/boldquot.sed:
--------------------------------------------------------------------------------
1 | s/"\([^"]*\)"/“\1”/g
2 | s/`\([^`']*\)'/‘\1’/g
3 | s/ '\([^`']*\)' / ‘\1’ /g
4 | s/ '\([^`']*\)'$/ ‘\1’/g
5 | s/^'\([^`']*\)' /‘\1’ /g
6 | s/“”/""/g
7 | s/“/“[1m/g
8 | s/”/[0m”/g
9 | s/‘/‘[1m/g
10 | s/’/[0m’/g
11 |
--------------------------------------------------------------------------------
/po/en@boldquot.header:
--------------------------------------------------------------------------------
1 | # All this catalog "translates" are quotation characters.
2 | # The msgids must be ASCII and therefore cannot contain real quotation
3 | # characters, only substitutes like grave accent (0x60), apostrophe (0x27)
4 | # and double quote (0x22). These substitutes look strange; see
5 | # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
6 | #
7 | # This catalog translates grave accent (0x60) and apostrophe (0x27) to
8 | # left single quotation mark (U+2018) and right single quotation mark (U+2019).
9 | # It also translates pairs of apostrophe (0x27) to
10 | # left single quotation mark (U+2018) and right single quotation mark (U+2019)
11 | # and pairs of quotation mark (0x22) to
12 | # left double quotation mark (U+201C) and right double quotation mark (U+201D).
13 | #
14 | # When output to an UTF-8 terminal, the quotation characters appear perfectly.
15 | # When output to an ISO-8859-1 terminal, the single quotation marks are
16 | # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to
17 | # grave/acute accent (by libiconv), and the double quotation marks are
18 | # transliterated to 0x22.
19 | # When output to an ASCII terminal, the single quotation marks are
20 | # transliterated to apostrophes, and the double quotation marks are
21 | # transliterated to 0x22.
22 | #
23 | # This catalog furthermore displays the text between the quotation marks in
24 | # bold face, assuming the VT100/XTerm escape sequences.
25 | #
26 |
--------------------------------------------------------------------------------
/po/en@quot.header:
--------------------------------------------------------------------------------
1 | # All this catalog "translates" are quotation characters.
2 | # The msgids must be ASCII and therefore cannot contain real quotation
3 | # characters, only substitutes like grave accent (0x60), apostrophe (0x27)
4 | # and double quote (0x22). These substitutes look strange; see
5 | # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
6 | #
7 | # This catalog translates grave accent (0x60) and apostrophe (0x27) to
8 | # left single quotation mark (U+2018) and right single quotation mark (U+2019).
9 | # It also translates pairs of apostrophe (0x27) to
10 | # left single quotation mark (U+2018) and right single quotation mark (U+2019)
11 | # and pairs of quotation mark (0x22) to
12 | # left double quotation mark (U+201C) and right double quotation mark (U+201D).
13 | #
14 | # When output to an UTF-8 terminal, the quotation characters appear perfectly.
15 | # When output to an ISO-8859-1 terminal, the single quotation marks are
16 | # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to
17 | # grave/acute accent (by libiconv), and the double quotation marks are
18 | # transliterated to 0x22.
19 | # When output to an ASCII terminal, the single quotation marks are
20 | # transliterated to apostrophes, and the double quotation marks are
21 | # transliterated to 0x22.
22 | #
23 |
--------------------------------------------------------------------------------
/po/insert-header.sin:
--------------------------------------------------------------------------------
1 | # Sed script that inserts the file called HEADER before the header entry.
2 | #
3 | # At each occurrence of a line starting with "msgid ", we execute the following
4 | # commands. At the first occurrence, insert the file. At the following
5 | # occurrences, do nothing. The distinction between the first and the following
6 | # occurrences is achieved by looking at the hold space.
7 | /^msgid /{
8 | x
9 | # Test if the hold space is empty.
10 | s/m/m/
11 | ta
12 | # Yes it was empty. First occurrence. Read the file.
13 | r HEADER
14 | # Output the file's contents by reading the next line. But don't lose the
15 | # current line while doing this.
16 | g
17 | N
18 | bb
19 | :a
20 | # The hold space was nonempty. Following occurrences. Do nothing.
21 | x
22 | :b
23 | }
24 |
--------------------------------------------------------------------------------
/po/quot.sed:
--------------------------------------------------------------------------------
1 | s/"\([^"]*\)"/“\1”/g
2 | s/`\([^`']*\)'/‘\1’/g
3 | s/ '\([^`']*\)' / ‘\1’ /g
4 | s/ '\([^`']*\)'$/ ‘\1’/g
5 | s/^'\([^`']*\)' /‘\1’ /g
6 | s/“”/""/g
7 |
--------------------------------------------------------------------------------
/po/remove-potcdate.sin:
--------------------------------------------------------------------------------
1 | # Sed script that remove the POT-Creation-Date line in the header entry
2 | # from a POT file.
3 | #
4 | # The distinction between the first and the following occurrences of the
5 | # pattern is achieved by looking at the hold space.
6 | /^"POT-Creation-Date: .*"$/{
7 | x
8 | # Test if the hold space is empty.
9 | s/P/P/
10 | ta
11 | # Yes it was empty. First occurrence. Remove the line.
12 | g
13 | d
14 | bb
15 | :a
16 | # The hold space was nonempty. Following occurrences. Do nothing.
17 | x
18 | :b
19 | }
20 |
--------------------------------------------------------------------------------
/src/about.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2007 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __ABOUT_H__
21 | #define __ABOUT_H__
22 |
23 | void about_show(void);
24 |
25 | #endif /* __ABOUT_H__ */
26 |
--------------------------------------------------------------------------------
/src/account_dialog.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2005 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __ACCOUNT_DIALOG_H__
21 | #define __ACCOUNT_DIALOG_H__
22 |
23 | #include
24 |
25 | #include "prefs_account.h"
26 |
27 | void account_set_menu (void);
28 |
29 | void account_edit_open (void);
30 | void account_add (void);
31 | void account_open (PrefsAccount *ac_prefs);
32 |
33 | void account_set_missing_folder(void);
34 |
35 | #endif /* __ACCOUNT_DIALOG_H__ */
36 |
--------------------------------------------------------------------------------
/src/action.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2003 Hiroyuki Yamamoto & The Sylpheed Claws Team
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __ACTION_H__
21 | #define __ACTION_H__
22 |
23 | #include
24 | #include
25 |
26 | #include "mainwindow.h"
27 | #include "messageview.h"
28 | #include "compose.h"
29 |
30 | typedef enum
31 | {
32 | ACTION_NONE = 1 << 0,
33 | ACTION_PIPE_IN = 1 << 1,
34 | ACTION_PIPE_OUT = 1 << 2,
35 | ACTION_SINGLE = 1 << 3,
36 | ACTION_MULTIPLE = 1 << 4,
37 | ACTION_ASYNC = 1 << 5,
38 | ACTION_USER_IN = 1 << 6,
39 | ACTION_USER_HIDDEN_IN = 1 << 7,
40 | ACTION_INSERT = 1 << 8,
41 | ACTION_USER_STR = 1 << 9,
42 | ACTION_USER_HIDDEN_STR = 1 << 10,
43 | ACTION_SELECTION_STR = 1 << 11,
44 | ACTION_ERROR = 1 << 30
45 | } ActionType;
46 |
47 | ActionType action_get_type (const gchar *action_str);
48 |
49 | void action_update_mainwin_menu (GtkItemFactory *ifactory,
50 | MainWindow *mainwin);
51 | void action_update_msgview_menu (GtkItemFactory *ifactory,
52 | MessageView *msgview);
53 | void action_update_compose_menu (GtkItemFactory *ifactory,
54 | Compose *compose);
55 |
56 | #endif /* __ACTION_H__ */
57 |
--------------------------------------------------------------------------------
/src/addr_compl.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | *
4 | * Copyright (C) 2000-2004 by Alfons Hoogervorst & The Sylpheed Claws Team.
5 | *
6 | * This program is free software; you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation; either version 2 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This program is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with this program; if not, write to the Free Software
18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 | */
20 |
21 | #ifndef __ADDR_COMPL_H__
22 | #define __ADDR_COMPL_H__
23 |
24 | gint start_address_completion (void);
25 | gint invalidate_address_completion (void);
26 |
27 | guint complete_address (const gchar *str);
28 |
29 | gchar *get_address_from_edit (GtkEntry *entry,
30 | gint *start_pos);
31 | void replace_address_in_edit (GtkEntry *entry,
32 | const gchar *newtext,
33 | gint start_pos);
34 |
35 | gchar *get_complete_address (gint index);
36 |
37 | gchar *get_next_complete_address (void);
38 | gchar *get_prev_complete_address (void);
39 | guint get_completion_count (void);
40 |
41 | gboolean is_completion_pending (void);
42 |
43 | void clear_completion_cache (void);
44 |
45 | gint end_address_completion (void);
46 |
47 | /* ui functions */
48 |
49 | void address_completion_start (GtkWidget *mainwindow);
50 | void address_completion_register_entry (GtkEntry *entry);
51 | void address_completion_unregister_entry (GtkEntry *entry);
52 | void address_completion_end (GtkWidget *mainwindow);
53 |
54 | #endif /* __ADDR_COMPL_H__ */
55 |
--------------------------------------------------------------------------------
/src/addressadd.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 2001 Match Grun
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | /*
21 | * Add address to address book dialog.
22 | */
23 |
24 | #ifndef __ADDRESS_ADD_H__
25 | #define __ADDRESS_ADD_H__
26 |
27 | #include "addrindex.h"
28 |
29 | gboolean addressadd_selection( AddressIndex *addrIndex, const gchar *name, const gchar *address, const gchar *remarks );
30 |
31 | gboolean addressadd_autoreg( AddressIndex *addrIndex, const gchar *name, const gchar *address, const gchar *remarks );
32 |
33 | #endif /* __ADDRESS_ADD_H__ */
34 |
--------------------------------------------------------------------------------
/src/colorlabel.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 2001-2010 Hiroyuki Yamamoto & The Sylpheed Claws Team
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #if !defined(COLORLABEL_H__)
21 | #define COLORLABEL_H__
22 |
23 | #include
24 |
25 | gint colorlabel_get_color_count (void);
26 | GdkColor colorlabel_get_color (gint color_index);
27 | const gchar *colorlabel_get_color_text (gint color_index);
28 | const gchar *colorlabel_get_custom_color_text (gint color_index);
29 | void colorlabel_set_color_text (gint color_index,
30 | const gchar *label);
31 | gboolean colorlabel_changed (void);
32 | GtkWidget *colorlabel_create_color_widget (GdkColor color);
33 | GtkWidget *colorlabel_create_check_color_menu_item
34 | (gint color_index);
35 | GtkWidget *colorlabel_create_color_menu (void);
36 | guint colorlabel_get_color_menu_active_item (GtkWidget *menu);
37 | void colorlabel_update_menu (void);
38 |
39 | gint colorlabel_read_config (void);
40 | gint colorlabel_write_config (void);
41 |
42 | #endif /* COLORLABEL_H__ */
43 |
--------------------------------------------------------------------------------
/src/editaddress.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999,2000 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | /*
21 | * Edit address item data.
22 | */
23 |
24 | #ifndef __EDITADDRESS_H__
25 | #define __EDITADDRESS_H__
26 |
27 | ItemPerson *addressbook_edit_person( AddressBookFile *abf, ItemFolder *parent, ItemPerson *person, gboolean pgMail );
28 |
29 | #endif /* __EDITADDRESS_H__ */
30 |
--------------------------------------------------------------------------------
/src/editbook.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 2001 Match Grun
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | /*
21 | * Edit new address book data.
22 | */
23 |
24 | #ifndef __EDITBOOK_H__
25 | #define __EDITBOOK_H__
26 |
27 | AdapterDSource *addressbook_edit_book( AddressIndex *addrIndex, AdapterDSource *ads );
28 |
29 | #endif /* __EDITBOOK_H__ */
30 |
--------------------------------------------------------------------------------
/src/editgroup.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 2001 Match Grun
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __EDITGROUP_H__
21 | #define __EDITGROUP_H__
22 |
23 | ItemGroup *addressbook_edit_group( AddressBookFile *abf, ItemFolder *folder, ItemGroup *group );
24 | ItemFolder *addressbook_edit_folder( AddressBookFile *abf, ItemFolder *parent, ItemFolder *folder );
25 |
26 | #endif /* __EDITGROUP_H__ */
27 |
--------------------------------------------------------------------------------
/src/editjpilot.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 2001 Match Grun
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | /*
21 | * Edit JPilot address book data.
22 | */
23 |
24 | #ifndef __EDITJPILOT_H__
25 | #define __EDITJPILOT_H__
26 |
27 | #ifdef USE_JPILOT
28 |
29 | AdapterDSource *addressbook_edit_jpilot( AddressIndex *addrIndex, AdapterDSource *ads );
30 |
31 | #endif /* USE_JPILOT */
32 |
33 | #endif /* __EDITJPILOT_H__ */
34 |
--------------------------------------------------------------------------------
/src/editldap.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 2001 Match Grun
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __EDITLDAP_H__
21 | #define __EDITLDAP_H__
22 |
23 | #ifdef USE_LDAP
24 |
25 | AdapterDSource *addressbook_edit_ldap( AddressIndex *addrIndex, AdapterDSource *ads );
26 |
27 | #endif /* USE_LDAP */
28 |
29 | #endif /* __EDITLDAP_H__ */
30 |
--------------------------------------------------------------------------------
/src/editldap_basedn.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 2001 Match Grun
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __EDITLDAP_BASEDN_H__
21 | #define __EDITLDAP_BASEDN_H__
22 |
23 | #ifdef USE_LDAP
24 |
25 | gchar *edit_ldap_basedn_selection( const gchar *hostName, const gint port, gchar *baseDN, const gint tov,
26 | const gchar* bindDN, const gchar *bindPW );
27 |
28 | #endif /* USE_LDAP */
29 |
30 | #endif /* __EDITLDAP_BASEDN_H__ */
31 |
--------------------------------------------------------------------------------
/src/editvcard.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 2001 Match Grun
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | /*
21 | * Edit vCard address book data.
22 | */
23 |
24 | #ifndef __EDITVCARD_H__
25 | #define __EDITVCARD_H__
26 |
27 | AdapterDSource *addressbook_edit_vcard( AddressIndex *addrIndex, AdapterDSource *ads );
28 |
29 | #endif /* __EDITVCARD_H__ */
30 |
--------------------------------------------------------------------------------
/src/export.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2009 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __EXPORT_H__
21 | #define __EXPORT_H__
22 |
23 | #include
24 |
25 | #include "folder.h"
26 |
27 | gint export_mail(FolderItem *default_src);
28 |
29 | #endif /* __EXPORT_H__ */
30 |
--------------------------------------------------------------------------------
/src/exportcsv.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2017 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | /*
21 | * Import CSV text data.
22 | */
23 |
24 | #ifndef __EXPORT_CSV_H__
25 | #define __EXPORT_CSV_H__
26 |
27 | /* Function prototypes */
28 | gint addressbook_exp_csv( AddressObject *obj );
29 |
30 | #endif /* __EXPORT_CSV_H__ */
31 |
32 | /*
33 | * End of Source.
34 | */
35 |
--------------------------------------------------------------------------------
/src/filesel.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2013 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __FILESEL_H__
21 | #define __FILESEL_H__
22 |
23 | #include
24 | #include
25 |
26 | typedef struct _FileselFileType FileselFileType;
27 |
28 | struct _FileselFileType
29 | {
30 | gchar *type;
31 | gchar *ext;
32 | };
33 |
34 | gchar *filesel_select_file (const gchar *title,
35 | const gchar *file,
36 | GtkFileChooserAction action);
37 | GSList *filesel_select_files (const gchar *title,
38 | const gchar *file,
39 | GtkFileChooserAction action);
40 |
41 | gchar *filesel_save_as (const gchar *file);
42 | gchar *filesel_save_as_type (const gchar *file,
43 | FileselFileType *types,
44 | gint default_type,
45 | gint *selected_type);
46 | gchar *filesel_select_dir (const gchar *dir);
47 |
48 | #endif /* __FILESEL_H__ */
49 |
--------------------------------------------------------------------------------
/src/foldersel.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2008 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __FOLDERSEL_H__
21 | #define __FOLDERSEL_H__
22 |
23 | #include
24 | #include
25 |
26 | #include "folder.h"
27 |
28 | typedef enum
29 | {
30 | FOLDER_SEL_ALL,
31 | FOLDER_SEL_MOVE,
32 | FOLDER_SEL_COPY,
33 | FOLDER_SEL_MOVE_FOLDER
34 | } FolderSelectionType;
35 |
36 | FolderItem *foldersel_folder_sel (Folder *cur_folder,
37 | FolderSelectionType type,
38 | const gchar *default_folder);
39 | FolderItem *foldersel_folder_sel_full(Folder *cur_folder,
40 | FolderSelectionType type,
41 | const gchar *default_folder,
42 | const gchar *message);
43 |
44 | #endif /* __FOLDERSEL_H__ */
45 |
--------------------------------------------------------------------------------
/src/gtkshruler.h:
--------------------------------------------------------------------------------
1 | /* GTKSHRuler
2 | * Copyright (C) 2000-2004 Alfons Hoogervorst & The Sylpheed Claws Team
3 | * Copyright (C) 2007 Hiroyuki Yamamoto
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Library General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Library General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU Library General Public
16 | * License along with this library; if not, write to the
17 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 | * Boston, MA 02111-1307, USA.
19 | */
20 |
21 | #ifndef __GTK_SHRULER_H__
22 | #define __GTK_SHRULER_H__
23 |
24 |
25 | #include
26 | #include
27 |
28 |
29 | #ifdef __cplusplus
30 | extern "C" {
31 | #endif /* __cplusplus */
32 |
33 |
34 | #define GTK_SHRULER(obj) (GTK_CHECK_CAST ((obj), gtk_shruler_get_type (), GtkSHRuler))
35 | #define GTK_SHRULER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), gtk_shruler_get_type (), GtkSHRulerClass))
36 | #define GTK_IS_SHRULER(obj) (GTK_CHECK_TYPE ((obj), gtk_shruler_get_type ()))
37 |
38 |
39 | typedef struct _GtkSHRuler GtkSHRuler;
40 | typedef struct _GtkSHRulerClass GtkSHRulerClass;
41 |
42 | struct _GtkSHRuler
43 | {
44 | GtkHRuler ruler;
45 |
46 | gint start_pos;
47 | };
48 |
49 | struct _GtkSHRulerClass
50 | {
51 | GtkHRulerClass parent_class;
52 | };
53 |
54 |
55 | GType gtk_shruler_get_type (void);
56 | GtkWidget* gtk_shruler_new (void);
57 |
58 | void gtk_shruler_set_start_pos (GtkSHRuler *ruler,
59 | gint pos);
60 | gint gtk_shruler_get_start_pos (GtkSHRuler *ruler);
61 |
62 | void gtk_shruler_set_pos (GtkSHRuler *ruler,
63 | gfloat pos);
64 |
65 |
66 | #ifdef __cplusplus
67 | }
68 | #endif /* __cplusplus */
69 |
70 |
71 | #endif /* __GTK_SHRULER_H__ */
72 |
--------------------------------------------------------------------------------
/src/headerview.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2012 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __HEADERVIEW_H__
21 | #define __HEADERVIEW_H__
22 |
23 | #include
24 | #include
25 | #include
26 |
27 | #include "procmsg.h"
28 |
29 | typedef struct _HeaderView HeaderView;
30 |
31 | struct _HeaderView
32 | {
33 | GtkWidget *hbox;
34 |
35 | GtkWidget *from_header_label;
36 | GtkWidget *from_body_label;
37 | GtkWidget *to_header_label;
38 | GtkWidget *to_body_label;
39 | GtkWidget *cc_header_label;
40 | GtkWidget *cc_body_label;
41 | GtkWidget *ng_header_label;
42 | GtkWidget *ng_body_label;
43 | GtkWidget *subject_header_label;
44 | GtkWidget *subject_body_label;
45 |
46 | GtkWidget *image;
47 |
48 | GtkTooltips *tip;
49 | };
50 |
51 | HeaderView *headerview_create (void);
52 | void headerview_init (HeaderView *headerview);
53 | void headerview_show (HeaderView *headerview,
54 | MsgInfo *msginfo);
55 | void headerview_clear (HeaderView *headerview);
56 | void headerview_set_visibility (HeaderView *headerview,
57 | gboolean visibility);
58 | void headerview_destroy (HeaderView *headerview);
59 |
60 | #endif /* __HEADERVIEW_H__ */
61 |
--------------------------------------------------------------------------------
/src/icons/address.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * address_xpm[] = {
3 | "16 14 70 1",
4 | " c None",
5 | ". c #2D549D",
6 | "+ c #2D539D",
7 | "@ c #2B529D",
8 | "# c #2A519D",
9 | "$ c #294F9D",
10 | "% c #284E9D",
11 | "& c #FFFFFF",
12 | "* c #FEFEFF",
13 | "= c #2C529D",
14 | "- c #F1F5FF",
15 | "; c #EAF1FF",
16 | "> c #E4EDFF",
17 | ", c #274D9D",
18 | "' c #2C539D",
19 | ") c #2B519D",
20 | "! c #2A509D",
21 | "~ c #E5EFFF",
22 | "{ c #DFEAFF",
23 | "] c #264B9D",
24 | "^ c #FBFDFF",
25 | "/ c #F4F8FF",
26 | "( c #EEF4FF",
27 | "_ c #E7F0FF",
28 | ": c #E0EBFF",
29 | "< c #DAE6FF",
30 | "[ c #254B9D",
31 | "} c #FDFEFF",
32 | "| c #F6F9FF",
33 | "1 c #F0F5FF",
34 | "2 c #E9F1FF",
35 | "3 c #E2ECFF",
36 | "4 c #DBE8FF",
37 | "5 c #D4E4FF",
38 | "6 c #244A9D",
39 | "7 c #000000",
40 | "8 c #E4EEFF",
41 | "9 c #D0E0FF",
42 | "0 c #23489D",
43 | "a c #FAFBFF",
44 | "b c #F4F7FF",
45 | "c c #EDF3FF",
46 | "d c #DFEBFF",
47 | "e c #D8E6FF",
48 | "f c #D2E1FF",
49 | "g c #CBDDFF",
50 | "h c #23479D",
51 | "i c #E8F0FF",
52 | "j c #C6DAFF",
53 | "k c #22469D",
54 | "l c #F7FAFF",
55 | "m c #F1F6FF",
56 | "n c #E3EDFF",
57 | "o c #DCE9FF",
58 | "p c #D5E4FF",
59 | "q c #CFDFFF",
60 | "r c #C8DCFF",
61 | "s c #C1D7FF",
62 | "t c #ECF3FF",
63 | "u c #D1E1FF",
64 | "v c #BFD6FF",
65 | "w c #EDF4FF",
66 | "x c #E6EFFF",
67 | "y c #D9E7FF",
68 | "z c #D3E3FF",
69 | "A c #CCDDFF",
70 | "B c #C5DAFF",
71 | "C c #BFD5FF",
72 | "D c #274C9D",
73 | "E c #24499D",
74 | " ",
75 | " ..........+@#$%",
76 | " .&&&.&&&&*=-;>,",
77 | " .&&...&&&')!~{]",
78 | " .&&&&&&&^/(_:<[",
79 | " .&&&&&&}|123456",
80 | " .&&&7&777787790",
81 | " .&&&&&abc~defgh",
82 | " .&&&77|7i7777jk",
83 | " .&&&*lm;nopqrsk",
84 | " .&&&77t777u77vk",
85 | " .&&^/wx:yzABCvk",
86 | " ...@!$%D]E0kkkk",
87 | " "};
88 |
--------------------------------------------------------------------------------
/src/icons/book.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * book_xpm[] = {
3 | "16 16 4 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #FFFFFF",
7 | "@ c #BE22A6",
8 | " ",
9 | " ... ... ",
10 | " .+++. .+++. ",
11 | " .+++++. .+++++.",
12 | " .++++++.++++++.",
13 | " .++.+++.+++.++.",
14 | " .++++.+.+.++++.",
15 | " .++++++.+++.++.",
16 | " .++.+++.+.++++.",
17 | " .++++.+.+++.++.",
18 | " .++++++.+.++++.",
19 | " .++++++.++++++.",
20 | " .+...++.++...+.",
21 | " ..@@@.+.+.@@@..",
22 | " .@ @...@ @.",
23 | " @ @.@ @"};
24 |
--------------------------------------------------------------------------------
/src/icons/category.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * category_xpm[] = {
3 | "16 16 16 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #2C7AD4",
7 | "@ c #3B98C5",
8 | "# c #2D5AD3",
9 | "$ c #01DFFF",
10 | "% c #BFEDE2",
11 | "& c #12BDEE",
12 | "* c #B8EADF",
13 | "= c #2ABAD6",
14 | "- c #039FFD",
15 | "; c #155DEB",
16 | "> c #271BD9",
17 | ", c #3F18C1",
18 | "' c #1F1CE1",
19 | ") c #3719C9",
20 | " ",
21 | " ",
22 | " .... ",
23 | " .+@+@. ",
24 | " .+#+#@+...... ",
25 | " .$$%$%&*%$==$.",
26 | " .=@&@&@=+=+-;.",
27 | " .$&@&@=+=+-+#.",
28 | " .=@&@=+=+-+->.",
29 | " .$&@=+=+-+-;#.",
30 | " .=@=+=+-+-;-,.",
31 | " .$=+=+-+-;-;>.",
32 | " .=';';';';)>,.",
33 | " ............ ",
34 | " ",
35 | " "};
36 |
--------------------------------------------------------------------------------
/src/icons/clip.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * clip_xpm[] = {
3 | "8 12 4 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #F4F4F4",
7 | "@ c #4A4A4A",
8 | " ... ",
9 | " .+++. ",
10 | " .+@@@+.",
11 | " .+@@@+.",
12 | ".++@@++.",
13 | ".++@@++.",
14 | ".++@@++.",
15 | ".+@++@+.",
16 | ".+@@@@+.",
17 | ".+@@@@+.",
18 | " .++++. ",
19 | " .... "};
20 |
--------------------------------------------------------------------------------
/src/icons/complete.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * complete_xpm[] = {
3 | "10 10 4 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #708C58",
7 | "@ c #88AC84",
8 | " ..",
9 | " .+.",
10 | " .++.",
11 | ".. .+++.",
12 | ".@. .+++. ",
13 | ".@@.+++. ",
14 | ".@@+++. ",
15 | " .@++. ",
16 | " .@. ",
17 | " . "};
18 |
--------------------------------------------------------------------------------
/src/icons/continue.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * continue_xpm[] = {
3 | "10 10 29 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #B1C7AC",
7 | "@ c #F6F9F6",
8 | "# c #E1EADF",
9 | "$ c #F7F9F6",
10 | "% c #F0F4EF",
11 | "& c #ECF2EB",
12 | "* c #E5EDE4",
13 | "= c #F4F7F4",
14 | "- c #EFF3EE",
15 | "; c #E4ECE3",
16 | "> c #E0E9DE",
17 | ", c #8EB184",
18 | "' c #85AB7D",
19 | ") c #84AA7C",
20 | "! c #82A678",
21 | "~ c #769C6C",
22 | "{ c #577550",
23 | "] c #2E4429",
24 | "^ c #8CB182",
25 | "/ c #83A879",
26 | "( c #7DA171",
27 | "_ c #608756",
28 | ": c #30462B",
29 | "< c #7CA273",
30 | "[ c #52744A",
31 | "} c #2D4526",
32 | "| c #31472C",
33 | ".. ",
34 | ".+.. ",
35 | ".@#+.. ",
36 | ".$%&*+.. ",
37 | ".=-&;>#+..",
38 | ".,')!~{]..",
39 | ".^/(_:.. ",
40 | ".<[}.. ",
41 | ".|.. ",
42 | ".. "};
43 |
--------------------------------------------------------------------------------
/src/icons/deleted.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * deleted_xpm[] = {
3 | "10 10 2 1",
4 | " c None",
5 | ". c #999999",
6 | " ",
7 | " . .. ",
8 | " .. ... ",
9 | " .... ",
10 | " .. ",
11 | " .... ",
12 | " ..... ",
13 | " .. ... ",
14 | " . . ",
15 | " "};
16 |
--------------------------------------------------------------------------------
/src/icons/error.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * error_xpm[] = {
3 | "10 10 32 1",
4 | " c None",
5 | ". c #0B0402",
6 | "+ c #331516",
7 | "@ c #261B1C",
8 | "# c #272120",
9 | "$ c #3C1D1D",
10 | "% c #4B2727",
11 | "& c #462F2F",
12 | "* c #443A3B",
13 | "= c #573435",
14 | "- c #573E3E",
15 | "; c #524647",
16 | "> c #734647",
17 | ", c #805353",
18 | "' c #786D6D",
19 | ") c #826F72",
20 | "! c #A16A6D",
21 | "~ c #947273",
22 | "{ c #9B7376",
23 | "] c #877D7D",
24 | "^ c #B07E7E",
25 | "/ c #A48887",
26 | "( c #AF9291",
27 | "_ c #BB8D8F",
28 | ": c #AF9FA1",
29 | "< c #C4A0A1",
30 | "[ c #C2A5A4",
31 | "} c #C3B4B5",
32 | "| c #D0B4B6",
33 | "1 c #D6B2B3",
34 | "2 c #E1D7D6",
35 | "3 c #EFE2E2",
36 | " #*;;&+ ",
37 | " ;:222|~% ",
38 | "@:3}23:1,+",
39 | "*2}#]]@/_%",
40 | ";23]..'|<=",
41 | "-22]..)1_=",
42 | "&[:@')+{!%",
43 | "+~1(|1{^>+",
44 | " ={__^!,% ",
45 | " $===$+ "};
46 |
--------------------------------------------------------------------------------
/src/icons/folder-close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/folder-close.png
--------------------------------------------------------------------------------
/src/icons/folder-noselect.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/folder-noselect.png
--------------------------------------------------------------------------------
/src/icons/folder-open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/folder-open.png
--------------------------------------------------------------------------------
/src/icons/folder-search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/folder-search.png
--------------------------------------------------------------------------------
/src/icons/forwarded.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * forwarded_xpm[] = {
3 | "10 10 10 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #B39C82",
7 | "@ c #BCA488",
8 | "# c #867561",
9 | "$ c #8F7D68",
10 | "% c #98856E",
11 | "& c #A18D75",
12 | "* c #AA947B",
13 | "= c #C5AC8F",
14 | " ",
15 | " .. ",
16 | " .+. ",
17 | "......+@. ",
18 | ".#$%&*+@=.",
19 | ".#$%&*+@=.",
20 | "......+@. ",
21 | " .+. ",
22 | " .. ",
23 | " "};
24 |
--------------------------------------------------------------------------------
/src/icons/group.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/group.png
--------------------------------------------------------------------------------
/src/icons/html.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/html.png
--------------------------------------------------------------------------------
/src/icons/interface.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * interface_xpm[] = {
3 | "16 16 5 1",
4 | " c None",
5 | ". c #525252",
6 | "+ c #FBFAEF",
7 | "@ c #EAE5B8",
8 | "# c #BCB156",
9 | " ",
10 | " . ",
11 | " . ",
12 | " . ",
13 | " . ..... ",
14 | " . .++++. ",
15 | " . ....@@@@+. ",
16 | " . .@@@@@....",
17 | " . .@@@@@.###",
18 | " . .@@@@@....",
19 | " . ....@@@@#. ",
20 | " . .####. ",
21 | " . ..... ",
22 | " . ",
23 | " . ",
24 | " "};
25 |
--------------------------------------------------------------------------------
/src/icons/jpilot.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * jpilot_xpm[] = {
3 | "16 16 6 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #848587",
7 | "@ c #34991E",
8 | "# c #F8FAF6",
9 | "$ c #97989B",
10 | " ",
11 | " ........... ",
12 | " .+++++++++. ",
13 | " .+@@@@@@@+. ",
14 | " .+@@@@@@@+. ",
15 | " .+@@@@@@@+. ",
16 | " .+@@@@@@@+. ",
17 | " .+@@@@@@@+. ",
18 | " .+@@@@@@@+. ",
19 | " .+@@@@@@@+. ",
20 | " .+++++++++. ",
21 | " .++++#++++. ",
22 | " .+#+#$#+#+. ",
23 | " .++++#++++. ",
24 | " ........... ",
25 | " "};
26 |
--------------------------------------------------------------------------------
/src/icons/ldap.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * ldap_xpm[] = {
3 | "16 16 6 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #E3DAB1",
7 | "@ c #606060",
8 | "# c #A0A0A0",
9 | "$ c #F6210A",
10 | " ",
11 | " . ........ ",
12 | " . .++++++. ",
13 | " . .@#@#@#. ",
14 | " . .#@#@#@. ",
15 | " . .++++++. ",
16 | " @.@ .++++++. ",
17 | " @......++++++. ",
18 | " @.@ .++++++. ",
19 | " . .++++++. ",
20 | " . .++++++. ",
21 | " . .+++$$+. ",
22 | " . .+++$$+. ",
23 | " . .++++++. ",
24 | " . ........ ",
25 | " "};
26 |
--------------------------------------------------------------------------------
/src/icons/linewrap.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * linewrap_xpm[] = {
3 | "24 24 2 1",
4 | " c None",
5 | ". c #000000",
6 | " ",
7 | " ",
8 | " ",
9 | " ",
10 | " ",
11 | " ",
12 | " ............ . ",
13 | " . . ",
14 | " ............ .... ",
15 | " . ",
16 | " ............ ",
17 | " ",
18 | " ..... ",
19 | " ",
20 | " ............ . ",
21 | " . . ",
22 | " ............ .... ",
23 | " . ",
24 | " ..... ",
25 | " ",
26 | " ",
27 | " ",
28 | " ",
29 | " "};
30 |
--------------------------------------------------------------------------------
/src/icons/mail.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * mail_xpm[] = {
3 | "13 10 28 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #474747",
7 | "@ c #F5F5F5",
8 | "# c #323232",
9 | "$ c #F4F4F4",
10 | "% c #C1C1C1",
11 | "& c #EAEAEA",
12 | "* c #EBEBEB",
13 | "= c #AAAAAA",
14 | "- c #3D3D3D",
15 | "; c #EFEFEF",
16 | "> c #F3F3F3",
17 | ", c #3F3F3F",
18 | "' c #464646",
19 | ") c #BDBDBD",
20 | "! c #D6D6D6",
21 | "~ c #A0A0A0",
22 | "{ c #F2F2F2",
23 | "] c #BABABA",
24 | "^ c #E9E9E9",
25 | "/ c #8C8C8C",
26 | "( c #BFBFBF",
27 | "_ c #DADADA",
28 | ": c #CDCDCD",
29 | "< c #A7A7A7",
30 | "[ c #D3D3D3",
31 | "} c #282828",
32 | " ........... ",
33 | ".+@@@@@@@@@#.",
34 | ".@+@@@$@$$+%.",
35 | ".@&+@@$@$+*=.",
36 | ".@@@+@@@-;**.",
37 | ".>@;+,@'+@>).",
38 | ".@$+@@+@>+!~.",
39 | ".@+$@@{$>]#^.",
40 | ".+~~/(]_:<[}.",
41 | " ........... "};
42 |
--------------------------------------------------------------------------------
/src/icons/mark.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * mark_xpm[] = {
3 | "10 10 3 1",
4 | " c None",
5 | ". c #FFFFFF",
6 | "+ c #000000",
7 | " ..",
8 | " .+.",
9 | " .++.",
10 | ".. .+++.",
11 | ".+. .+++. ",
12 | ".++.+++. ",
13 | ".+++++. ",
14 | " .+++. ",
15 | " .+. ",
16 | " . "};
17 |
--------------------------------------------------------------------------------
/src/icons/new.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * new_xpm[] = {
3 | "13 10 49 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #D52828",
7 | "@ c #F5CECD",
8 | "# c #F5CFCE",
9 | "$ c #F4CECB",
10 | "% c #F4CDCB",
11 | "& c #9C1D1D",
12 | "* c #F4CDC9",
13 | "= c #F3C8C2",
14 | "- c #F3C8C4",
15 | "; c #F4CAC7",
16 | "> c #E5837C",
17 | ", c #EFB6AE",
18 | "' c #F3CCC6",
19 | ") c #F3CAC2",
20 | "! c #F3CBC6",
21 | "~ c #F3CBC4",
22 | "{ c #EFB7B0",
23 | "] c #E06F63",
24 | "^ c #F5CECE",
25 | "/ c #F0BFB7",
26 | "( c #F3C7C2",
27 | "_ c #F0C0B5",
28 | ": c #F3CCC4",
29 | "< c #F2C6BF",
30 | "[ c #E37E70",
31 | "} c #F4CDC7",
32 | "| c #F3CBC2",
33 | "1 c #F2CAC1",
34 | "2 c #F1C6BA",
35 | "3 c #E89789",
36 | "4 c #DE6255",
37 | "5 c #F3CAC4",
38 | "6 c #F0C3B7",
39 | "7 c #F2C7BF",
40 | "8 c #E27A69",
41 | "9 c #A61F1F",
42 | "0 c #EEB4AD",
43 | "a c #DF685C",
44 | "b c #DE6559",
45 | "c c #DA5345",
46 | "d c #E37F6E",
47 | "e c #E17968",
48 | "f c #E89C8D",
49 | "g c #E58C7E",
50 | "h c #DF6A5A",
51 | "i c #E8968B",
52 | "j c #771616",
53 | " ........... ",
54 | ".+@#@$%@@@%&.",
55 | ".@+$*#=$-;+>.",
56 | ".%,+*')!~+{].",
57 | ".^%*+$'*+/{{.",
58 | ".(@_++:++)<[.",
59 | ".@=+}|+12+34.",
60 | ".@+5'~677890.",
61 | ".+abcdefghij.",
62 | " ........... "};
63 |
--------------------------------------------------------------------------------
/src/icons/replied.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * replied_xpm[] = {
3 | "10 10 11 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #E0D8B0",
7 | "@ c #B39C82",
8 | "# c #BCA488",
9 | "$ c #C5AC8F",
10 | "% c #AA947B",
11 | "& c #A18D75",
12 | "* c #98856E",
13 | "= c #8F7D68",
14 | "- c #867561",
15 | " . ",
16 | " .. .+. ",
17 | " .@..+++.",
18 | " .#@......",
19 | ".$#@%&*=-.",
20 | ".$#@%&*=. ",
21 | " .#@.... ",
22 | " .@. ",
23 | " .. ",
24 | " "};
25 |
--------------------------------------------------------------------------------
/src/icons/stock_addressbook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_addressbook.png
--------------------------------------------------------------------------------
/src/icons/stock_attach.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_attach.png
--------------------------------------------------------------------------------
/src/icons/stock_book.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_book.png
--------------------------------------------------------------------------------
/src/icons/stock_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_delete.png
--------------------------------------------------------------------------------
/src/icons/stock_delete_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_delete_16.png
--------------------------------------------------------------------------------
/src/icons/stock_hand-signed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_hand-signed.png
--------------------------------------------------------------------------------
/src/icons/stock_inbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_inbox.png
--------------------------------------------------------------------------------
/src/icons/stock_insert-file.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_insert-file.png
--------------------------------------------------------------------------------
/src/icons/stock_mail-compose.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_mail-compose.png
--------------------------------------------------------------------------------
/src/icons/stock_mail-compose_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_mail-compose_16.png
--------------------------------------------------------------------------------
/src/icons/stock_mail-forward.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_mail-forward.png
--------------------------------------------------------------------------------
/src/icons/stock_mail-receive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_mail-receive.png
--------------------------------------------------------------------------------
/src/icons/stock_mail-reply-to-all.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_mail-reply-to-all.png
--------------------------------------------------------------------------------
/src/icons/stock_mail-reply.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_mail-reply.png
--------------------------------------------------------------------------------
/src/icons/stock_mail-send.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_mail-send.png
--------------------------------------------------------------------------------
/src/icons/stock_mail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_mail.png
--------------------------------------------------------------------------------
/src/icons/stock_mail_receive_all.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_mail_receive_all.png
--------------------------------------------------------------------------------
/src/icons/stock_mail_send_queue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_mail_send_queue.png
--------------------------------------------------------------------------------
/src/icons/stock_notspam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_notspam.png
--------------------------------------------------------------------------------
/src/icons/stock_outbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_outbox.png
--------------------------------------------------------------------------------
/src/icons/stock_person.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_person.png
--------------------------------------------------------------------------------
/src/icons/stock_spam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_spam.png
--------------------------------------------------------------------------------
/src/icons/stock_spam_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_spam_16.png
--------------------------------------------------------------------------------
/src/icons/stock_sylpheed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_sylpheed.png
--------------------------------------------------------------------------------
/src/icons/stock_sylpheed_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_sylpheed_16.png
--------------------------------------------------------------------------------
/src/icons/stock_sylpheed_32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_sylpheed_32.png
--------------------------------------------------------------------------------
/src/icons/stock_sylpheed_newmail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_sylpheed_newmail.png
--------------------------------------------------------------------------------
/src/icons/stock_sylpheed_newmail_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/stock_sylpheed_newmail_16.png
--------------------------------------------------------------------------------
/src/icons/sylpheed-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/sylpheed-logo.png
--------------------------------------------------------------------------------
/src/icons/sylpheed.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/src/icons/sylpheed.ico
--------------------------------------------------------------------------------
/src/icons/unread.xpm:
--------------------------------------------------------------------------------
1 | /* XPM */
2 | static char * unread_xpm[] = {
3 | "13 10 37 1",
4 | " c None",
5 | ". c #000000",
6 | "+ c #3D81C1",
7 | "@ c #D4E3F0",
8 | "# c #D5E3F1",
9 | "$ c #2A5984",
10 | "% c #D1E0EF",
11 | "& c #D1E1EF",
12 | "* c #D2E2F0",
13 | "= c #94B9DC",
14 | "- c #C0D5EA",
15 | "; c #D4E2F0",
16 | "> c #C2D5EA",
17 | ", c #80AAD6",
18 | "' c #346FA6",
19 | ") c #C9D9ED",
20 | "! c #CFDEEF",
21 | "~ c #C9DBED",
22 | "{ c #3673AC",
23 | "] c #3B7EBD",
24 | "^ c #D2E1F0",
25 | "/ c #8EB0DA",
26 | "( c #A6C1E2",
27 | "_ c #77A0D3",
28 | ": c #CCDCEE",
29 | "< c #D1DFEF",
30 | "[ c #8CAFDA",
31 | "} c #295883",
32 | "| c #BFD4E9",
33 | "1 c #7AA9D4",
34 | "2 c #6B9CCF",
35 | "3 c #91B4DB",
36 | "4 c #ABC4E3",
37 | "5 c #9DBCDF",
38 | "6 c #7DA6D5",
39 | "7 c #A4C0E0",
40 | "8 c #1E4060",
41 | " ........... ",
42 | ".+@##@@##@@$.",
43 | ".@+@@#%@&*+=.",
44 | ".@-+#@*;*+>,.",
45 | ".#@@+#@#')>>.",
46 | ".!#~+{@]+^!/.",
47 | ".#%+@;+^!+(_.",
48 | ".@+&@;:
24 | #include
25 | #include
26 |
27 | typedef struct _ImageView ImageView;
28 |
29 | #include "messageview.h"
30 | #include "procmime.h"
31 |
32 | struct _ImageView
33 | {
34 | GtkWidget *scrolledwin;
35 | GtkWidget *image;
36 |
37 | gpointer image_data;
38 | gboolean resize;
39 | gboolean resizing;
40 |
41 | MessageView *messageview;
42 | };
43 |
44 | ImageView *imageview_create (void);
45 | void imageview_init (ImageView *imageview);
46 | void imageview_show_image (ImageView *imageview,
47 | MimeInfo *mimeinfo,
48 | const gchar *file,
49 | gboolean resize);
50 | void imageview_clear (ImageView *imageview);
51 | void imageview_destroy (ImageView *imageview);
52 |
53 | GdkPixbuf *imageview_get_resized_pixbuf (GdkPixbuf *pixbuf,
54 | GtkWidget *parent,
55 | gint margin);
56 |
57 | GdkPixbuf *imageview_get_rotated_pixbuf (GdkPixbuf *pixbuf);
58 |
59 | #endif /* __IMAGEVIEW_H__ */
60 |
--------------------------------------------------------------------------------
/src/import.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2010 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __IMPORT_H__
21 | #define __IMPORT_H__
22 |
23 | #include
24 |
25 | #include "folder.h"
26 |
27 | gint import_mail(FolderItem *default_dest);
28 |
29 | gint import_dbx_folders(FolderItem *dest, const gchar *path);
30 |
31 | #endif /* __IMPORT_H__ */
32 |
--------------------------------------------------------------------------------
/src/importcsv.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2007 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | /*
21 | * Import CSV text data.
22 | */
23 |
24 | #ifndef __IMPORT_CSV_H__
25 | #define __IMPORT_CSV_H__
26 |
27 | /* Function prototypes */
28 | AddressBookFile *addressbook_imp_csv( AddressIndex *addrIndex );
29 |
30 | #endif /* __IMPORT_CSV_H__ */
31 |
32 | /*
33 | * End of Source.
34 | */
35 |
--------------------------------------------------------------------------------
/src/importldif.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 2001 Match Grun
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | /*
21 | * Import LDIF data.
22 | */
23 |
24 | #ifndef __IMPORT_LDIF_H__
25 | #define __IMPORT_LDIF_H__
26 |
27 | /* Function prototypes */
28 | AddressBookFile *addressbook_imp_ldif( AddressIndex *addrIndex );
29 | AddressBookFile *addressbook_imp_ldif_file( AddressIndex *addrIndex,
30 | const gchar *file,
31 | const gchar *book_name );
32 |
33 | #endif /* __IMPORT_LDIF_H__ */
34 |
35 | /*
36 | * End of Source.
37 | */
38 |
--------------------------------------------------------------------------------
/src/inputdialog.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2009 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __INPUTDIALOG_H__
21 | #define __INPUTDIALOG_H__
22 |
23 | #include
24 | #include
25 |
26 | gchar *input_dialog (const gchar *title,
27 | const gchar *message,
28 | const gchar *default_string);
29 | gchar *input_dialog_with_invisible (const gchar *title,
30 | const gchar *message,
31 | const gchar *default_string);
32 | gchar *input_dialog_combo (const gchar *title,
33 | const gchar *message,
34 | const gchar *default_string,
35 | GList *list,
36 | gboolean case_sensitive);
37 | gchar *input_dialog_query_password (const gchar *server,
38 | const gchar *user);
39 |
40 | gchar *input_dialog_with_filesel (const gchar *title,
41 | const gchar *message,
42 | const gchar *default_string,
43 | GtkFileChooserAction action);
44 |
45 | #endif /* __INPUTDIALOG_H__ */
46 |
--------------------------------------------------------------------------------
/src/logwindow.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2009 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __LOGWINDOW_H__
21 | #define __LOGWINDOW_H__
22 |
23 | #include
24 | #include
25 |
26 | typedef struct _LogWindow LogWindow;
27 |
28 | typedef enum
29 | {
30 | LOG_NORMAL,
31 | LOG_MSG,
32 | LOG_WARN,
33 | LOG_ERROR
34 | } LogType;
35 |
36 | struct _LogWindow
37 | {
38 | GtkWidget *window;
39 | GtkWidget *scrolledwin;
40 | GtkWidget *text;
41 |
42 | GdkColor msg_color;
43 | GdkColor warn_color;
44 | GdkColor error_color;
45 |
46 | gint lines;
47 |
48 | #if USE_THREADS
49 | GAsyncQueue *aqueue;
50 | #endif
51 | };
52 |
53 | LogWindow *log_window_create(void);
54 | void log_window_init(LogWindow *logwin);
55 | void log_window_show(LogWindow *logwin);
56 |
57 | void log_window_append(const gchar *str, LogType type);
58 | void log_window_append_queue(const gchar *str, LogType type);
59 |
60 | void log_window_flush(void);
61 |
62 | #endif /* __LOGWINDOW_H__ */
63 |
--------------------------------------------------------------------------------
/src/main.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2006 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __MAIN_H__
21 | #define __MAIN_H__
22 |
23 | #include
24 |
25 | extern gchar *prog_version;
26 |
27 | void app_will_exit (gboolean force);
28 | void app_will_restart (gboolean force);
29 |
30 | #endif /* __MAIN_H__ */
31 |
--------------------------------------------------------------------------------
/src/manage_window.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2002 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __MANAGE_WINDOW_H__
21 | #define __MANAGE_WINDOW_H__
22 |
23 | #include
24 | #include
25 | #include
26 |
27 | #define MANAGE_WINDOW_SIGNALS_CONNECT(window) \
28 | { \
29 | g_signal_connect(G_OBJECT(window), "focus_in_event", \
30 | G_CALLBACK(manage_window_focus_in), NULL); \
31 | g_signal_connect(G_OBJECT(window), "focus_out_event", \
32 | G_CALLBACK(manage_window_focus_out), NULL); \
33 | g_signal_connect(G_OBJECT(window), "unmap_event", \
34 | G_CALLBACK(manage_window_unmap), NULL); \
35 | g_signal_connect(G_OBJECT(window), "destroy", \
36 | G_CALLBACK(manage_window_destroy), NULL); \
37 | }
38 |
39 | gint manage_window_focus_in (GtkWidget *widget,
40 | GdkEventFocus *event,
41 | gpointer data);
42 | gint manage_window_focus_out (GtkWidget *widget,
43 | GdkEventFocus *event,
44 | gpointer data);
45 | gint manage_window_unmap (GtkWidget *widget,
46 | GdkEventAny *event,
47 | gpointer data);
48 | gint manage_window_delete (GtkWidget *widget,
49 | GdkEventAny *event,
50 | gpointer data);
51 | void manage_window_destroy (GtkWidget *widget,
52 | gpointer data);
53 |
54 | void manage_window_set_transient (GtkWindow *window);
55 | void manage_window_signals_connect (GtkWindow *window);
56 |
57 | GtkWidget *manage_window_get_focus_window (void);
58 |
59 | #endif /* __MANAGE_WINDOW_H__ */
60 |
--------------------------------------------------------------------------------
/src/manual.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2002 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __MANUAL_H__
21 | #define __MANUAL_H__
22 |
23 | typedef enum
24 | {
25 | MANUAL_LANG_DE,
26 | MANUAL_LANG_EN,
27 | MANUAL_LANG_ES,
28 | MANUAL_LANG_FR,
29 | MANUAL_LANG_IT,
30 | MANUAL_LANG_JA,
31 | } ManualLang;
32 |
33 | void manual_open(ManualLang lang);
34 | void faq_open (ManualLang lang);
35 |
36 | #endif /* __MANUAL_H__ */
37 |
--------------------------------------------------------------------------------
/src/message_search.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2014 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __MESSAGE_SEARCH_H__
21 | #define __MESSAGE_SEARCH_H__
22 |
23 | #include
24 |
25 | #include "messageview.h"
26 |
27 | void message_search (MessageView *messageview);
28 |
29 | #endif /* __MESSAGE_SEARCH_H__ */
30 |
--------------------------------------------------------------------------------
/src/mgutils.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 2001 Match Grun
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | /*
21 | * General definitions for common address book entries.
22 | */
23 |
24 | #ifndef __MGUTILS_H__
25 | #define __MGUTILS_H__
26 |
27 | #include
28 | #include
29 |
30 | /* Error codes */
31 | #define MGU_SUCCESS 0
32 | #define MGU_BAD_ARGS -1
33 | #define MGU_NO_FILE -2
34 | #define MGU_OPEN_FILE -3
35 | #define MGU_ERROR_READ -4
36 | #define MGU_EOF -5
37 | #define MGU_OO_MEMORY -6
38 | #define MGU_BAD_FORMAT -7
39 | #define MGU_LDAP_CONNECT -8
40 | #define MGU_LDAP_INIT -9
41 | #define MGU_LDAP_BIND -10
42 | #define MGU_LDAP_SEARCH -11
43 | #define MGU_LDAP_TIMEOUT -12
44 | #define MGU_LDAP_CRITERIA -13
45 | #define MGU_LDAP_NOENTRIES -14
46 | #define MGU_ERROR_WRITE -15
47 | #define MGU_OPEN_DIRECTORY -16
48 | #define MGU_NO_PATH -17
49 |
50 | /* Function prototypes */
51 | void mgu_print_list ( GSList *list, FILE *stream );
52 | void mgu_print_dlist ( GList *list, FILE *stream );
53 | void mgu_free_list ( GSList *list );
54 | void mgu_free_dlist ( GList *list );
55 | gchar *mgu_list_coalesce ( GSList *list );
56 | gchar *mgu_error2string ( gint err );
57 | gchar *mgu_replace_string ( gchar *str, const gchar *value );
58 | void mgu_clear_slist ( GSList *list );
59 | void mgu_clear_list ( GList *list );
60 | gchar *mgu_email_check_empty ( gchar *address );
61 |
62 | #endif /* __MGUTILS_H__ */
63 |
--------------------------------------------------------------------------------
/src/notificationwindow.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2013 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __NOTIFICATIONWINDOW_H__
21 | #define __NOTIFICATIONWINDOW_H__
22 |
23 | #include
24 | #include
25 |
26 | gint notification_window_open (const gchar *message,
27 | const gchar *submessage,
28 | guint timeout);
29 | void notification_window_set_message (const gchar *message,
30 | const gchar *submessage);
31 | void notification_window_close (void);
32 |
33 | #endif /* __NOTIFICATIONWINDOW_H__ */
34 |
--------------------------------------------------------------------------------
/src/passphrase.h:
--------------------------------------------------------------------------------
1 | /* passphrase.h - GTK+ based passphrase callback
2 | * Copyright (C) 2001 Werner Koch (dd9jn)
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; either version 2 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * This program is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with this program; if not, write to the Free Software
16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 | */
18 |
19 | #ifndef GPGMEGTK_PASSPHRASE_H
20 | #define GPGMEGTK_PASSPHRASE_H
21 |
22 | #include
23 | #include
24 |
25 | struct passphrase_cb_info_s {
26 | gpgme_ctx_t c;
27 | int did_it;
28 | };
29 |
30 | void gpgmegtk_set_passphrase_grab (gint yesno);
31 | gpgme_error_t gpgmegtk_passphrase_cb(void *opaque, const char *uid_hint,
32 | const char *passphrase_info, int prev_bad, int fd);
33 | void gpgmegtk_free_passphrase();
34 |
35 | #endif /* GPGMEGTK_PASSPHRASE_H */
36 |
--------------------------------------------------------------------------------
/src/plugin-marshal.list:
--------------------------------------------------------------------------------
1 | VOID:POINTER
2 | VOID:POINTER,POINTER
3 | VOID:POINTER,POINTER,STRING,STRING,POINTER
4 | BOOLEAN:POINTER,INT,INT,STRING,POINTER
5 | VOID:POINTER,POINTER,BOOLEAN
6 | VOID:INT
7 | VOID:POINTER,STRING,STRING,POINTER
8 |
--------------------------------------------------------------------------------
/src/plugin-types.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2016 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PLUGIN_TYPES_H__
21 | #define __PLUGIN_TYPES_H__
22 |
23 | #include
24 |
25 | typedef struct _SylPluginAttachInfo SylPluginAttachInfo;
26 |
27 | #include "procmime.h"
28 |
29 | struct _SylPluginAttachInfo
30 | {
31 | gchar *file;
32 | gchar *content_type;
33 | EncodingType encoding;
34 | gchar *name;
35 | gsize size;
36 | };
37 |
38 | #endif /* __PLUGIN_TYPES_H__ */
39 |
--------------------------------------------------------------------------------
/src/plugin_manager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2009 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PLUGIN_MANAGER_H__
21 | #define __PLUGIN_MANAGER_H__
22 |
23 | #ifdef HAVE_CONFIG_H
24 | # include "config.h"
25 | #endif
26 |
27 | void plugin_manager_open(void);
28 |
29 | #endif /* __PLUGIN_MANAGER_H__ */
30 |
--------------------------------------------------------------------------------
/src/prefs_account_dialog.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2007 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PREFS_ACCOUNT_DIALOG_H__
21 | #define __PREFS_ACCOUNT_DIALOG_H__
22 |
23 | #include
24 |
25 | #include "prefs_account.h"
26 |
27 | PrefsAccount *prefs_account_open (PrefsAccount *ac_prefs);
28 |
29 | #endif /* __PREFS_ACCOUNT_DIALOG_H__ */
30 |
--------------------------------------------------------------------------------
/src/prefs_actions.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2003 Hiroyuki Yamamoto & The Sylpheed Claws Team
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PREFS_ACTIONS_H__
21 | #define __PREFS_ACTIONS_H__
22 |
23 | #include "mainwindow.h"
24 |
25 | void prefs_actions_read_config (void);
26 | void prefs_actions_write_config (void);
27 | void prefs_actions_open (MainWindow *mainwin);
28 |
29 | #endif /* __PREFS_ACTIONS_H__ */
30 |
--------------------------------------------------------------------------------
/src/prefs_common_dialog.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2006 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PREFS_COMMON_DIALOG_H__
21 | #define __PREFS_COMMON_DIALOG_H__
22 |
23 | #ifdef HAVE_CONFIG_H
24 | # include "config.h"
25 | #endif
26 |
27 | #include
28 |
29 | void prefs_common_open (void);
30 |
31 | void prefs_quote_description (void);
32 |
33 | #endif /* __PREFS_COMMON_DIALOG_H__ */
34 |
--------------------------------------------------------------------------------
/src/prefs_customheader.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2001 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PREFS_CUSTOMHEADER_H__
21 | #define __PREFS_CUSTOMHEADER_H__
22 |
23 | #include "prefs_account.h"
24 |
25 | void prefs_custom_header_open (PrefsAccount *ac);
26 |
27 | #endif /* __PREFS_CUSTOMHEADER_H__ */
28 |
--------------------------------------------------------------------------------
/src/prefs_display_header.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2001 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PREFS_DISPLAY_HEADER_H__
21 | #define __PREFS_DISPLAY_HEADER_H__
22 |
23 | void prefs_display_header_read_config (void);
24 | void prefs_display_header_write_config (void);
25 | void prefs_display_header_open (void);
26 |
27 | #endif /* __PREFS_DISPLAY_HEADER_H__ */
28 |
--------------------------------------------------------------------------------
/src/prefs_filter.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2008 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PREFS_FILTER_H__
21 | #define __PREFS_FILTER_H__
22 |
23 | #ifdef HAVE_CONFIG_H
24 | # include "config.h"
25 | #endif
26 |
27 | #include
28 |
29 | #include "procmsg.h"
30 |
31 | void prefs_filter_open (MsgInfo *msginfo,
32 | const gchar *header,
33 | const gchar *key);
34 |
35 | GSList *prefs_filter_get_header_list (void);
36 | GSList *prefs_filter_get_user_header_list (void);
37 |
38 | gchar *prefs_filter_get_msg_header_field (const gchar *header_name);
39 |
40 | void prefs_filter_set_header_list (MsgInfo *msginfo);
41 | void prefs_filter_set_user_header_list (GSList *list);
42 | void prefs_filter_set_msg_header_list (MsgInfo *msginfo);
43 |
44 | void prefs_filter_write_user_header_list (void);
45 |
46 | #endif /* __PREFS_FILTER_H__ */
47 |
--------------------------------------------------------------------------------
/src/prefs_folder_item.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2006 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PREFS_FOLDER_ITEM_H__
21 | #define __PREFS_FOLDER_ITEM_H__
22 |
23 | #include
24 |
25 | #include "folder.h"
26 |
27 | void prefs_folder_item_open (FolderItem *item);
28 |
29 | #endif /* __PREFS_FOLDER_ITEM_H__ */
30 |
--------------------------------------------------------------------------------
/src/prefs_search_folder.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2006 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PREFS_SEARCH_FOLDER_H__
21 | #define __PREFS_SEARCH_FOLDER_H__
22 |
23 | #include
24 |
25 | #include "folder.h"
26 |
27 | gboolean prefs_search_folder_open (FolderItem *item);
28 |
29 | #endif /* __PREFS_SEARCH_FOLDER_H__ */
30 |
--------------------------------------------------------------------------------
/src/prefs_summary_column.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2001 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PREFS_SUMMARY_COLUMN_H__
21 | #define __PREFS_SUMMARY_COLUMN_H__
22 |
23 | #include "summaryview.h"
24 |
25 | void prefs_summary_column_open(gboolean sent_folder);
26 |
27 | SummaryColumnState *prefs_summary_column_get_config(gboolean sent_folder);
28 | void prefs_summary_column_set_config(SummaryColumnState *state,
29 | gboolean sent_folder);
30 |
31 | #endif /* __PREFS_SUMMARY_COLUMN_H__ */
32 |
--------------------------------------------------------------------------------
/src/prefs_template.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed templates subsystem
3 | * Copyright (C) 2001 Alexander Barinov
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PREFS_TEMPLATES_H__
21 | #define __PREFS_TEMPLATES_H__
22 |
23 | void prefs_template_open(void);
24 |
25 | #endif /* __PREFS_TEMPLATES_H__ */
26 |
--------------------------------------------------------------------------------
/src/printing.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2006 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __PRINTING_H__
21 | #define __PRINTING_H__
22 |
23 | #include
24 |
25 | #include
26 |
27 | #include "procmsg.h"
28 | #include "procmime.h"
29 |
30 | #if GTK_CHECK_VERSION(2, 10, 0)
31 | gint printing_print_messages_gtk (GSList *mlist,
32 | MimeInfo *partinfo,
33 | gboolean all_headers);
34 |
35 | void printing_page_setup_gtk (void);
36 | #endif
37 |
38 | gint printing_print_messages_with_command (GSList *mlist,
39 | gboolean all_headers,
40 | const gchar *cmdline);
41 |
42 | gint printing_print_messages (GSList *mlist,
43 | gboolean all_headers);
44 | gint printing_print_message (MsgInfo *msginfo,
45 | gboolean all_headers);
46 | gint printing_print_message_part (MsgInfo *msginfo,
47 | MimeInfo *partinfo);
48 |
49 | #endif /* __PRINTING_H__ */
50 |
--------------------------------------------------------------------------------
/src/query_search.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2006 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __QUERY_SEARCH_H__
21 | #define __QUERY_SEARCH_H__
22 |
23 | #include
24 |
25 | #include "folder.h"
26 |
27 | void query_search (FolderItem *item);
28 |
29 | #endif /* __QUERY_SEARCH_H__ */
30 |
--------------------------------------------------------------------------------
/src/quick_search.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2014 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __QUICK_SEARCH_H__
21 | #define __QUICK_SEARCH_H__
22 |
23 | #include
24 |
25 | typedef struct _QuickSearch QuickSearch;
26 |
27 | #include "summaryview.h"
28 |
29 | typedef enum
30 | {
31 | QS_ALL,
32 | QS_UNREAD,
33 | QS_MARK,
34 | QS_CLABEL,
35 | QS_MIME,
36 | QS_W1DAY,
37 | QS_LAST5,
38 | QS_LAST7,
39 | QS_IN_ADDRESSBOOK,
40 | QS_LAST30
41 | } QSearchCondType;
42 |
43 | struct _QuickSearch
44 | {
45 | GtkWidget *hbox;
46 | GtkWidget *optmenu;
47 | GtkWidget *menu;
48 | GtkWidget *label;
49 | GtkWidget *entry;
50 | GtkWidget *clear_btn;
51 | GtkWidget *status_label;
52 |
53 | SummaryView *summaryview;
54 |
55 | gboolean entry_entered;
56 | };
57 |
58 | QuickSearch *quick_search_create(SummaryView *summaryview);
59 |
60 | void quick_search_clear_entry (QuickSearch *qsearch);
61 |
62 | GSList *quick_search_filter (QuickSearch *qsearch,
63 | QSearchCondType type,
64 | const gchar *key);
65 |
66 | #endif /* __QUICK_SEARCH_H__ */
67 |
--------------------------------------------------------------------------------
/src/quote_fmt.h:
--------------------------------------------------------------------------------
1 | #ifndef __QUOTE_FMT_H__
2 |
3 | #define __QUOTE_FMT_H__
4 |
5 | #define quote_fmt_parse quote_fmtparse
6 |
7 | gchar *quote_fmt_get_buffer(void);
8 | void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str,
9 | const gchar *my_body);
10 | gint quote_fmtparse(void);
11 | void quote_fmt_scan_string(const gchar *str);
12 |
13 | #endif /* __QUOTE_FMT_H__ */
14 |
--------------------------------------------------------------------------------
/src/quote_fmt_lex.h:
--------------------------------------------------------------------------------
1 | /* The following defines shamelessly stolen from GDB sources... */
2 |
3 | /* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
4 | as well as gratuitiously global symbol names, so we can have multiple
5 | yacc generated parsers in gdb. Note that these are only the variables
6 | produced by yacc. If other parser generators (bison, byacc, etc) produce
7 | additional global names that conflict at link time, then those parser
8 | generators need to be fixed instead of adding those names to this list. */
9 |
10 | #define yymaxdepth quote_fmtmaxdepth
11 | #define yyparse quote_fmtparse
12 | #define yylex quote_fmtlex
13 | #define yyerror quote_fmterror
14 | #define yylval quote_fmtlval
15 | #define yychar quote_fmtchar
16 | #define yydebug quote_fmtdebug
17 | #define yypact quote_fmtpact
18 | #define yyr1 quote_fmtr1
19 | #define yyr2 quote_fmtr2
20 | #define yydef quote_fmtdef
21 | #define yychk quote_fmtchk
22 | #define yypgo quote_fmtpgo
23 | #define yyact quote_fmtact
24 | #define yyexca quote_fmtexca
25 | #define yyerrflag quote_fmterrflag
26 | #define yynerrs quote_fmtnerrs
27 | #define yyps quote_fmtps
28 | #define yypv quote_fmtpv
29 | #define yys quote_fmts
30 | #define yy_yys quote_fmtyys
31 | #define yystate quote_fmtstate
32 | #define yytmp quote_fmttmp
33 | #define yyv quote_fmtv
34 | #define yy_yyv quote_fmtyyv
35 | #define yyval quote_fmtval
36 | #define yylloc quote_fmtlloc
37 | #define yyreds quote_fmtreds /* With YYDEBUG defined */
38 | #define yytoks quote_fmttoks /* With YYDEBUG defined */
39 | #define yylhs quote_fmtyylhs
40 | #define yylen quote_fmtyylen
41 | #define yydefred quote_fmtyydefred
42 | #define yydgoto quote_fmtyydgoto
43 | #define yysindex quote_fmtyysindex
44 | #define yyrindex quote_fmtyyrindex
45 | #define yygindex quote_fmtyygindex
46 | #define yytable quote_fmtyytable
47 | #define yycheck quote_fmtyycheck
48 |
--------------------------------------------------------------------------------
/src/quote_fmt_lex.l:
--------------------------------------------------------------------------------
1 | %{
2 | #include "quote_fmt_lex.h"
3 | #include "quote_fmt_parse.h"
4 | %}
5 |
6 | %option prefix="quote_fmt"
7 | %option outfile="lex.yy.c"
8 |
9 | %%
10 |
11 | "%d" /* date */ return SHOW_DATE;
12 | "%f" /* from */ return SHOW_FROM;
13 | "%N" /* full name */ return SHOW_FULLNAME;
14 | "%F" /* first name */ return SHOW_FIRST_NAME;
15 | "%I" /* initial of sender */ return SHOW_SENDER_INITIAL;
16 | "%s" /* subject */ return SHOW_SUBJECT;
17 | "%t" /* to */ return SHOW_TO;
18 | "%c" /* cc */ return SHOW_CC;
19 | "%n" /* newsgroups */ return SHOW_NEWSGROUPS;
20 | "%i" /* message-id */ return SHOW_MESSAGEID;
21 | "%r" /* references */ return SHOW_REFERENCES;
22 | "%M" /* message */ return SHOW_MESSAGE;
23 | "%Q" /* quoted message */ return SHOW_QUOTED_MESSAGE;
24 | "%m" /* message with no signature */ return SHOW_MESSAGE_NO_SIGNATURE;
25 | "%q" /* quoted message with no signature */ return SHOW_QUOTED_MESSAGE_NO_SIGNATURE;
26 | "%%" /* % */ return SHOW_PERCENT;
27 | "\\\\" /* \ */ return SHOW_BACKSLASH;
28 | "\\t"|"\t" /* tab */ return SHOW_TAB;
29 | "\\n"|"\n" /* return */ return SHOW_EOL;
30 | "\\?" /* ? */ return SHOW_QUESTION_MARK;
31 | "\\{" return SHOW_OPARENT;
32 | "\\}" return SHOW_CPARENT;
33 | "?d" /* query date */ return QUERY_DATE;
34 | "?f" /* query from */ return QUERY_FROM;
35 | "?N"|"?F"|"?I" /* query from name */ return QUERY_FULLNAME;
36 | "?s" /* query subject */ return QUERY_SUBJECT;
37 | "?t" /* query to */ return QUERY_TO;
38 | "?c" /* query cc */ return QUERY_CC;
39 | "?n" /* query newsgroups */ return QUERY_NEWSGROUPS;
40 | "?i" /* query message-id */ return QUERY_MESSAGEID;
41 | "?r" /* query references */ return QUERY_REFERENCES;
42 | "{" return OPARENT;
43 | "}" return CPARENT;
44 | . { yylval.chr = yytext[0]; return CHARACTER; }
45 |
46 | %%
47 |
--------------------------------------------------------------------------------
/src/rpop3.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2008 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __RPOP3_H__
21 | #define __RPOP3_H__
22 |
23 | #ifdef HAVE_CONFIG_H
24 | # include "config.h"
25 | #endif
26 |
27 | #include
28 |
29 | #include "mainwindow.h"
30 | #include "prefs_account.h"
31 |
32 | gint rpop3_account (PrefsAccount *account);
33 |
34 | #endif /* __RPOP3_H__ */
35 |
--------------------------------------------------------------------------------
/src/select-keys.h:
--------------------------------------------------------------------------------
1 | /* select-keys.h - GTK+ based key selection
2 | * Copyright (C) 2001 Werner Koch (dd9jn)
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; either version 2 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * This program is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with this program; if not, write to the Free Software
16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 | */
18 |
19 | #ifndef GPGMEGTK_SELECT_KEYS_H
20 | #define GPGMEGTK_SELECT_KEYS_H
21 |
22 | #include
23 | #include
24 |
25 |
26 | gpgme_key_t *gpgmegtk_recipient_selection (GSList *recp_names);
27 |
28 |
29 | #endif /* GPGMEGTK_SELECT_KEYS_H */
30 |
--------------------------------------------------------------------------------
/src/send_message.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2007 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __SEND_MESSAGE_H__
21 | #define __SEND_MESSAGE_H__
22 |
23 | #include
24 | #include
25 |
26 | typedef struct _QueueInfo QueueInfo;
27 |
28 | #include "prefs_account.h"
29 | #include "folder.h"
30 | #include "procmsg.h"
31 |
32 | struct _QueueInfo
33 | {
34 | gchar *from;
35 | gchar *server;
36 | GSList *to_list;
37 | PrefsAccount *ac;
38 | gchar *reply_target;
39 | gchar *forward_targets;
40 | FILE *fp;
41 | };
42 |
43 | gint send_message (const gchar *file,
44 | PrefsAccount *ac_prefs,
45 | GSList *to_list);
46 |
47 | QueueInfo *send_get_queue_info (const gchar *file);
48 | void send_queue_info_free (QueueInfo *qinfo);
49 | gint send_message_queue (QueueInfo *qinfo);
50 | gint send_message_queue_all (FolderItem *queue,
51 | gboolean save_msgs,
52 | gboolean filter_msgs);
53 |
54 | gint send_message_set_reply_flag (const gchar *reply_target,
55 | const gchar *msgid);
56 | gint send_message_set_forward_flags (const gchar *forward_targets);
57 |
58 | #endif /* __SEND_H__ */
59 |
--------------------------------------------------------------------------------
/src/setup.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2010 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __SETUP_H__
21 | #define __SETUP_H__
22 |
23 | #include
24 |
25 | #include "prefs_account.h"
26 |
27 | void setup_mailbox(void);
28 | PrefsAccount *setup_account(void);
29 | gint setup_import_data(void);
30 | gint setup_import_addressbook(void);
31 |
32 | #endif /* __SETUP_H__ */
33 |
--------------------------------------------------------------------------------
/src/sigstatus.h:
--------------------------------------------------------------------------------
1 | /* sigstatus.h - GTK+ based signature status display
2 | * Copyright (C) 2001 Werner Koch (dd9jn)
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; either version 2 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * This program is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with this program; if not, write to the Free Software
16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 | */
18 |
19 | #ifndef GPGMEGTK_SIGSTATUS_H
20 | #define GPGMEGTK_SIGSTATUS_H
21 |
22 | #include
23 |
24 | struct gpgmegtk_sig_status_s;
25 | typedef struct gpgmegtk_sig_status_s *GpgmegtkSigStatus;
26 |
27 | GpgmegtkSigStatus gpgmegtk_sig_status_create(void);
28 | void gpgmegtk_sig_status_destroy(GpgmegtkSigStatus hd);
29 | void gpgmegtk_sig_status_update(GpgmegtkSigStatus hd, gpgme_ctx_t ctx);
30 |
31 | const gchar *gpgmegtk_sig_status_to_string(gpgme_signature_t signature,
32 | gboolean use_name);
33 |
34 | #endif /* GPGMEGTK_SIGSTATUS_H */
35 |
--------------------------------------------------------------------------------
/src/sourcewindow.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2001 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __SOURCEWINDOW_H__
21 | #define __SOURCEWINDOW_H__
22 |
23 | #include
24 | #include
25 |
26 | #include "procmsg.h"
27 |
28 | typedef struct _SourceWindow SourceWindow;
29 |
30 | struct _SourceWindow
31 | {
32 | GtkWidget *window;
33 | GtkWidget *scrolledwin;
34 | GtkWidget *text;
35 | };
36 |
37 | SourceWindow *source_window_create (void);
38 | void source_window_show (SourceWindow *sourcewin);
39 | void source_window_destroy (SourceWindow *sourcewin);
40 | void source_window_show_msg (SourceWindow *sourcewin,
41 | MsgInfo *msginfo);
42 | void source_window_append (SourceWindow *sourcewin,
43 | const gchar *str);
44 |
45 | #endif /* __SOURCEWINDOW_H__ */
46 |
--------------------------------------------------------------------------------
/src/sslmanager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2006 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __SSLMANAGER_H__
21 | #define __SSLMANAGER_H__
22 |
23 | #ifdef HAVE_CONFIG_H
24 | # include "config.h"
25 | #endif
26 |
27 | #if USE_SSL
28 |
29 | #include
30 |
31 | #include "ssl.h"
32 |
33 | gint ssl_manager_verify_cert (SockInfo *sockinfo,
34 | const gchar *hostname,
35 | X509 *server_cert,
36 | glong verify_result);
37 |
38 | #endif /* USE_SSL */
39 |
40 | #endif /* __MAIN_H__ */
41 |
--------------------------------------------------------------------------------
/src/statusbar.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2005 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __STATUSBAR_H__
21 | #define __STATUSBAR_H__
22 |
23 | #include
24 | #include
25 | #include
26 |
27 | GtkWidget *statusbar_create (void);
28 | void statusbar_puts (GtkStatusbar *statusbar,
29 | const gchar *str);
30 | void statusbar_puts_all (const gchar *str);
31 | void statusbar_print (GtkStatusbar *statusbar,
32 | const gchar *format, ...)
33 | G_GNUC_PRINTF(2, 3);
34 | void statusbar_print_all (const gchar *format, ...)
35 | G_GNUC_PRINTF(1, 2);
36 | void statusbar_pop_all (void);
37 |
38 | #endif /* __STATUSBAR_H__ */
39 |
--------------------------------------------------------------------------------
/src/subscribedialog.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2005 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __SUBSCRIBEDIALOG_H__
21 | #define __SUBSCRIBEDIALOG_H__
22 |
23 | #include
24 |
25 | #include "folder.h"
26 |
27 | GSList *subscribe_dialog (Folder *folder);
28 |
29 | #endif /* __SUBSCRIBEDIALOG_H__ */
30 |
--------------------------------------------------------------------------------
/src/sylpheed-marshal.list:
--------------------------------------------------------------------------------
1 | VOID:POINTER
2 | VOID:INT,POINTER
3 |
--------------------------------------------------------------------------------
/src/sylpheed.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 | true
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/src/sylpheed.rc.in:
--------------------------------------------------------------------------------
1 | 1 VERSIONINFO
2 | FILEVERSION @MAJOR_VERSION@,@MINOR_VERSION@,@MICRO_VERSION@,@BUILD_REVISION@
3 | PRODUCTVERSION @MAJOR_VERSION@,@MINOR_VERSION@,@MICRO_VERSION@,0
4 | FILEFLAGSMASK 0x3fL
5 | FILEFLAGS 0x20L
6 | FILEOS 0x40004L
7 | FILETYPE 0x1L
8 | FILESUBTYPE 0x0L
9 | BEGIN
10 | BLOCK "StringFileInfo"
11 | BEGIN
12 | BLOCK "040904b0"
13 | BEGIN
14 | VALUE "CompanyName", "Hiroyuki Yamamoto\0"
15 | VALUE "FileDescription", "Sylpheed\0"
16 | VALUE "FileVersion", "@MAJOR_VERSION@.@MINOR_VERSION@.@MICRO_VERSION@.@BUILD_REVISION@\0"
17 | VALUE "InternalName", "sylpheed\0"
18 | VALUE "LegalCopyright", "Copyright (C) 1999-2017 Hiroyuki Yamamoto\0"
19 | VALUE "OriginalFilename", "sylpheed.exe\0"
20 | VALUE "ProductName", "Sylpheed\0"
21 | VALUE "ProductVersion", "@VERSION@\0"
22 | END
23 | END
24 | BLOCK "VarFileInfo"
25 | BEGIN
26 | VALUE "Translation", 0x409, 1200
27 | END
28 | END
29 |
30 | SYLPHEED ICON icons/sylpheed.ico
31 |
32 | #include
33 |
34 | CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST sylpheed.exe.manifest
35 |
--------------------------------------------------------------------------------
/src/template.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed templates subsystem
3 | * Copyright (C) 2001 Alexander Barinov
4 | * Copyright (C) 2001-2006 Hiroyuki Yamamoto
5 | *
6 | * This program is free software; you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation; either version 2 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This program is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with this program; if not, write to the Free Software
18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 | */
20 |
21 | #ifndef __TEMPLATE_H__
22 | #define __TEMPLATE_H__
23 |
24 | #include
25 |
26 | typedef struct _Template Template;
27 |
28 | struct _Template {
29 | guint tmplid;
30 |
31 | gchar *name;
32 | gchar *to;
33 | gchar *cc;
34 | gchar *bcc;
35 | gchar *replyto;
36 | gchar *subject;
37 | gchar *value;
38 | };
39 |
40 | void template_free (Template *tmpl);
41 | void template_clear_config (GSList *tmpl_list);
42 |
43 | GSList *template_read_config (void);
44 | void template_write_config (GSList *tmpl_list);
45 |
46 | GSList *template_get_config (void);
47 | void template_set_config (GSList *tmpl_list);
48 |
49 | #endif /* __TEMPLATE_H__ */
50 |
--------------------------------------------------------------------------------
/src/trayicon.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2006 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __TRAYICON_H__
21 | #define __TRAYICON_H__
22 |
23 | #include
24 | #include
25 | #include
26 |
27 | #if GTK_CHECK_VERSION(2, 10, 0)
28 | # include
29 | #endif
30 |
31 | typedef struct _TrayIcon TrayIcon;
32 |
33 | #include "mainwindow.h"
34 | #include "stock_pixmap.h"
35 |
36 | struct _TrayIcon
37 | {
38 | #if GTK_CHECK_VERSION(2, 10, 0)
39 | GtkStatusIcon *status_icon;
40 | #else
41 | GtkWidget *widget;
42 | #endif
43 | };
44 |
45 | TrayIcon *trayicon_create (MainWindow *mainwin);
46 | void trayicon_show (TrayIcon *tray_icon);
47 | void trayicon_hide (TrayIcon *tray_icon);
48 | void trayicon_destroy (TrayIcon *tray_icon);
49 | void trayicon_set_tooltip (const gchar *text);
50 | void trayicon_set_notify (gboolean enabled);
51 | void trayicon_set_stock_icon (StockPixmap icon);
52 |
53 | #endif /* __TRAYICON_H__ */
54 |
--------------------------------------------------------------------------------
/src/undo.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2001 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | /* code ported from gedit */
21 |
22 | #ifndef __UNDO_H__
23 | #define __UNDO_H__
24 |
25 | #include
26 | #include
27 | #include
28 |
29 | typedef enum
30 | {
31 | UNDO_ACTION_INSERT,
32 | UNDO_ACTION_DELETE,
33 | UNDO_ACTION_REPLACE_INSERT,
34 | UNDO_ACTION_REPLACE_DELETE,
35 | } UndoAction;
36 |
37 | typedef enum
38 | {
39 | UNDO_STATE_TRUE,
40 | UNDO_STATE_FALSE,
41 | UNDO_STATE_UNCHANGED,
42 | UNDO_STATE_REFRESH,
43 | } UndoState;
44 |
45 | typedef struct _UndoMain UndoMain;
46 |
47 | typedef void (*UndoChangeStateFunc) (UndoMain *undostruct,
48 | gint undo_state,
49 | gint redo_state,
50 | gpointer data);
51 |
52 | struct _UndoMain
53 | {
54 | GtkTextView *textview;
55 |
56 | GList *undo;
57 | GList *redo;
58 |
59 | UndoChangeStateFunc change_state_func;
60 | gpointer change_state_data;
61 |
62 | gboolean undo_state : 1;
63 | gboolean redo_state : 1;
64 |
65 | gint paste;
66 | };
67 |
68 | UndoMain *undo_init (GtkWidget *text);
69 | void undo_destroy (UndoMain *undostruct);
70 |
71 | void undo_set_change_state_func (UndoMain *undostruct,
72 | UndoChangeStateFunc func,
73 | gpointer data);
74 |
75 | void undo_undo (UndoMain *undostruct);
76 | void undo_redo (UndoMain *undostruct);
77 | void undo_block (UndoMain *undostruct);
78 | void undo_unblock (UndoMain *undostruct);
79 |
80 | #endif /* __UNDO_H__ */
81 |
--------------------------------------------------------------------------------
/src/update_check.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2010 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __UPDATE_CHECK_H__
21 | #define __UPDATE_CHECK_H__
22 |
23 | #ifdef HAVE_CONFIG_H
24 | # include "config.h"
25 | #endif
26 |
27 | #ifdef USE_UPDATE_CHECK
28 |
29 | #include
30 |
31 | void update_check (gboolean show_dialog_always);
32 | void update_check_plugin (gboolean show_dialog_always);
33 | #ifdef G_OS_WIN32
34 | #ifdef USE_UPDATE_CHECK_PLUGIN
35 | void update_check_spawn_plugin_updater(void);
36 | #endif
37 | #endif
38 |
39 | void update_check_set_check_url (const gchar *url);
40 | const gchar *update_check_get_check_url (void);
41 | void update_check_set_download_url (const gchar *url);
42 | const gchar *update_check_get_download_url(void);
43 | void update_check_set_jump_url (const gchar *url);
44 | const gchar *update_check_get_jump_url (void);
45 |
46 | #ifdef USE_UPDATE_CHECK_PLUGIN
47 | void update_check_set_check_plugin_url (const gchar *url);
48 | const gchar *update_check_get_check_plugin_url(void);
49 | void update_check_set_jump_plugin_url (const gchar *url);
50 | const gchar *update_check_get_jump_plugin_url(void);
51 | #endif /* USE_UPDATE_CHECK_PLUGIN */
52 |
53 | #endif /* USE_UPDATE_CHECK */
54 |
55 | #endif /* __UPDATE_CHECK_H__ */
56 |
--------------------------------------------------------------------------------
/src/version.h.in:
--------------------------------------------------------------------------------
1 | /*
2 | * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 | * Copyright (C) 1999-2012 Hiroyuki Yamamoto
4 | *
5 | * This program is free software; you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation; either version 2 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program; if not, write to the Free Software
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 | */
19 |
20 | #ifndef __VERSION_H__
21 | #define __VERSION_H__
22 |
23 | #define PACKAGE "@PACKAGE@"
24 | #define VERSION "@VERSION@"
25 | #define MAJOR_VERSION @MAJOR_VERSION@
26 | #define MINOR_VERSION @MINOR_VERSION@
27 | #define MICRO_VERSION @MICRO_VERSION@
28 | #define EXTRA_VERSION "@EXTRA_VERSION@"
29 | #define PROG_VERSION "Sylpheed " VERSION
30 |
31 | #define BUILD_REVISION @BUILD_REVISION@
32 |
33 | #endif /* __VERSION_H__ */
34 |
--------------------------------------------------------------------------------
/sylpheed-128x128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/sylpheed-128x128.png
--------------------------------------------------------------------------------
/sylpheed-64x64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/sylpheed-64x64.png
--------------------------------------------------------------------------------
/sylpheed-mailto-protocol_user.reg:
--------------------------------------------------------------------------------
1 | REGEDIT4
2 |
3 | [HKEY_CURRENT_USER\Software\Classes\.eml]
4 | @="Sylpheed.EML"
5 |
6 | [HKEY_CURRENT_USER\Software\Classes\mailto]
7 | @="URL:MailTo Protocol"
8 | "FriendlyTypeName"="Sylpheed MailTo"
9 | "URL Protocol"=""
10 | "EditFlags"=dword:00000002
11 |
12 | [HKEY_CURRENT_USER\Software\Classes\mailto\DefaultIcon]
13 | @="C:\\Program Files\\Sylpheed\\sylpheed.exe,0"
14 |
15 | [HKEY_CURRENT_USER\Software\Classes\mailto\shell\open\command]
16 | @="\"C:\\Program Files\\Sylpheed\\sylpheed.exe\" --compose \"%1\""
17 |
18 | [HKEY_CURRENT_USER\Software\Classes\Sylpheed.EML]
19 | @="Sylpheed Message"
20 | "EditFlags"=dword:00000002
21 | "FriendlyTypeName"="Sylpheed Message"
22 |
23 | [HKEY_CURRENT_USER\Software\Classes\Sylpheed.EML\DefaultIcon]
24 | @="C:\\Program Files\\Sylpheed\\sylpheed.exe,0"
25 |
26 | [HKEY_CURRENT_USER\Software\Classes\Sylpheed.EML\shell\open\command]
27 | @="\"C:\\Program Files\\Sylpheed\\sylpheed.exe\" --open \"%1\""
28 |
29 | [HKEY_CURRENT_USER\Software\Classes\Sylpheed.Url.MailTo]
30 | @="URL:MailTo Protocol"
31 | "EditFlags"=dword:00000002
32 | "FriendlyTypeName"="Sylpheed MailTo"
33 | "URL Protocol"=""
34 |
35 | [HKEY_CURRENT_USER\Software\Classes\Sylpheed.Url.MailTo\DefaultIcon]
36 | @="C:\\Program Files\\Sylpheed\\sylpheed.exe,0"
37 |
38 | [HKEY_CURRENT_USER\Software\Classes\Sylpheed.Url.MailTo\shell\open\command]
39 | @="\"C:\\Program Files\\Sylpheed\\sylpheed.exe\" --compose \"%1\""
40 |
41 | [HKEY_CURRENT_USER\Software\Clients\Mail]
42 | @="Sylpheed"
43 |
44 | [HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\URLAssociations\MAILTO\UserChoice]
45 | "Progid"="Sylpheed.Url.MailTo"
46 |
47 | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.eml\UserChoice]
48 | "Progid"="Sylpheed.EML"
49 |
50 |
--------------------------------------------------------------------------------
/sylpheed.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Name=Sylpheed
3 | Name[ja]=Sylpheed
4 | Comment=E-Mail client
5 | Comment[de]=E-Mail Programm
6 | Comment[es]=Cliente de correo electrónico
7 | Comment[fr]=Client de messagerie électronique
8 | Comment[hu]=Grafikus email kliens
9 | Comment[ja]=電子メールクライアント
10 | Comment[pl]=Klient poczty elektronicznej
11 | Comment[tr]=E-Posta İstemcisi
12 | Comment[ru]=E-Mail клиент
13 | Comment[uk]=E-Mail клієнт
14 | Exec=sylpheed %u
15 | Icon=sylpheed
16 | MimeType=message/rfc822;x-scheme-handler/mailto;
17 | Terminal=false
18 | Type=Application
19 | Categories=GTK;Network;Email;News;
20 | Keywords=lightweight;user-friendly;keyboard-oriented;mh;imap;pop3;nntp;japanese;plugins;gpg;
21 |
--------------------------------------------------------------------------------
/sylpheed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jan0sch/sylpheed/34327c1d44efada7b87397f2613379563e89e5d4/sylpheed.png
--------------------------------------------------------------------------------