Pixmap theming
authorCarsten Schurig <Carsten.Schurig@web.de>
Mon, 11 Feb 2002 19:46:04 +0000 (19:46 +0000)
committerCarsten Schurig <Carsten.Schurig@web.de>
Mon, 11 Feb 2002 19:46:04 +0000 (19:46 +0000)
47 files changed:
ChangeLog.claws
acconfig.h
configure.in
doc/src/maintainer_guide.txt
src/compose.c
src/compose.h
src/defs.h
src/folderview.c
src/folderview.h
src/gtkutils.c
src/gtkutils.h
src/mainwindow.c
src/mainwindow.h
src/pixmaps/address_book.xpm [new file with mode: 0644]
src/pixmaps/close.xpm [new file with mode: 0644]
src/pixmaps/dir_close.xpm [new file with mode: 0644]
src/pixmaps/dir_open.xpm [new file with mode: 0644]
src/pixmaps/dir_open_hrm.xpm [new file with mode: 0644]
src/pixmaps/down_arrow.xpm [new file with mode: 0644]
src/pixmaps/exec.xpm [new file with mode: 0644]
src/pixmaps/inbox_hrm.xpm [new file with mode: 0644]
src/pixmaps/mail.xpm [new file with mode: 0644]
src/pixmaps/mail_attach.xpm [new file with mode: 0644]
src/pixmaps/mail_compose.xpm [new file with mode: 0644]
src/pixmaps/mail_forward.xpm [new file with mode: 0644]
src/pixmaps/mail_receive.xpm [new file with mode: 0644]
src/pixmaps/mail_receive_all.xpm [new file with mode: 0644]
src/pixmaps/mail_reply.xpm [new file with mode: 0644]
src/pixmaps/mail_reply_to_all.xpm [new file with mode: 0644]
src/pixmaps/mail_reply_to_author.xpm [new file with mode: 0644]
src/pixmaps/mail_send.xpm [new file with mode: 0644]
src/pixmaps/mail_send_queue.xpm [new file with mode: 0644]
src/pixmaps/news_compose.xpm [new file with mode: 0644]
src/pixmaps/outbox_hrm.xpm [new file with mode: 0644]
src/pixmaps/paste.xpm [new file with mode: 0644]
src/pixmaps/preferences.xpm [new file with mode: 0644]
src/pixmaps/properties.xpm [new file with mode: 0644]
src/pixmaps/search.xpm [new file with mode: 0644]
src/pixmaps/sylpheed_logo.xpm [new file with mode: 0644]
src/pixmaps/trash_hrm.xpm [new file with mode: 0644]
src/pixmaps/up_arrow.xpm [new file with mode: 0644]
src/prefs_common.c
src/prefs_common.h
src/stock_pixmap.c
src/stock_pixmap.h
src/summaryview.c
src/summaryview.h

index f26c3af..8458463 100644 (file)
@@ -1,3 +1,20 @@
+2002-02-11 [carsten]   0.7.0claws59
+       * acconfig.h
+         configure.in
+         doc-src/maintainer_guide.txt
+         src/compose.[ch]
+         src/defs.h
+         src/folderview.[ch]
+         src/gtkutils.[ch]
+         src/mainwindow.[ch]
+         src/prefs_common.[ch]
+         src/stock_pixmap.[ch]
+         src/summaryview.[ch]
+               pixmap theming and related work on pixmap
+               handling on some other places
+               (e.g. hrm features for all folder)
+         src/pixmap/stock_*.xpm -> the stock_ was removed
+       
 2002-02-11 [paul]      0.7.0claws58
 
        * sync with sylpheed 0.7.1 release
index 03a1435..2960305 100644 (file)
@@ -39,5 +39,7 @@
 
 #undef CLAWS
 
+#undef PACKAGE_DATA_DIR
+
 /* Has ispell path */
 #undef ISPELL_PATH
index ff251b2..62987aa 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws58
+EXTRA_VERSION=claws59
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
@@ -79,6 +79,17 @@ AC_SUBST(localedir)
 manualdir='${prefix}/${DATADIRNAME}/${PACKAGE}/manual'
 AC_SUBST(manualdir)
 
+dnl Set PACKAGE_DATA_DIR in config.h.
+if test "x${datadir}" = 'x${prefix}/share'; then
+  if test "x${prefix}" = "xNONE"; then
+    AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${ac_default_prefix}/share/${PACKAGE}")
+  else
+    AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${prefix}/share/${PACKAGE}")
+  fi
+else
+  AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}")
+fi
+
 dnl Checks for libraries.
 AM_PATH_GLIB(1.2.6,,
        AC_MSG_ERROR(Test for GLIB failed. See the file 'INSTALL' for help.),
index 80dee32..18b0151 100644 (file)
@@ -61,6 +61,7 @@ smtp.c is the handling of the SMTP protocol.
 socket.c is some function to make it easier to use TCP/unix socket.
 sourcewindow.c ********* NO DESCRIPTION *************
 statusbar.c ********* NO DESCRIPTION *************
+stock_pixmap.c handle the pixmaps including pixmap theming
 summaryview.c is the displaying of list of the mail in a folder
              (up/right in the main window).
 textview.c is the mail (without MIME part) displaying of the
index 97618a2..96293c1 100644 (file)
@@ -944,6 +944,7 @@ static void compose_generic_reply(MsgInfo *msginfo, gboolean quote,
                compose_exec_ext_editor(compose);
 }
 
+static void set_toolbar_style(Compose *compose);
 
 static gchar *procmime_get_file_name(MimeInfo *mimeinfo)
 {
@@ -4615,23 +4616,6 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
 
        update_compose_actions_menu(ifactory, "/Edit/Actions", compose);
 
-       switch (prefs_common.toolbar_style) {
-       case TOOLBAR_NONE:
-               gtk_widget_hide(handlebox);
-               break;
-       case TOOLBAR_ICON:
-               gtk_toolbar_set_style(GTK_TOOLBAR(compose->toolbar),
-                                     GTK_TOOLBAR_ICONS);
-               break;
-       case TOOLBAR_TEXT:
-               gtk_toolbar_set_style(GTK_TOOLBAR(compose->toolbar),
-                                     GTK_TOOLBAR_TEXT);
-               break;
-       case TOOLBAR_BOTH:
-               gtk_toolbar_set_style(GTK_TOOLBAR(compose->toolbar),
-                                     GTK_TOOLBAR_BOTH);
-               break;
-       }
 
        undostruct = undo_init(text);
        undo_set_change_state_func(undostruct, &compose_undo_state_changed,
@@ -4838,6 +4822,7 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
                gtk_widget_hide(ruler_hbox);
 
        select_account(compose, account);
+       set_toolbar_style(compose);
 
        return compose;
 }
@@ -4889,7 +4874,7 @@ static void compose_toolbar_create(Compose *compose, GtkWidget *container)
 
        gtk_toolbar_append_space(GTK_TOOLBAR(toolbar));
 
-       icon_wid = stock_pixmap_widget(container, STOCK_PIXMAP_PASTE);
+       icon_wid = stock_pixmap_widget(container, STOCK_PIXMAP_INSERT_FILE);
        insert_btn = gtk_toolbar_append_item(GTK_TOOLBAR(toolbar),
                                             _("Insert"),
                                             _("Insert file"),
@@ -4907,7 +4892,7 @@ static void compose_toolbar_create(Compose *compose, GtkWidget *container)
 
        gtk_toolbar_append_space(GTK_TOOLBAR(toolbar));
 
-       icon_wid = stock_pixmap_widget(container, STOCK_PIXMAP_MAIL);
+       icon_wid = stock_pixmap_widget(container, STOCK_PIXMAP_MAIL_SIGN);
        sig_btn = gtk_toolbar_append_item(GTK_TOOLBAR(toolbar),
                                          _("Signature"),
                                          _("Insert signature"),
@@ -4916,7 +4901,7 @@ static void compose_toolbar_create(Compose *compose, GtkWidget *container)
 
        gtk_toolbar_append_space(GTK_TOOLBAR(toolbar));
 
-       icon_wid = stock_pixmap_widget(container, STOCK_PIXMAP_MAIL_COMPOSE);
+       icon_wid = stock_pixmap_widget(container, STOCK_PIXMAP_EDIT_EXTERN);
        exteditor_btn = gtk_toolbar_append_item(GTK_TOOLBAR(toolbar),
                                                _("Editor"),
                                                _("Edit with external editor"),
@@ -5033,6 +5018,21 @@ void compose_reflect_prefs_all(void)
        }
 }
 
+void compose_reflect_prefs_pixmap_theme(void)
+{
+       GList *cur;
+       Compose *compose;
+
+       for (cur = compose_list; cur != NULL; cur = cur->next) {
+               compose = (Compose *)cur->data;
+               gtk_container_remove(GTK_CONTAINER(compose->handlebox), GTK_WIDGET(compose->toolbar));
+               compose->toolbar = NULL;
+               compose_toolbar_create(compose, compose->handlebox);
+               set_toolbar_style(compose);
+       }
+}
+
+
 static void compose_template_apply(Compose *compose, Template *tmpl)
 {
        gchar *qmark;
@@ -6732,3 +6732,29 @@ static void compose_check_forwards_go(Compose *compose)
        }
 }
 #endif
+
+static void set_toolbar_style(Compose *compose)
+{
+       switch (prefs_common.toolbar_style) {
+       case TOOLBAR_NONE:
+               gtk_widget_hide(compose->handlebox);
+               break;
+       case TOOLBAR_ICON:
+               gtk_toolbar_set_style(GTK_TOOLBAR(compose->toolbar),
+                                     GTK_TOOLBAR_ICONS);
+               break;
+       case TOOLBAR_TEXT:
+               gtk_toolbar_set_style(GTK_TOOLBAR(compose->toolbar),
+                                     GTK_TOOLBAR_TEXT);
+               break;
+       case TOOLBAR_BOTH:
+               gtk_toolbar_set_style(GTK_TOOLBAR(compose->toolbar),
+                                     GTK_TOOLBAR_BOTH);
+               break;
+       }
+       
+       if (prefs_common.toolbar_style != TOOLBAR_NONE) {
+               gtk_widget_show(compose->handlebox);
+               gtk_widget_queue_resize(compose->handlebox);
+       }
+}
index 84b196a..186979d 100644 (file)
@@ -244,6 +244,7 @@ void compose_entry_append           (Compose          *compose,
 
 gint compose_send                      (Compose          *compose);
 
-void compose_reflect_prefs_all         (void);
+void compose_reflect_prefs_all                 (void);
+void compose_reflect_prefs_pixmap_theme        (void);
 
 #endif /* __COMPOSE_H__ */
index 2b94d68..d658a13 100644 (file)
 #define BOLD_FONT   prefs_common.boldfont
 #define SMALL_FONT     prefs_common.smallfont
 
+#define DEFAULT_PIXMAP_THEME   "INTERNAL_DEFAULT"
+#define PIXMAP_THEME_DIR               "themes"
+
 #endif /* __DEFS_H__ */
index 5c3a9d6..1d18d0a 100644 (file)
@@ -94,24 +94,46 @@ static GtkStyle *bold_style;
 static GtkStyle *bold_color_style;
 static GtkStyle *bold_tgtfold_style;
 
-static GdkPixmap *inboxxpm;
+static GdkBitmap *inboxxpm;
 static GdkBitmap *inboxxpmmask;
 static GdkPixmap *inboxhrmxpm;
 static GdkBitmap *inboxhrmxpmmask;
+static GdkPixmap *inboxopenxpm;
+static GdkBitmap *inboxopenxpmmask;
+static GdkPixmap *inboxopenhrmxpm;
+static GdkBitmap *inboxopenhrmxpmmask;
 static GdkPixmap *outboxxpm;
 static GdkBitmap *outboxxpmmask;
 static GdkPixmap *outboxhrmxpm;
 static GdkBitmap *outboxhrmxpmmask;
+static GdkPixmap *outboxopenxpm;
+static GdkBitmap *outboxopenxpmmask;
+static GdkPixmap *outboxopenhrmxpm;
+static GdkBitmap *outboxopenhrmxpmmask;
 static GdkPixmap *folderxpm;
 static GdkBitmap *folderxpmmask;
+static GdkPixmap *folderhrmxpm;
+static GdkBitmap *folderhrmxpmmask;
 static GdkPixmap *folderopenxpm;
 static GdkBitmap *folderopenxpmmask;
 static GdkPixmap *folderopenhrmxpm;
 static GdkBitmap *folderopenhrmxpmmask;
+static GdkPixmap *trashopenxpm;
+static GdkBitmap *trashopenxpmmask;
+static GdkPixmap *trashopenhrmxpm;
+static GdkBitmap *trashopenhrmxpmmask;
 static GdkPixmap *trashxpm;
 static GdkBitmap *trashxpmmask;
 static GdkPixmap *trashhrmxpm;
 static GdkBitmap *trashhrmxpmmask;
+static GdkPixmap *queuexpm;
+static GdkBitmap *queuexpmmask;
+static GdkPixmap *queuehrmxpm;
+static GdkBitmap *queuehrmxpmmask;
+static GdkPixmap *queueopenxpm;
+static GdkBitmap *queueopenxpmmask;
+static GdkPixmap *queueopenhrmxpm;
+static GdkBitmap *queueopenhrmxpmmask;
 static GdkPixmap *newxpm;
 static GdkBitmap *newxpmmask;
 static GdkPixmap *unreadxpm;
@@ -472,22 +494,26 @@ void folderview_init(FolderView *folderview)
        GtkWidget *hbox_new;
        GtkWidget *hbox_unread;
 
-       stock_pixmap_gdk(ctree, STOCK_PIXMAP_INBOX, &inboxxpm, &inboxxpmmask);
-       stock_pixmap_gdk(ctree, STOCK_PIXMAP_OUTBOX,
-                        &outboxxpm, &outboxxpmmask);
-       stock_pixmap_gdk(ctree, STOCK_PIXMAP_DIR_CLOSE,
-                        &folderxpm, &folderxpmmask);
-       stock_pixmap_gdk(ctree, STOCK_PIXMAP_DIR_OPEN,
-                        &folderopenxpm, &folderopenxpmmask);
-       stock_pixmap_gdk(ctree, STOCK_PIXMAP_TRASH, &trashxpm, &trashxpmmask);
-       stock_pixmap_gdk(ctree, STOCK_PIXMAP_INBOX_HRM, 
-                        &inboxhrmxpm, &inboxhrmxpmmask);
-       stock_pixmap_gdk(ctree, STOCK_PIXMAP_OUTBOX_HRM, 
-                        &outboxhrmxpm, &outboxhrmxpmmask);
-       stock_pixmap_gdk(ctree, STOCK_PIXMAP_DIR_OPEN_HRM, 
-                        &folderopenhrmxpm, &folderopenhrmxpmmask);
-       stock_pixmap_gdk(ctree, STOCK_PIXMAP_TRASH_HRM, 
-                        &trashhrmxpm, &trashhrmxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_INBOX_CLOSE, &inboxxpm, &inboxxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_INBOX_CLOSE_HRM, &inboxhrmxpm, &inboxhrmxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_INBOX_OPEN, &inboxopenxpm, &inboxopenxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_INBOX_OPEN_HRM, &inboxopenhrmxpm, &inboxopenhrmxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_OUTBOX_CLOSE, &outboxxpm, &outboxxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_OUTBOX_CLOSE_HRM, &outboxhrmxpm, &outboxhrmxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_OUTBOX_OPEN, &outboxopenxpm, &outboxopenxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_OUTBOX_OPEN_HRM, &outboxopenhrmxpm, &outboxopenhrmxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_DIR_CLOSE, &folderxpm, &folderxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_DIR_CLOSE_HRM, &folderhrmxpm, &folderhrmxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_DIR_OPEN, &folderopenxpm, &folderopenxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_DIR_OPEN_HRM, &folderopenhrmxpm, &folderopenhrmxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_TRASH_OPEN, &trashopenxpm, &trashopenxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_TRASH_OPEN_HRM, &trashopenhrmxpm, &trashopenhrmxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_TRASH_CLOSE, &trashxpm, &trashxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_TRASH_CLOSE_HRM, &trashhrmxpm, &trashhrmxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_QUEUE_CLOSE, &queuexpm, &queuexpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_QUEUE_CLOSE_HRM, &queuehrmxpm, &queuehrmxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_QUEUE_OPEN, &queueopenxpm, &queueopenxpmmask);
+       stock_pixmap_gdk(ctree, STOCK_PIXMAP_QUEUE_OPEN_HRM, &queueopenhrmxpm, &queueopenhrmxpmmask);
 
        /* CLAWS: titles for "New" and "Unread" show new & unread pixmaps
         * instead text (text overflows making them unreadable and ugly) */
@@ -945,50 +971,58 @@ static void folderview_update_node(FolderView *folderview, GtkCTreeNode *node)
 
        switch (item->stype) {
        case F_INBOX:
-               xpm = inboxxpm;
-               mask = inboxxpmmask;
                if (item->hide_read_msgs) {
-                       openxpm = inboxhrmxpm;
-                       openmask = inboxhrmxpmmask;
+                       xpm = inboxhrmxpm;
+                       mask = inboxhrmxpmmask;
+                       openxpm = inboxopenhrmxpm;
+                       openmask = inboxopenhrmxpmmask;
                } else {
-                       openxpm = inboxxpm;
-                       openmask = inboxxpmmask;
+                       xpm = inboxxpm;
+                       mask = inboxxpmmask;
+                       openxpm = inboxopenxpm;
+                       openmask = inboxopenxpmmask;
                }
                name = g_strdup(_("Inbox"));
                break;
        case F_OUTBOX:
-               xpm = outboxxpm;
-               mask =outboxxpmmask;
                if (item->hide_read_msgs) {
-                       openxpm = outboxhrmxpm;
-                       openmask = outboxhrmxpmmask;
+                       xpm = outboxhrmxpm;
+                       mask = outboxhrmxpmmask;
+                       openxpm = outboxopenhrmxpm;
+                       openmask = outboxopenhrmxpmmask;
                } else {
-                       openxpm = outboxxpm;
-                       openmask = outboxxpmmask;
+                       xpm = outboxxpm;
+                       mask = outboxxpmmask;
+                       openxpm = outboxopenxpm;
+                       openmask = outboxopenxpmmask;
                }
                name = g_strdup(_("Outbox"));
                break;
        case F_QUEUE:
-               xpm = outboxxpm;
-               mask =outboxxpmmask;
                if (item->hide_read_msgs) {
-                       openxpm = outboxhrmxpm;
-                       openmask = outboxhrmxpmmask;
+                       xpm = queuehrmxpm;
+                       mask = queuehrmxpmmask;
+                       openxpm = queueopenhrmxpm;
+                       openmask = queueopenhrmxpmmask;
                } else {
-                       openxpm = outboxxpm;
-                       openmask = outboxxpmmask;
+                       xpm = queuexpm;
+                       mask = queuexpmmask;
+                       openxpm = queueopenxpm;
+                       openmask = queueopenxpmmask;
                }
                name = g_strdup(_("Queue"));
                break;
        case F_TRASH:
-               xpm = trashxpm;
-               mask = trashxpmmask;
                if (item->hide_read_msgs) {
-                       openxpm = trashhrmxpm;
-                       openmask = trashhrmxpmmask;
+                       xpm = trashhrmxpm;
+                       mask = trashhrmxpmmask;
+                       openxpm = trashopenhrmxpm;
+                       openmask = trashopenhrmxpmmask;
                } else {
-                       openxpm = trashxpm;
-                       openmask = trashxpmmask;
+                       xpm = trashxpm;
+                       mask = trashxpmmask;
+                       openxpm = trashopenxpm;
+                       openmask = trashopenxpmmask;
                }
                name = g_strdup(_("Trash"));
                break;
@@ -1005,12 +1039,14 @@ static void folderview_update_node(FolderView *folderview, GtkCTreeNode *node)
                name = g_strdup(_("Draft"));
                break;
        default:
-               xpm = folderxpm;
-               mask = folderxpmmask;
                if (item->hide_read_msgs) {
+                       xpm = folderhrmxpm;
+                       mask = folderhrmxpmmask;
                        openxpm = folderopenhrmxpm;
                        openmask = folderopenhrmxpmmask;
                } else {
+                       xpm = folderxpm;
+                       mask = folderxpmmask;
                        openxpm = folderopenxpm;
                        openmask = folderopenxpmmask;
                }
@@ -2461,3 +2497,10 @@ void folderview_set_target_folder_color(gint color_op)
                }
        }
 }
+
+void folderview_reflect_prefs_pixmap_theme(FolderView *folderview)
+{
+       folderview_init(folderview);
+       folderview_set_all();
+       folderview_select(folderview, folderview->summaryview->folder_item);
+}
index 0cfd888..56f91be 100644 (file)
@@ -83,4 +83,6 @@ void folderview_rename_folder         (FolderView     *folderview);
 void folderview_delete_folder          (FolderView     *folderview);
 
 void folderview_set_target_folder_color (gint          color_op);
+
+void folderview_reflect_prefs_pixmap_theme     (FolderView *folderview);
 #endif /* __FOLDERVIEW_H__ */
index 180953f..061f4f8 100644 (file)
@@ -32,6 +32,7 @@
 #include <gtk/gtkthemes.h>
 #include <gtk/gtkbindings.h>
 #include <stdarg.h>
+#include <sys/stat.h>
 
 #if (HAVE_WCTYPE_H && HAVE_WCHAR_H)
 #  include <wchar.h>
@@ -43,6 +44,7 @@
 #include "utils.h"
 #include "gtksctree.h"
 #include "codeconv.h"
+#include "stock_pixmap.h"
 
 gint gtkut_get_font_width(GdkFont *font)
 {
@@ -493,14 +495,13 @@ void gtkut_widget_set_app_icon(GtkWidget *widget)
 
 void gtkut_widget_set_composer_icon(GtkWidget *widget)
 {
-#include "pixmaps/stock_mail_compose.xpm"
        static GdkPixmap *xpm;
        static GdkBitmap *bmp;
 
        g_return_if_fail(widget != NULL);
        g_return_if_fail(widget->window != NULL);
        if (!xpm) {
-               PIXMAP_CREATE(widget, xpm, bmp, stock_mail_compose_xpm);
+               stock_pixmap_gdk(widget, STOCK_PIXMAP_MAIL_COMPOSE, &xpm, &bmp);
        }
        gdk_window_set_icon(widget->window, NULL, xpm, bmp);    
 }
index dd9f691..a30f78a 100644 (file)
        } \
 }
 
+#define PIXMAP_CREATE_FROM_FILE(widget, pixmap, mask, filename) \
+{ \
+       if (!pixmap) { \
+               GtkStyle *style = gtk_widget_get_style(widget); \
+               pixmap = gdk_pixmap_create_from_xpm \
+                       (widget->window, &mask, \
+                        &style->bg[GTK_STATE_NORMAL], filename); \
+       } \
+}
+
 #define GTK_WIDGET_PTR(wid)    (*(GtkWidget **)wid)
 
 #define GTKUT_CTREE_NODE_SET_ROW_DATA(node, d) \
index c6222f7..ef41ed8 100644 (file)
@@ -441,6 +441,8 @@ static void key_pressed (GtkWidget *widget,
                                GdkEventKey *event,
                                gpointer data);
 
+static void set_toolbar_style(MainWindow *mainwin);
+
 #define  SEPARATE_ACTION  667
 
 static GtkItemFactoryEntry mainwin_entries[] =
@@ -767,6 +769,7 @@ MainWindow *main_window_create(SeparateType type)
 
        gtk_widget_realize(window);
        gtk_widget_add_events(window, GDK_KEY_PRESS_MASK|GDK_KEY_RELEASE_MASK);
+       
 
        gtkut_widget_set_app_icon(window);
 
@@ -1090,6 +1093,24 @@ void main_window_reflect_prefs_all(void)
        }
 }
 
+void main_window_reflect_prefs_pixmap_theme(void)
+{
+       GList *cur;
+       MainWindow *mainwin;
+
+       for (cur = mainwin_list; cur != NULL; cur = cur->next) {
+               mainwin = (MainWindow *)cur->data;
+               gtk_container_remove(GTK_CONTAINER(mainwin->handlebox), GTK_WIDGET(mainwin->toolbar));
+               mainwin->toolbar = NULL;
+               main_window_toolbar_create(mainwin, mainwin->handlebox);
+               set_toolbar_style(mainwin);
+               main_window_set_toolbar_sensitive(mainwin);
+               folderview_reflect_prefs_pixmap_theme(mainwin->folderview);
+               summary_reflect_prefs_pixmap_theme(mainwin->summaryview);
+       }
+}
+
+
 void main_window_set_summary_column(void)
 {
        GList *cur;
@@ -2429,30 +2450,10 @@ static void toggle_toolbar_cb(MainWindow *mainwin, guint action,
        set_toolbar_replysender_button(mainwin, (ToolbarStyle)action);
        set_toolbar_forward_button(mainwin, (ToolbarStyle)action);*/
        
-       switch ((ToolbarStyle)action) {
-       case TOOLBAR_NONE:
-               gtk_widget_hide(mainwin->handlebox);
-       case TOOLBAR_ICON:
-               gtk_toolbar_set_style(GTK_TOOLBAR(mainwin->toolbar),
-                                     GTK_TOOLBAR_ICONS);
-               break;
-       case TOOLBAR_TEXT:
-               gtk_toolbar_set_style(GTK_TOOLBAR(mainwin->toolbar),
-                                     GTK_TOOLBAR_TEXT);
-               break;
-       case TOOLBAR_BOTH:
-               gtk_toolbar_set_style(GTK_TOOLBAR(mainwin->toolbar),
-                                     GTK_TOOLBAR_BOTH);
-               break;
-       }
-
-       if (action != TOOLBAR_NONE) {
-               gtk_widget_show(mainwin->handlebox);
-               gtk_widget_queue_resize(mainwin->handlebox);
-       }
-
        mainwin->toolbar_style = (ToolbarStyle)action;
        prefs_common.toolbar_style = (ToolbarStyle)action;
+       
+       set_toolbar_style(mainwin);
 }
 
 static void toggle_statusbar_cb(MainWindow *mainwin, guint action,
@@ -3000,3 +3001,29 @@ static void key_pressed (GtkWidget *widget, GdkEventKey *event,  gpointer data)
 }
 
 #undef BREAK_ON_MODIFIER_KEY
+
+static void set_toolbar_style(MainWindow *mainwin)
+{
+       switch (prefs_common.toolbar_style) {
+       case TOOLBAR_NONE:
+               gtk_widget_hide(mainwin->handlebox);
+               break;
+       case TOOLBAR_ICON:
+               gtk_toolbar_set_style(GTK_TOOLBAR(mainwin->toolbar),
+                                     GTK_TOOLBAR_ICONS);
+               break;
+       case TOOLBAR_TEXT:
+               gtk_toolbar_set_style(GTK_TOOLBAR(mainwin->toolbar),
+                                     GTK_TOOLBAR_TEXT);
+               break;
+       case TOOLBAR_BOTH:
+               gtk_toolbar_set_style(GTK_TOOLBAR(mainwin->toolbar),
+                                     GTK_TOOLBAR_BOTH);
+               break;
+       }
+       
+       if (prefs_common.toolbar_style != TOOLBAR_NONE) {
+               gtk_widget_show(mainwin->handlebox);
+               gtk_widget_queue_resize(mainwin->handlebox);
+       }
+}
\ No newline at end of file
index 704314c..2ebbe0b 100644 (file)
@@ -148,7 +148,8 @@ void main_window_cursor_normal              (MainWindow     *mainwin);
 void main_window_lock                  (MainWindow     *mainwin);
 void main_window_unlock                        (MainWindow     *mainwin);
 
-void main_window_reflect_prefs_all     (void);
+void main_window_reflect_prefs_all                     (void);
+void main_window_reflect_prefs_pixmap_theme    (void);
 void main_window_set_summary_column    (void);
 void main_window_set_account_menu      (GList          *account_list);
 void main_window_separation_change     (MainWindow     *mainwin,
diff --git a/src/pixmaps/address_book.xpm b/src/pixmaps/address_book.xpm
new file mode 100644 (file)
index 0000000..db0ea30
--- /dev/null
@@ -0,0 +1,56 @@
+/* XPM */
+static char * address_book_xpm[] = {
+"24 24 29 1",
+"      c None",
+".     c #000000",
+"+     c #4B6772",
+"@     c #70929F",
+"#     c #668B99",
+"$     c #5E808D",
+"%     c #B6B6B5",
+"&     c #52707B",
+"*     c #23393F",
+"=     c #A6A7A4",
+"-     c #888D82",
+";     c #577782",
+">     c #5B7D8A",
+",     c #9E6769",
+"'     c #3C4035",
+")     c #54594B",
+"!     c #4E6A75",
+"~     c #91948E",
+"{     c #AE8182",
+"]     c #E1D5D2",
+"^     c #F1F0EC",
+"/     c #AAAAA7",
+"(     c #636361",
+"_     c #C2C2C0",
+":     c #14090A",
+"<     c #85A3AE",
+"[     c #CCCDC4",
+"}     c #7697A3",
+"|     c #999D91",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"         ..........     ",
+"        .+@#$$$$$$.     ",
+"        .@#$$$$$$.%     ",
+"       .&@$$*$$$$.%     ",
+"       .@#$**$$$.%%     ",
+"      .@#$*$*$$$.%=.    ",
+"     .&@$****$$.%%-.    ",
+"     .@#*$$$*$$.%=.     ",
+"    .;@$$$$$*$.%%-.     ",
+"    .>#$$$$$$$.%=.      ",
+"   .,...')!$$.%%~.      ",
+"   .{]^^^/(...%=.       ",
+"   .,]^^^^^^^_%~.       ",
+"    :..<[^^^^_=.        ",
+"       ...}[^|-.        ",
+"          ...$.         ",
+"             ..         ",
+"                        ",
+"                        ",
+"                        "};
diff --git a/src/pixmaps/close.xpm b/src/pixmaps/close.xpm
new file mode 100644 (file)
index 0000000..daa90b5
--- /dev/null
@@ -0,0 +1,29 @@
+/* XPM */
+static char * close_xpm[] = {
+"24 24 2 1",
+"      c None",
+".     c #000000",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"       .    ..          ",
+"       ..  ....         ",
+"        .. ...          ",
+"        .....           ",
+"         ...            ",
+"         ....           ",
+"        ......          ",
+"        .. ....         ",
+"       ..   ....        ",
+"       .     ..         ",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"                        "};
diff --git a/src/pixmaps/dir_close.xpm b/src/pixmaps/dir_close.xpm
new file mode 100644 (file)
index 0000000..6edf902
--- /dev/null
@@ -0,0 +1,47 @@
+/* XPM */
+static char * dir_close_xpm[] = {
+"16 16 28 1",
+"      c None",
+".     c #000000",
+"+     c #A1ACDA",
+"@     c #7C83C1",
+"#     c #808CC7",
+"$     c #656AAB",
+"%     c #E5E9FD",
+"&     c #D4D7F6",
+"*     c #E9EBFD",
+"=     c #B1B6ED",
+"-     c #C6C9F8",
+";     c #CBD3F3",
+">     c #ACB4E5",
+",     c #C0C9E7",
+"'     c #A4ABDC",
+")     c #9BA5D9",
+"!     c #878DCE",
+"~     c #656AAD",
+"{     c #DDE1FA",
+"]     c #5C5D99",
+"^     c #545588",
+"/     c #8C97D0",
+"(     c #747CBF",
+"_     c #9AA1D7",
+":     c #7377BC",
+"<     c #4C4E77",
+"[     c #C6CFEE",
+"}     c #3C3E65",
+"                ",
+"                ",
+"    ....        ",
+"   .+@+@.       ",
+"  .#$#$#$...... ",
+"  .%&*&*&%*=-;>.",
+"  .;+,+,+,')!+~.",
+"  .{,+,+,))!+!].",
+"  .;+,+,)+!+!!^.",
+"  .{,+,)+!+!/(^.",
+"  .;+,_+!+!!(:<.",
+"  .{,_+!+!!::~<.",
+"  .[]~]:]~]^<<}.",
+"   ............ ",
+"                ",
+"                "};
diff --git a/src/pixmaps/dir_open.xpm b/src/pixmaps/dir_open.xpm
new file mode 100644 (file)
index 0000000..0bc602e
--- /dev/null
@@ -0,0 +1,52 @@
+/* XPM */
+static char * dir_open_xpm[] = {
+"16 16 33 1",
+"      c None",
+".     c #000000",
+"+     c #A7B2DF",
+"@     c #7F86C7",
+"#     c #8390CD",
+"$     c #666BB1",
+"%     c #9297DE",
+"&     c #7177BF",
+"*     c #8992CF",
+"=     c #6E75BC",
+"-     c #6267AD",
+";     c #515381",
+">     c #424469",
+",     c #222334",
+"'     c #666BB3",
+")     c #D6DCF8",
+"!     c #DDE2FA",
+"~     c #C7D0EF",
+"{     c #393A5B",
+"]     c #484972",
+"^     c #E2E6FC",
+"/     c #BEC8E7",
+"(     c #929CCB",
+"_     c #BAC5E1",
+":     c #3E4066",
+"<     c #D0D4FA",
+"[     c #5F6693",
+"}     c #8892CE",
+"|     c #37385B",
+"1     c #D2D9F6",
+"2     c #515478",
+"3     c #A5ADE7",
+"4     c #6E78B1",
+"                ",
+"                ",
+"    ....        ",
+"   .+@+@.       ",
+"  .#$#$#$...... ",
+"  .%&*&*&*=-&-;.",
+" ...........>,'.",
+".)!~!~!~!~!~.{].",
+".^/(_(_(_(_(.{:.",
+" .<_(_(_(_(_[.:.",
+" .!}_(_(_(_(_.|.",
+"  .1(_(_(_(_(2..",
+"  .3(4(4(4(4(4..",
+"   ............ ",
+"                ",
+"                "};
diff --git a/src/pixmaps/dir_open_hrm.xpm b/src/pixmaps/dir_open_hrm.xpm
new file mode 100644 (file)
index 0000000..4dd19c3
--- /dev/null
@@ -0,0 +1,52 @@
+/* XPM */
+static char * dir_open_hrm_xpm[] = {
+"16 16 33 1",
+"      c None",
+".     c #000000",
+"+     c #DE4D7D",
+"@     c #CB326F",
+"#     c #CE3B76",
+"$     c #A93262",
+"%     c #D64385",
+"&     c #BB326C",
+"*     c #D13A76",
+"=     c #B7326A",
+"-     c #A63160",
+";     c #8B283D",
+">     c #752637",
+",     c #5A151D",
+"'     c #AB3265",
+")     c #EF7A95",
+"!     c #F1809B",
+"~     c #EB6C8D",
+"{     c #6C212F",
+"]     c #7A293C",
+"^     c #F1869D",
+"/     c #E76486",
+"(     c #D43B6A",
+"_     c #E65F7C",
+":     c #712434",
+"<     c #EE719A",
+"[     c #972E4C",
+"}     c #D13872",
+"|     c #6C1F30",
+"1     c #EE7595",
+"2     c #852C3F",
+"3     c #DF5089",
+"4     c #AF2A4F",
+"                ",
+"                ",
+"    ....        ",
+"   .+@+@.       ",
+"  .#$#$#$...... ",
+"  .%&*&*&*=-&-;.",
+" ...........>,'.",
+".)!~!~!~!~!~.{].",
+".^/(_(_(_(_(.{:.",
+" .<_(_(_(_(_[.:.",
+" .!}_(_(_(_(_.|.",
+"  .1(_(_(_(_(2..",
+"  .3(4(4(4(4(4..",
+"   ............ ",
+"                ",
+"                "};
diff --git a/src/pixmaps/down_arrow.xpm b/src/pixmaps/down_arrow.xpm
new file mode 100644 (file)
index 0000000..f44ef8f
--- /dev/null
@@ -0,0 +1,100 @@
+/* XPM */
+static char * down_arrow_xpm[] = {
+"24 24 73 1",
+"      c None",
+".     c #000000",
+"+     c #607C53",
+"@     c #688559",
+"#     c #729063",
+"$     c #739364",
+"%     c #739264",
+"&     c #BEC2BB",
+"*     c #BEC2BA",
+"=     c #BFC3BB",
+"-     c #BDC1B8",
+";     c #BBBFB7",
+">     c #B9BEB5",
+",     c #718E62",
+"'     c #89A67C",
+")     c #8BAB7E",
+"!     c #90AE83",
+"~     c #8FAE81",
+"{     c #E7E7E7",
+"]     c #EAE9E9",
+"^     c #ECEBEB",
+"/     c #E5E4E3",
+"(     c #D9D9D7",
+"_     c #69875B",
+":     c #8AA67F",
+"<     c #8DAD7F",
+"[     c #8AAC7A",
+"}     c #8AAD7A",
+"|     c #F4F0F4",
+"1     c #F5F1F5",
+"2     c #F2EFF2",
+"3     c #EFECEF",
+"4     c #E2E1E1",
+"5     c #7A956D",
+"6     c #8EAA81",
+"7     c #8BAD7B",
+"8     c #8BAE7B",
+"9     c #F6F2F6",
+"0     c #F1EDF0",
+"a     c #ECEAEB",
+"b     c #859F76",
+"c     c #90AE81",
+"d     c #91B182",
+"e     c #F3EFF2",
+"f     c #EFECEE",
+"g     c #E4E3E3",
+"h     c #759267",
+"i     c #92AE85",
+"j     c #95B487",
+"k     c #F3EFF3",
+"l     c #F0EEF0",
+"m     c #EBEAEA",
+"n     c #010101",
+"o     c #678458",
+"p     c #91AA85",
+"q     c #99B48C",
+"r     c #F0ECF0",
+"s     c #EEECEE",
+"t     c #E3E2E2",
+"u     c #8CA480",
+"v     c #9DB591",
+"w     c #EAE9EA",
+"x     c #E9E8E8",
+"y     c #030303",
+"z     c #6A875B",
+"A     c #97B08D",
+"B     c #E2E0E0",
+"C     c #92AB87",
+"D     c #DCDDDA",
+"E     c #060606",
+"F     c #94A989",
+"G     c #D6D9D5",
+"H     c #1D1D1D",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"     ..............     ",
+"     .+@#$%%&*=-;>.     ",
+"      .,')!~{]^/(.      ",
+"      ._:<[}|1234.      ",
+"       .56789|0a.       ",
+"       .@bcd9efg.       ",
+"        .hijklmn        ",
+"        .opqrst.        ",
+"         .uvwxy         ",
+"         .zAtB.         ",
+"          .CD.          ",
+"          EFGH          ",
+"           ..           ",
+"           ..           ",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"                        "};
diff --git a/src/pixmaps/exec.xpm b/src/pixmaps/exec.xpm
new file mode 100644 (file)
index 0000000..9961fee
--- /dev/null
@@ -0,0 +1,107 @@
+/* XPM */
+static char * exec_xpm[] = {
+"24 24 80 1",
+"      c None",
+".     c #000000",
+"+     c #B2A97E",
+"@     c #B6AD81",
+"#     c #7A7356",
+"$     c #B0A77C",
+"%     c #B5AC80",
+"&     c #BAB184",
+"*     c #BBB284",
+"=     c #B6AD80",
+"-     c #ADA57B",
+";     c #B7AE81",
+">     c #BDB486",
+",     c #837C5C",
+"'     c #B4AC80",
+")     c #7C7557",
+"!     c #C0B687",
+"~     c #BEB586",
+"{     c #B1A87D",
+"]     c #B9B082",
+"^     c #C0B788",
+"/     c #AFA67B",
+"(     c #AFA77C",
+"_     c #BAB183",
+":     c #BBB285",
+"<     c #BCB385",
+"[     c #C4BB8B",
+"}     c #C6BC8C",
+"|     c #C7BD8D",
+"1     c #C7BE8D",
+"2     c #C8BF8E",
+"3     c #C8BE8D",
+"4     c #C5BC8B",
+"5     c #C1B788",
+"6     c #B9B083",
+"7     c #CDC391",
+"8     c #D0C693",
+"9     c #D1C794",
+"0     c #D3C995",
+"a     c #CDC491",
+"b     c #C2B889",
+"c     c #CAC18F",
+"d     c #D5CB97",
+"e     c #D6CC97",
+"f     c #D6CC98",
+"g     c #D7CD98",
+"h     c #CEC491",
+"i     c #C2B98A",
+"j     c #CBC18F",
+"k     c #C1B889",
+"l     c #8A8261",
+"m     c #D4CA96",
+"n     c #C0B787",
+"o     c #80785A",
+"p     c #B9B183",
+"q     c #827C5B",
+"r     c #CFC592",
+"s     c #C7BD8C",
+"t     c #C3BA8A",
+"u     c #CAC08F",
+"v     c #D0C793",
+"w     c #7C7657",
+"x     c #D2C894",
+"y     c #D2C995",
+"z     c #CCC290",
+"A     c #C4BA8A",
+"B     c #D1C793",
+"C     c #CEC592",
+"D     c #C5BC8C",
+"E     c #CFC693",
+"F     c #C1B888",
+"G     c #BEB486",
+"H     c #C8BF8D",
+"I     c #C9C08F",
+"J     c #C9BF8E",
+"K     c #C5BB8B",
+"L     c #B2A97D",
+"M     c #C2B989",
+"N     c #BFB687",
+"O     c #B3AA7E",
+"                        ",
+"                        ",
+"                        ",
+"      ....              ",
+"     .+.@#.             ",
+"    .$%&*=-.            ",
+"    ..;>,$..            ",
+"    .-')!~@.  ...       ",
+"    ..{]~^.. ./({. .    ",
+"     .#._#._..&:<..@.   ",
+"      . ..>[}|1232456.  ",
+"          .2789009a2.   ",
+"         .bc9defge0h..  ",
+"        .]ij9ekl1gm83n. ",
+"        .*ic9dopqgmrs~. ",
+"        .<tu8mvwuxyzA*. ",
+"         ..3ax0rBxC3..  ",
+"          .DuhE8rz3F.   ",
+"         .Gt}HIJ1K^*L.  ",
+"          .~..MbN..O.   ",
+"           . .*_;. .    ",
+"              ...       ",
+"                        ",
+"                        "};
diff --git a/src/pixmaps/inbox_hrm.xpm b/src/pixmaps/inbox_hrm.xpm
new file mode 100644 (file)
index 0000000..4cc3fca
--- /dev/null
@@ -0,0 +1,25 @@
+/* XPM */
+static char * inbox_hrm_xpm[] = {
+"16 16 6 1",
+"      c None",
+".     c #9B0007",
+"+     c #050000",
+"@     c #FD5484",
+"#     c #FEC9D8",
+"$     c #B41133",
+"  .             ",
+" ...    +       ",
+"  ... ++@+      ",
+"   ...@.@#+     ",
+"  ++....$##+    ",
+"++@@@...@$##+   ",
+"+#+@....##$##+  ",
+"+##+@@#####$##+ ",
+"+###+@@#####$#@+",
+" +###+@@@####$#+",
+"  +###+@@####@$+",
+"   +###+@@#@@@@+",
+"    +##@$@@@@++ ",
+"     +##+@@++   ",
+"      +#+++     ",
+"       ++       "};
diff --git a/src/pixmaps/mail.xpm b/src/pixmaps/mail.xpm
new file mode 100644 (file)
index 0000000..a240ee4
--- /dev/null
@@ -0,0 +1,143 @@
+/* XPM */
+static char * mail_xpm[] = {
+"24 24 116 2",
+"      c None",
+".     c #000000",
+"+     c #7B7B78",
+"@     c #C7C7C3",
+"#     c #F1F0EB",
+"$     c #BFBFBC",
+"%     c #5F5E5E",
+"&     c #E3E3DF",
+"*     c #F3F3EF",
+"=     c #F2F2EE",
+"-     c #F1F1EC",
+";     c #F0EFEB",
+">     c #D2D2CD",
+",     c #969592",
+"'     c #616060",
+")     c #B5B5B4",
+"!     c #F8F8F6",
+"~     c #F7F7F5",
+"{     c #F6F6F3",
+"]     c #F5F5F2",
+"^     c #F4F4F0",
+"/     c #F2F1ED",
+"(     c #F1F0EC",
+"_     c #F0EFEA",
+":     c #EFEEE9",
+"<     c #4F4F4D",
+"[     c #BDBCB8",
+"}     c #A7A6A3",
+"|     c #C6C6C4",
+"1     c #7C7C7B",
+"2     c #525251",
+"3     c #DBDBD9",
+"4     c #F5F4F1",
+"5     c #F4F3F0",
+"6     c #F3F2EE",
+"7     c #999894",
+"8     c #62625F",
+"9     c #BCBCB6",
+"0     c #EBE9E3",
+"a     c #838381",
+"b     c #D7D6D4",
+"c     c #A8A8A6",
+"d     c #515150",
+"e     c #7E7D7C",
+"f     c #DAD9D5",
+"g     c #EFEEE8",
+"h     c #EEEDE7",
+"i     c #4F4E4C",
+"j     c #BCBBB6",
+"k     c #EBE9E2",
+"l     c #EAE8E1",
+"m     c #F6F5F2",
+"n     c #F4F3EF",
+"o     c #B5B4B1",
+"p     c #9B9A97",
+"q     c #646361",
+"r     c #92918E",
+"s     c #EEEDE8",
+"t     c #EDECE6",
+"u     c #4E4E4C",
+"v     c #797976",
+"w     c #797874",
+"x     c #E9E8E1",
+"y     c #E8E7DF",
+"z     c #B4B3AF",
+"A     c #D0D0CD",
+"B     c #F2F2ED",
+"C     c #BFBEBA",
+"D     c #BEBDB9",
+"E     c #7A7A77",
+"F     c #979691",
+"G     c #EAE9E2",
+"H     c #959590",
+"I     c #787773",
+"J     c #B8B7B0",
+"K     c #E6E4DC",
+"L     c #A9A9A6",
+"M     c #626260",
+"N     c #ECEBE4",
+"O     c #EBEAE3",
+"P     c #E9E7E0",
+"Q     c #E8E6DF",
+"R     c #E7E5DD",
+"S     c #777671",
+"T     c #93918C",
+"U     c #BEBDB8",
+"V     c #989793",
+"W     c #ECEAE4",
+"X     c #E8E6DE",
+"Y     c #E6E4DB",
+"Z     c #E4E3DA",
+"`     c #75746F",
+" .    c #91908A",
+"..    c #EEECE7",
+"+.    c #62615F",
+"@.    c #EBEAE4",
+"#.    c #E7E6DE",
+"$.    c #E6E5DC",
+"%.    c #E5E4DB",
+"&.    c #E4E2DA",
+"*.    c #CCCBC4",
+"=.    c #A3A29D",
+"-.    c #B6B5B2",
+";.    c #BCBCB7",
+">.    c #CDCCC6",
+",.    c #959490",
+"'.    c #ECEBE5",
+").    c #61615E",
+"!.    c #E9E8E0",
+"~.    c #CECDC7",
+"{.    c #797875",
+"].    c #969590",
+"^.    c #CFCEC8",
+"/.    c #AEADA8",
+"(.    c #585754",
+"_.    c #7B7A76",
+"                                                ",
+"                                                ",
+"                                                ",
+"                                                ",
+"                                                ",
+"                            . . . .             ",
+"                  . . . . . + @ # $ .           ",
+"        . . . . . % $ & * = - ; > , .           ",
+"      . ' ) ! ~ { ] ^ * / ( _ : < [ } .         ",
+"      . | 1 2 3 4 5 6 / # _ : 7 8 9 0 .         ",
+"      . a b c d e f / # _ g h i j k l .         ",
+"        . m 4 n o p q r s t u v w x y z .       ",
+"        . A * B ( ; C D E u F G H I J K .       ",
+"        . L / ( _ : M t N O l P Q R S T .       ",
+"          . # _ g U V W 0 l P X R Y Z `  ..     ",
+"          . ; g ..+.@.G x y #.$.%.&.*.=.. .     ",
+"          . -.t ;.F G x y #.K >.,.. . .         ",
+"            . '.).G !.Q ~.H . . .               ",
+"            . {.].^./.. . .                     ",
+"            . (._.. .                           ",
+"              . .                               ",
+"                                                ",
+"                                                ",
+"                                                "};
diff --git a/src/pixmaps/mail_attach.xpm b/src/pixmaps/mail_attach.xpm
new file mode 100644 (file)
index 0000000..ead7df4
--- /dev/null
@@ -0,0 +1,134 @@
+/* XPM */
+static char * mail_attach_xpm[] = {
+"24 24 107 2",
+"      c None",
+".     c #000000",
+"+     c #7B7B78",
+"@     c #C7C7C3",
+"#     c #F1F0EB",
+"$     c #BFBFBC",
+"%     c #5F5E5E",
+"&     c #E3E3DF",
+"*     c #F3F3EF",
+"=     c #F2F2EE",
+"-     c #F1F1EC",
+";     c #F0EFEB",
+">     c #D2D2CD",
+",     c #969592",
+"'     c #616060",
+")     c #B5B5B4",
+"!     c #F8F8F6",
+"~     c #F6F6F3",
+"{     c #F5F5F2",
+"]     c #F2F1ED",
+"^     c #F1F0EC",
+"/     c #F0EFEA",
+"(     c #EFEEE9",
+"_     c #4F4F4D",
+":     c #BDBCB8",
+"<     c #A7A6A3",
+"[     c #C6C6C4",
+"}     c #7C7C7B",
+"|     c #525251",
+"1     c #F5F4F1",
+"2     c #F4F3F0",
+"3     c #999894",
+"4     c #62625F",
+"5     c #BCBCB6",
+"6     c #EBE9E3",
+"7     c #838381",
+"8     c #D7D6D4",
+"9     c #A8A8A6",
+"0     c #7E7D7C",
+"a     c #DAD9D5",
+"b     c #EFEEE8",
+"c     c #EEEDE7",
+"d     c #4F4E4C",
+"e     c #BCBBB6",
+"f     c #EBE9E2",
+"g     c #EAE8E1",
+"h     c #F6F5F2",
+"i     c #B5B4B1",
+"j     c #9B9A97",
+"k     c #92918E",
+"l     c #EEEDE8",
+"m     c #EDECE6",
+"n     c #4E4E4C",
+"o     c #797976",
+"p     c #797874",
+"q     c #E9E8E1",
+"r     c #E8E7DF",
+"s     c #B4B3AF",
+"t     c #D0D0CD",
+"u     c #BEBDB9",
+"v     c #7A7A77",
+"w     c #979691",
+"x     c #EAE9E2",
+"y     c #959590",
+"z     c #787773",
+"A     c #B8B7B0",
+"B     c #E6E4DC",
+"C     c #A9A9A6",
+"D     c #626260",
+"E     c #ECEBE4",
+"F     c #EBEAE3",
+"G     c #E9E7E0",
+"H     c #E8E6DF",
+"I     c #E7E5DD",
+"J     c #777671",
+"K     c #93918C",
+"L     c #BEBDB8",
+"M     c #989793",
+"N     c #ECEAE4",
+"O     c #E8E6DE",
+"P     c #E6E4DB",
+"Q     c #E4E3DA",
+"R     c #75746F",
+"S     c #91908A",
+"T     c #EEECE7",
+"U     c #62615F",
+"V     c #EBEAE4",
+"W     c #E7E6DE",
+"X     c #E6E5DC",
+"Y     c #E5E4DB",
+"Z     c #E4E2DA",
+"`     c #CCCBC4",
+" .    c #A3A29D",
+"..    c #B6B5B2",
+"+.    c #BCBCB7",
+"@.    c #CDCCC6",
+"#.    c #959490",
+"$.    c #ECEBE5",
+"%.    c #61615E",
+"&.    c #E9E8E0",
+"*.    c #CECDC7",
+"=.    c #797875",
+"-.    c #969590",
+";.    c #CFCEC8",
+">.    c #AEADA8",
+",.    c #585754",
+"'.    c #7B7A76",
+"                                                ",
+"            . . . .                             ",
+"          .         .   .                       ",
+"          .   .     .   .                       ",
+"          .   .     .   .                       ",
+"          .   .     .   .   . . . .             ",
+"          .   .   . . . . . + @ # $ .           ",
+"        . . . . . % . & * = - ; > , .           ",
+"      . ' ) ! . ~ { . * ] ^ / ( _ : < .         ",
+"      . [ } | . 1 2 . ] # / ( 3 4 5 6 .         ",
+"      . 7 8 9 . 0 a . # / b c d e f g .         ",
+"        . h 1 . i j . k l m n o p q r s .       ",
+"        . t * . ^ ; . u v n w x y z A B .       ",
+"        . C ] ^ . . D m E F g G H I J K .       ",
+"          . # / b L M N 6 g G O I P Q R S .     ",
+"          . ; b T U V x q r W X Y Z `  .. .     ",
+"          . ..m +.w x q r W B @.#.. . .         ",
+"            . $.%.x &.H *.y . . .               ",
+"            . =.-.;.>.. . .                     ",
+"            . ,.'.. .                           ",
+"              . .                               ",
+"                                                ",
+"                                                ",
+"                                                "};
diff --git a/src/pixmaps/mail_compose.xpm b/src/pixmaps/mail_compose.xpm
new file mode 100644 (file)
index 0000000..7dc83cc
--- /dev/null
@@ -0,0 +1,144 @@
+/* XPM */
+static char * mail_compose_xpm[] = {
+"24 24 117 2",
+"      c None",
+".     c #000000",
+"+     c #7B7B78",
+"@     c #C7C7C3",
+"#     c #F1F0EB",
+"$     c #BFBFBC",
+"%     c #5F5E5E",
+"&     c #E3E3DF",
+"*     c #F3F3EF",
+"=     c #F2F2EE",
+"-     c #F1F1EC",
+";     c #F0EFEB",
+">     c #D2D2CD",
+",     c #969592",
+"'     c #616060",
+")     c #B5B5B4",
+"!     c #F8F8F6",
+"~     c #F7F7F5",
+"{     c #F6F6F3",
+"]     c #F5F5F2",
+"^     c #F4F4F0",
+"/     c #F2F1ED",
+"(     c #F1F0EC",
+"_     c #F0EFEA",
+":     c #EFEEE9",
+"<     c #4F4F4D",
+"[     c #BDBCB8",
+"}     c #A7A6A3",
+"|     c #C6C6C4",
+"1     c #7C7C7B",
+"2     c #525251",
+"3     c #DBDBD9",
+"4     c #F5F4F1",
+"5     c #F4F3F0",
+"6     c #F3F2EE",
+"7     c #999894",
+"8     c #62625F",
+"9     c #BCBCB6",
+"0     c #EBE9E3",
+"a     c #838381",
+"b     c #D7D6D4",
+"c     c #A8A8A6",
+"d     c #515150",
+"e     c #7E7D7C",
+"f     c #DAD9D5",
+"g     c #EFEEE8",
+"h     c #EEEDE7",
+"i     c #4F4E4C",
+"j     c #BCBBB6",
+"k     c #EBE9E2",
+"l     c #EAE8E1",
+"m     c #F6F5F2",
+"n     c #F4F3EF",
+"o     c #B5B4B1",
+"p     c #9B9A97",
+"q     c #646361",
+"r     c #92918E",
+"s     c #EEEDE8",
+"t     c #EDECE6",
+"u     c #4E4E4C",
+"v     c #797976",
+"w     c #797874",
+"x     c #E9E8E1",
+"y     c #E8E7DF",
+"z     c #B4B3AF",
+"A     c #D0D0CD",
+"B     c #F2F2ED",
+"C     c #BFBEBA",
+"D     c #BEBDB9",
+"E     c #7A7A77",
+"F     c #979691",
+"G     c #EAE9E2",
+"H     c #959590",
+"I     c #787773",
+"J     c #B8B7B0",
+"K     c #E6E4DC",
+"L     c #D8BE6A",
+"M     c #A9A9A6",
+"N     c #626260",
+"O     c #ECEBE4",
+"P     c #EBEAE3",
+"Q     c #E9E7E0",
+"R     c #E8E6DF",
+"S     c #E7E5DD",
+"T     c #777671",
+"U     c #93918C",
+"V     c #8E7D45",
+"W     c #BEBDB8",
+"X     c #989793",
+"Y     c #ECEAE4",
+"Z     c #E8E6DE",
+"`     c #E6E4DB",
+" .    c #E4E3DA",
+"..    c #EEECE7",
+"+.    c #62615F",
+"@.    c #EBEAE4",
+"#.    c #E7E6DE",
+"$.    c #E6E5DC",
+"%.    c #E5E4DB",
+"&.    c #E4E2DA",
+"*.    c #B6B5B2",
+"=.    c #BCBCB7",
+"-.    c #CDCCC6",
+";.    c #959490",
+">.    c #ECEBE5",
+",.    c #61615E",
+"'.    c #E9E8E0",
+").    c #CECDC7",
+"!.    c #797875",
+"~.    c #969590",
+"{.    c #CFCEC8",
+"].    c #AEADA8",
+"^.    c #585754",
+"/.    c #7B7A76",
+"(.    c #AD8E30",
+"_.    c #756020",
+":.    c #060605",
+"                                                ",
+"                                                ",
+"                          . . . .               ",
+"                . . . . . + @ # $ .             ",
+"      . . . . . % $ & * = - ; > , .             ",
+"    . ' ) ! ~ { ] ^ * / ( _ : < [ } .           ",
+"    . | 1 2 3 4 5 6 / # _ : 7 8 9 0 .           ",
+"    . a b c d e f / # _ g h i j k l .           ",
+"      . m 4 n o p q r s t u v w x y z .   .     ",
+"      . A * B ( ; C D E u F G H I J K . . L .   ",
+"      . M / ( _ : N t O P l Q R S T U . L V .   ",
+"        . # _ g W X Y 0 l Q Z S `  .. L V .     ",
+"        . ; g ..+.@.G x y #.$.%.&.. L V .       ",
+"        . *.t =.F G x y #.K -.;.. L V .         ",
+"          . >.,.G '.R ).H . . . L V .           ",
+"          . !.~.{.].. . .   . L V .             ",
+"          . ^./.. .       . L V .               ",
+"            . .         . L V .                 ",
+"                      (._.. .                   ",
+"                      :..                       ",
+"                                                ",
+"                                                ",
+"                                                ",
+"                                                "};
diff --git a/src/pixmaps/mail_forward.xpm b/src/pixmaps/mail_forward.xpm
new file mode 100644 (file)
index 0000000..d603fcb
--- /dev/null
@@ -0,0 +1,153 @@
+/* XPM */
+static char * mail_forward_xpm[] = {
+"24 24 126 2",
+"      c None",
+".     c #000000",
+"+     c #7B7B78",
+"@     c #C7C7C3",
+"#     c #F1F0EB",
+"$     c #BFBFBC",
+"%     c #5F5E5E",
+"&     c #E3E3DF",
+"*     c #F3F3EF",
+"=     c #F2F2EE",
+"-     c #F1F1EC",
+";     c #F0EFEB",
+">     c #D2D2CD",
+",     c #969592",
+"'     c #616060",
+")     c #B5B5B4",
+"!     c #F8F8F6",
+"~     c #F7F7F5",
+"{     c #F6F6F3",
+"]     c #F5F5F2",
+"^     c #F4F4F0",
+"/     c #F2F1ED",
+"(     c #F1F0EC",
+"_     c #F0EFEA",
+":     c #EFEEE9",
+"<     c #4F4F4D",
+"[     c #BDBCB8",
+"}     c #A7A6A3",
+"|     c #C6C6C4",
+"1     c #7C7C7B",
+"2     c #525251",
+"3     c #DBDBD9",
+"4     c #F5F4F1",
+"5     c #F4F3F0",
+"6     c #F3F2EE",
+"7     c #999894",
+"8     c #62625F",
+"9     c #BCBCB6",
+"0     c #EBE9E3",
+"a     c #838381",
+"b     c #D7D6D4",
+"c     c #A8A8A6",
+"d     c #515150",
+"e     c #7E7D7C",
+"f     c #DAD9D5",
+"g     c #EFEEE8",
+"h     c #EEEDE7",
+"i     c #4F4E4C",
+"j     c #BCBBB6",
+"k     c #EBE9E2",
+"l     c #EAE8E1",
+"m     c #F6F5F2",
+"n     c #F4F3EF",
+"o     c #B5B4B1",
+"p     c #9B9A97",
+"q     c #646361",
+"r     c #92918E",
+"s     c #EEEDE8",
+"t     c #EDECE6",
+"u     c #4E4E4C",
+"v     c #797976",
+"w     c #797874",
+"x     c #E9E8E1",
+"y     c #E8E7DF",
+"z     c #B4B3AF",
+"A     c #D0D0CD",
+"B     c #F2F2ED",
+"C     c #BFBEBA",
+"D     c #BEBDB9",
+"E     c #7A7A77",
+"F     c #979691",
+"G     c #EAE9E2",
+"H     c #959590",
+"I     c #787773",
+"J     c #B8B7B0",
+"K     c #E6E4DC",
+"L     c #A9A9A6",
+"M     c #626260",
+"N     c #ECEBE4",
+"O     c #EBEAE3",
+"P     c #E9E7E0",
+"Q     c #E8E6DF",
+"R     c #E7E5DD",
+"S     c #777671",
+"T     c #93918C",
+"U     c #BEBDB8",
+"V     c #989793",
+"W     c #ECEAE4",
+"X     c #E8E6DE",
+"Y     c #E6E4DB",
+"Z     c #E4E3DA",
+"`     c #75746F",
+" .    c #91908A",
+"..    c #EEECE7",
+"+.    c #62615F",
+"@.    c #EBEAE4",
+"#.    c #E7E6DE",
+"$.    c #E6E5DC",
+"%.    c #E5E4DB",
+"&.    c #E4E2DA",
+"*.    c #CCCBC4",
+"=.    c #A3A29D",
+"-.    c #B6B5B2",
+";.    c #BCBCB7",
+">.    c #CDCCC6",
+",.    c #959490",
+"'.    c #ECEBE5",
+").    c #61615E",
+"!.    c #E9E8E0",
+"~.    c #CECDC7",
+"{.    c #797875",
+"].    c #969590",
+"^.    c #CFCEC8",
+"/.    c #AEADA8",
+"(.    c #585754",
+"_.    c #7B7A76",
+":.    c #B39C82",
+"<.    c #BCA488",
+"[.    c #746554",
+"}.    c #7D6D5B",
+"|.    c #867561",
+"1.    c #8F7D68",
+"2.    c #98856E",
+"3.    c #A18D75",
+"4.    c #AA947B",
+"5.    c #C5AC8F",
+"                                                ",
+"                                                ",
+"                          . . . .               ",
+"                . . . . . + @ # $ .             ",
+"      . . . . . % $ & * = - ; > , .             ",
+"    . ' ) ! ~ { ] ^ * / ( _ : < [ } .           ",
+"    . | 1 2 3 4 5 6 / # _ : 7 8 9 0 .           ",
+"    . a b c d e f / # _ g h i j k l .           ",
+"      . m 4 n o p q r s t u v w x y z .         ",
+"      . A * B ( ; C D E u F G H I J K .         ",
+"      . L / ( _ : M t N O l P Q R S T .         ",
+"        . # _ g U V W 0 l P X R Y Z `  ..       ",
+"        . ; g ..+.@.G x y #.$.%.&.*.=.. .       ",
+"        . -.t ;.F G x y #.K >.,.. . .           ",
+"          . '.).G !.Q ~.H . . .                 ",
+"          . {.].^./.. . .                       ",
+"          . (._.. .               . .           ",
+"            . .                   . :..         ",
+"                    . . . . . . . . :.<..       ",
+"                    . [.}.|.1.2.3.4.:.<.5..     ",
+"                    . [.}.|.1.2.3.4.:.<.5..     ",
+"                    . . . . . . . . :.<..       ",
+"                                  . :..         ",
+"                                  . .           "};
diff --git a/src/pixmaps/mail_receive.xpm b/src/pixmaps/mail_receive.xpm
new file mode 100644 (file)
index 0000000..5acf977
--- /dev/null
@@ -0,0 +1,175 @@
+/* XPM */
+static char * mail_receive_xpm[] = {
+"24 24 148 2",
+"      c None",
+".     c #000000",
+"+     c #7B7B78",
+"@     c #C7C7C3",
+"#     c #F1F0EB",
+"$     c #BFBFBC",
+"%     c #5F5E5E",
+"&     c #E3E3DF",
+"*     c #F3F3EF",
+"=     c #F2F2EE",
+"-     c #F1F1EC",
+";     c #F0EFEB",
+">     c #D2D2CD",
+",     c #969592",
+"'     c #616060",
+")     c #B5B5B4",
+"!     c #F8F8F6",
+"~     c #F7F7F5",
+"{     c #F6F6F3",
+"]     c #F5F5F2",
+"^     c #F4F4F0",
+"/     c #F2F1ED",
+"(     c #F1F0EC",
+"_     c #F0EFEA",
+":     c #EFEEE9",
+"<     c #4F4F4D",
+"[     c #BDBCB8",
+"}     c #A7A6A3",
+"|     c #C6C6C4",
+"1     c #7C7C7B",
+"2     c #525251",
+"3     c #DBDBD9",
+"4     c #F5F4F1",
+"5     c #F4F3F0",
+"6     c #F3F2EE",
+"7     c #999894",
+"8     c #62625F",
+"9     c #BCBCB6",
+"0     c #EBE9E3",
+"a     c #838381",
+"b     c #D7D6D4",
+"c     c #A8A8A6",
+"d     c #515150",
+"e     c #7E7D7C",
+"f     c #DAD9D5",
+"g     c #EFEEE8",
+"h     c #EEEDE7",
+"i     c #4F4E4C",
+"j     c #BCBBB6",
+"k     c #EBE9E2",
+"l     c #EAE8E1",
+"m     c #F6F5F2",
+"n     c #F4F3EF",
+"o     c #B5B4B1",
+"p     c #9B9A97",
+"q     c #646361",
+"r     c #92918E",
+"s     c #EEEDE8",
+"t     c #EDECE6",
+"u     c #4E4E4C",
+"v     c #797976",
+"w     c #797874",
+"x     c #E9E8E1",
+"y     c #E8E7DF",
+"z     c #B4B3AF",
+"A     c #D0D0CD",
+"B     c #F2F2ED",
+"C     c #BFBEBA",
+"D     c #BEBDB9",
+"E     c #7A7A77",
+"F     c #979691",
+"G     c #EAE9E2",
+"H     c #959590",
+"I     c #787773",
+"J     c #B8B7B0",
+"K     c #E6E4DC",
+"L     c #A9A9A6",
+"M     c #626260",
+"N     c #ECEBE4",
+"O     c #EBEAE3",
+"P     c #E9E7E0",
+"Q     c #E8E6DF",
+"R     c #E7E5DD",
+"S     c #777671",
+"T     c #93918C",
+"U     c #BEBDB8",
+"V     c #989793",
+"W     c #ECEAE4",
+"X     c #E8E6DE",
+"Y     c #E6E4DB",
+"Z     c #E4E3DA",
+"`     c #75746F",
+" .    c #91908A",
+"..    c #EEECE7",
+"+.    c #62615F",
+"@.    c #EBEAE4",
+"#.    c #E7E6DE",
+"$.    c #E6E5DC",
+"%.    c #E5E4DB",
+"&.    c #E4E2DA",
+"*.    c #CCCBC4",
+"=.    c #A3A29D",
+"-.    c #B6B5B2",
+";.    c #BCBCB7",
+">.    c #CDCCC6",
+",.    c #959490",
+"'.    c #ECEBE5",
+").    c #61615E",
+"!.    c #E9E8E0",
+"~.    c #CECDC7",
+"{.    c #7C6D5A",
+"].    c #797875",
+"^.    c #969590",
+"/.    c #CFCEC8",
+"(.    c #AEADA8",
+"_.    c #8A7A65",
+":.    c #8F7D68",
+"<.    c #93816B",
+"[.    c #585754",
+"}.    c #7B7A76",
+"|.    c #9D8A72",
+"1.    c #A18E76",
+"2.    c #A69179",
+"3.    c #AB977D",
+"4.    c #B09A80",
+"5.    c #B49E83",
+"6.    c #B8A286",
+"7.    c #BDA689",
+"8.    c #BEA78A",
+"9.    c #C2AB8E",
+"0.    c #C7AE91",
+"a.    c #CBB294",
+"b.    c #CFB697",
+"c.    c #8F7E68",
+"d.    c #CCB395",
+"e.    c #D1B798",
+"f.    c #D5BB9B",
+"g.    c #D9BF9E",
+"h.    c #DEC3A1",
+"i.    c #E2C6A5",
+"j.    c #E6CAA8",
+"k.    c #A79379",
+"l.    c #897963",
+"m.    c #E8CBA9",
+"n.    c #ECCFAC",
+"o.    c #F0D3AF",
+"p.    c #93826B",
+"q.    c #D7BC9C",
+"                                                ",
+"                                                ",
+"                          . . . .               ",
+"                . . . . . + @ # $ .             ",
+"      . . . . . % $ & * = - ; > , .             ",
+"    . ' ) ! ~ { ] ^ * / ( _ : < [ } .           ",
+"    . | 1 2 3 4 5 6 / # _ : 7 8 9 0 .           ",
+"    . a b c d e f / # _ g h i j k l .           ",
+"      . m 4 n o p q r s t u v w x y z .         ",
+"      . A * B ( ; C D E u F G H I J K .         ",
+"      . L / ( _ : M t N O l P Q R S T .         ",
+"        . # _ g U V W 0 l P X R Y Z `  ..       ",
+"        . ; g ..+.@.G x y #.$.%.&.*.=.. .       ",
+"        . -.t ;.F G x y #.K >.,.. . .           ",
+"          . '.).G !.Q ~.H . . . . {..           ",
+"          . ].^./.(.. . .     . _.:.<..         ",
+"          . [.}.. .           . |.1.2..         ",
+"            . .             . 3.4.5.6.7..       ",
+"                        . . . 8.9.0.a.b.. . .   ",
+"                        . c.d.e.f.g.h.i.j.k..   ",
+"                          . . l.m.n.o.p.. .     ",
+"                              . . q.. .         ",
+"                                  .             ",
+"                                                "};
diff --git a/src/pixmaps/mail_receive_all.xpm b/src/pixmaps/mail_receive_all.xpm
new file mode 100644 (file)
index 0000000..2ab7baf
--- /dev/null
@@ -0,0 +1,181 @@
+/* XPM */
+static char * mail_receive_all_xpm[] = {
+"24 24 154 2",
+"      c None",
+".     c #000000",
+"+     c #7B7B78",
+"@     c #C7C7C3",
+"#     c #F1F0EB",
+"$     c #BFBFBC",
+"%     c #5F5E5E",
+"&     c #E3E3DF",
+"*     c #F3F3EF",
+"=     c #F2F2EE",
+"-     c #F1F1EC",
+";     c #F0EFEB",
+">     c #D2D2CD",
+",     c #969592",
+"'     c #616060",
+")     c #B5B5B4",
+"!     c #F8F8F6",
+"~     c #F7F7F5",
+"{     c #F6F6F3",
+"]     c #F5F5F2",
+"^     c #F4F4F0",
+"/     c #F2F1ED",
+"(     c #F1F0EC",
+"_     c #F0EFEA",
+":     c #EFEEE9",
+"<     c #4F4F4D",
+"[     c #BDBCB8",
+"}     c #A7A6A3",
+"|     c #C6C6C4",
+"1     c #7C7C7B",
+"2     c #525251",
+"3     c #DBDBD9",
+"4     c #F5F4F1",
+"5     c #F4F3F0",
+"6     c #F3F2EE",
+"7     c #999894",
+"8     c #62625F",
+"9     c #BCBCB6",
+"0     c #EBE9E3",
+"a     c #838381",
+"b     c #D7D6D4",
+"c     c #A8A8A6",
+"d     c #515150",
+"e     c #7E7D7C",
+"f     c #DAD9D5",
+"g     c #EFEEE8",
+"h     c #EEEDE7",
+"i     c #4F4E4C",
+"j     c #BCBBB6",
+"k     c #EBE9E2",
+"l     c #EAE8E1",
+"m     c #F6F5F2",
+"n     c #F4F3EF",
+"o     c #B5B4B1",
+"p     c #9B9A97",
+"q     c #646361",
+"r     c #92918E",
+"s     c #EEEDE8",
+"t     c #EDECE6",
+"u     c #4E4E4C",
+"v     c #797976",
+"w     c #797874",
+"x     c #E9E8E1",
+"y     c #E8E7DF",
+"z     c #B4B3AF",
+"A     c #D0D0CD",
+"B     c #F2F2ED",
+"C     c #BFBEBA",
+"D     c #BEBDB9",
+"E     c #7A7A77",
+"F     c #979691",
+"G     c #EAE9E2",
+"H     c #959590",
+"I     c #787773",
+"J     c #B8B7B0",
+"K     c #E6E4DC",
+"L     c #A9A9A6",
+"M     c #626260",
+"N     c #ECEBE4",
+"O     c #EBEAE3",
+"P     c #E9E7E0",
+"Q     c #E8E6DF",
+"R     c #E7E5DD",
+"S     c #777671",
+"T     c #93918C",
+"U     c #BEBDB8",
+"V     c #989793",
+"W     c #ECEAE4",
+"X     c #E8E6DE",
+"Y     c #E6E4DB",
+"Z     c #E4E3DA",
+"`     c #75746F",
+" .    c #91908A",
+"..    c #EEECE7",
+"+.    c #62615F",
+"@.    c #EBEAE4",
+"#.    c #E7E6DE",
+"$.    c #E6E5DC",
+"%.    c #E5E4DB",
+"&.    c #E4E2DA",
+"*.    c #CCCBC4",
+"=.    c #A3A29D",
+"-.    c #B6B5B2",
+";.    c #0C0C0B",
+">.    c #090909",
+",.    c #070707",
+"'.    c #CDCCC6",
+").    c #959490",
+"!.    c #0C0B0B",
+"~.    c #71685B",
+"{.    c #0B0B0B",
+"].    c #E9E8E0",
+"^.    c #CECDC7",
+"/.    c #7C6D5A",
+"(.    c #897965",
+"_.    c #8F7E6A",
+":.    c #96846F",
+"<.    c #403F3D",
+"[.    c #8A7A65",
+"}.    c #8F7D68",
+"|.    c #93816B",
+"1.    c #998770",
+"2.    c #9F8C76",
+"3.    c #9D8972",
+"4.    c #9D8A72",
+"5.    c #A18E76",
+"6.    c #A69179",
+"7.    c #AB977D",
+"8.    c #A79279",
+"9.    c #AA957C",
+"0.    c #B8A286",
+"a.    c #BDA689",
+"b.    c #B09A80",
+"c.    c #B49E83",
+"d.    c #BEA78A",
+"e.    c #C2AB8E",
+"f.    c #C7AE91",
+"g.    c #CBB294",
+"h.    c #CFB697",
+"i.    c #8F7E68",
+"j.    c #CCB395",
+"k.    c #D1B798",
+"l.    c #D5BB9B",
+"m.    c #D9BF9E",
+"n.    c #DEC3A1",
+"o.    c #E2C6A5",
+"p.    c #E6CAA8",
+"q.    c #A79379",
+"r.    c #897963",
+"s.    c #E8CBA9",
+"t.    c #ECCFAC",
+"u.    c #F0D3AF",
+"v.    c #93826B",
+"w.    c #D7BC9C",
+"                                                ",
+"                                                ",
+"                          . . . .               ",
+"                . . . . . + @ # $ .             ",
+"      . . . . . % $ & * = - ; > , .             ",
+"    . ' ) ! ~ { ] ^ * / ( _ : < [ } .           ",
+"    . | 1 2 3 4 5 6 / # _ : 7 8 9 0 .           ",
+"    . a b c d e f / # _ g h i j k l .           ",
+"      . m 4 n o p q r s t u v w x y z .         ",
+"      . A * B ( ; C D E u F G H I J K .         ",
+"      . L / ( _ : M t N O l P Q R S T .         ",
+"        . # _ g U V W 0 l P X R Y Z `  ..       ",
+"        . ; g ..+.@.G x y #.$.%.&.*.=.. .       ",
+"        . -.;.>.,.G x y #.K '.).. . .           ",
+"          . !.~.{.].Q ^.H . . . . /..           ",
+"          . (._.:.<.. . .     . [.}.|..         ",
+"          . 1.2.3..           . 4.5.6..         ",
+"        . 7.8.9.0.a..       . 7.b.c.0.a..       ",
+"    . . . d.e.f.g.h.. . . . . d.e.f.g.h.. . .   ",
+"    . i.j.k.l.m.n.o.p.q.. i.j.k.l.m.n.o.p.q..   ",
+"      . . r.s.t.u.v.. .   . . r.s.t.u.v.. .     ",
+"          . . w.. .           . . w.. .         ",
+"              .                   .             ",
+"                                                "};
diff --git a/src/pixmaps/mail_reply.xpm b/src/pixmaps/mail_reply.xpm
new file mode 100644 (file)
index 0000000..d1b0bc6
--- /dev/null
@@ -0,0 +1,154 @@
+/* XPM */
+static char * mail_reply_xpm[] = {
+"24 24 127 2",
+"      c None",
+".     c #000000",
+"+     c #7B7B78",
+"@     c #C7C7C3",
+"#     c #F1F0EB",
+"$     c #BFBFBC",
+"%     c #5F5E5E",
+"&     c #E3E3DF",
+"*     c #F3F3EF",
+"=     c #F2F2EE",
+"-     c #F1F1EC",
+";     c #F0EFEB",
+">     c #D2D2CD",
+",     c #969592",
+"'     c #616060",
+")     c #B5B5B4",
+"!     c #F8F8F6",
+"~     c #F7F7F5",
+"{     c #F6F6F3",
+"]     c #F5F5F2",
+"^     c #F4F4F0",
+"/     c #F2F1ED",
+"(     c #F1F0EC",
+"_     c #F0EFEA",
+":     c #EFEEE9",
+"<     c #4F4F4D",
+"[     c #BDBCB8",
+"}     c #A7A6A3",
+"|     c #C6C6C4",
+"1     c #7C7C7B",
+"2     c #525251",
+"3     c #DBDBD9",
+"4     c #F5F4F1",
+"5     c #F4F3F0",
+"6     c #F3F2EE",
+"7     c #999894",
+"8     c #62625F",
+"9     c #BCBCB6",
+"0     c #EBE9E3",
+"a     c #838381",
+"b     c #D7D6D4",
+"c     c #A8A8A6",
+"d     c #515150",
+"e     c #7E7D7C",
+"f     c #DAD9D5",
+"g     c #EFEEE8",
+"h     c #EEEDE7",
+"i     c #4F4E4C",
+"j     c #BCBBB6",
+"k     c #EBE9E2",
+"l     c #EAE8E1",
+"m     c #F6F5F2",
+"n     c #F4F3EF",
+"o     c #B5B4B1",
+"p     c #9B9A97",
+"q     c #646361",
+"r     c #92918E",
+"s     c #EEEDE8",
+"t     c #EDECE6",
+"u     c #4E4E4C",
+"v     c #797976",
+"w     c #797874",
+"x     c #E9E8E1",
+"y     c #E8E7DF",
+"z     c #B4B3AF",
+"A     c #D0D0CD",
+"B     c #F2F2ED",
+"C     c #BFBEBA",
+"D     c #BEBDB9",
+"E     c #7A7A77",
+"F     c #979691",
+"G     c #EAE9E2",
+"H     c #959590",
+"I     c #787773",
+"J     c #B8B7B0",
+"K     c #E6E4DC",
+"L     c #A9A9A6",
+"M     c #626260",
+"N     c #ECEBE4",
+"O     c #EBEAE3",
+"P     c #E9E7E0",
+"Q     c #E8E6DF",
+"R     c #E7E5DD",
+"S     c #777671",
+"T     c #93918C",
+"U     c #BEBDB8",
+"V     c #989793",
+"W     c #ECEAE4",
+"X     c #E8E6DE",
+"Y     c #E6E4DB",
+"Z     c #E4E3DA",
+"`     c #75746F",
+" .    c #91908A",
+"..    c #EEECE7",
+"+.    c #62615F",
+"@.    c #EBEAE4",
+"#.    c #E7E6DE",
+"$.    c #E6E5DC",
+"%.    c #E5E4DB",
+"&.    c #E4E2DA",
+"*.    c #CCCBC4",
+"=.    c #A3A29D",
+"-.    c #B6B5B2",
+";.    c #BCBCB7",
+">.    c #CDCCC6",
+",.    c #959490",
+"'.    c #ECEBE5",
+").    c #61615E",
+"!.    c #E9E8E0",
+"~.    c #CECDC7",
+"{.    c #797875",
+"].    c #969590",
+"^.    c #CFCEC8",
+"/.    c #AEADA8",
+"(.    c #E0D8B0",
+"_.    c #585754",
+":.    c #7B7A76",
+"<.    c #B39C82",
+"[.    c #BCA488",
+"}.    c #C5AC8F",
+"|.    c #AA947B",
+"1.    c #A18D75",
+"2.    c #98856E",
+"3.    c #8F7D68",
+"4.    c #867561",
+"5.    c #7D6D5B",
+"6.    c #746554",
+"                                                ",
+"                                                ",
+"                          . . . .               ",
+"                . . . . . + @ # $ .             ",
+"      . . . . . % $ & * = - ; > , .             ",
+"    . ' ) ! ~ { ] ^ * / ( _ : < [ } .           ",
+"    . | 1 2 3 4 5 6 / # _ : 7 8 9 0 .           ",
+"    . a b c d e f / # _ g h i j k l .           ",
+"      . m 4 n o p q r s t u v w x y z .         ",
+"      . A * B ( ; C D E u F G H I J K .         ",
+"      . L / ( _ : M t N O l P Q R S T .         ",
+"        . # _ g U V W 0 l P X R Y Z `  ..       ",
+"        . ; g ..+.@.G x y #.$.%.&.*.=.. .       ",
+"        . -.t ;.F G x y #.K >.,.. . .           ",
+"          . '.).G !.Q ~.H . . .       .         ",
+"          . {.].^./.. . .           . (..       ",
+"          . _.:.. .         . .   . (.(.(..     ",
+"            . .           . <..     . (.(.(..   ",
+"                        . [.<.. . . . . . . .   ",
+"                      . }.[.<.|.1.2.3.4.5.6..   ",
+"                      . }.[.<.|.1.2.3.4.5..     ",
+"                        . [.<.. . . . . .       ",
+"                          . <..                 ",
+"                            . .                 "};
diff --git a/src/pixmaps/mail_reply_to_all.xpm b/src/pixmaps/mail_reply_to_all.xpm
new file mode 100644 (file)
index 0000000..813ebce
--- /dev/null
@@ -0,0 +1,126 @@
+/* XPM */
+static char * mail_reply_to_all_xpm[] = {
+"24 24 99 2",
+"      c None",
+".     c #000000",
+"+     c #7B7B78",
+"@     c #C7C7C3",
+"#     c #F1F0EB",
+"$     c #BFBFBC",
+"%     c #5F5E5E",
+"&     c #E3E3DF",
+"*     c #F3F3EF",
+"=     c #F2F2EE",
+"-     c #F1F1EC",
+";     c #F0EFEB",
+">     c #D2D2CD",
+",     c #969592",
+"'     c #616060",
+")     c #B5B5B4",
+"!     c #F8F8F6",
+"~     c #F7F7F5",
+"{     c #F6F6F3",
+"]     c #F5F5F2",
+"^     c #F4F4F0",
+"/     c #F2F1ED",
+"(     c #F1F0EC",
+"_     c #F0EFEA",
+":     c #EFEEE9",
+"<     c #4F4F4D",
+"[     c #BDBCB8",
+"}     c #A7A6A3",
+"|     c #C6C6C4",
+"1     c #7C7C7B",
+"2     c #525251",
+"3     c #DBDBD9",
+"4     c #F5F4F1",
+"5     c #F4F3F0",
+"6     c #F3F2EE",
+"7     c #999894",
+"8     c #62625F",
+"9     c #BCBCB6",
+"0     c #EBE9E3",
+"a     c #E0D8B0",
+"b     c #838381",
+"c     c #D7D6D4",
+"d     c #A8A8A6",
+"e     c #515150",
+"f     c #7E7D7C",
+"g     c #DAD9D5",
+"h     c #EFEEE8",
+"i     c #EEEDE7",
+"j     c #EBE9E2",
+"k     c #F6F5F2",
+"l     c #F4F3EF",
+"m     c #B5B4B1",
+"n     c #9B9A97",
+"o     c #646361",
+"p     c #92918E",
+"q     c #EEEDE8",
+"r     c #EDECE6",
+"s     c #B39C82",
+"t     c #E9E8E1",
+"u     c #E8E7DF",
+"v     c #D0D0CD",
+"w     c #F2F2ED",
+"x     c #BFBEBA",
+"y     c #BEBDB9",
+"z     c #7A7A77",
+"A     c #BCA488",
+"B     c #A9A9A6",
+"C     c #626260",
+"D     c #C5AC8F",
+"E     c #AA947B",
+"F     c #A18D75",
+"G     c #98856E",
+"H     c #8F7D68",
+"I     c #867561",
+"J     c #7D6D5B",
+"K     c #746554",
+"L     c #BEBDB8",
+"M     c #989793",
+"N     c #ECEAE4",
+"O     c #EEECE7",
+"P     c #62615F",
+"Q     c #EBEAE4",
+"R     c #EAE9E2",
+"S     c #B6B5B2",
+"T     c #BCBCB7",
+"U     c #979691",
+"V     c #E7E6DE",
+"W     c #ECEBE5",
+"X     c #61615E",
+"Y     c #E9E8E0",
+"Z     c #E8E6DF",
+"`     c #CECDC7",
+" .    c #959590",
+"..    c #797875",
+"+.    c #969590",
+"@.    c #CFCEC8",
+"#.    c #AEADA8",
+"$.    c #585754",
+"%.    c #7B7A76",
+"                                                ",
+"                                                ",
+"                          . . . .               ",
+"                . . . . . + @ # $ .             ",
+"      . . . . . % $ & * = - ; > , .             ",
+"    . ' ) ! ~ { ] ^ * / ( _ : < [ } . .         ",
+"    . | 1 2 3 4 5 6 / # _ : 7 8 9 0 . a .       ",
+"    . b c d e f g / # _ h i . . j . a a a .     ",
+"      . k 4 l m n o p q r . s . t u . a a a .   ",
+"      . v * w ( ; x y z . A s . . . . . . . .   ",
+"      . B / ( _ : C r . D A s E F G H I J K .   ",
+"        . # _ h L M N . D A s E F G H I J .     ",
+"        . ; h O P Q R t . A s . . . . . .       ",
+"        . S r T U R t u V . s . . . .           ",
+"          . W X R Y Z `  .. . .       .         ",
+"          . ..+.@.#.. . .           . a .       ",
+"          . $.%.. .         . .   . a a a .     ",
+"            . .           . s .     . a a a .   ",
+"                        . A s . . . . . . . .   ",
+"                      . D A s E F G H I J K .   ",
+"                      . D A s E F G H I J .     ",
+"                        . A s . . . . . .       ",
+"                          . s .                 ",
+"                            . .                 "};
diff --git a/src/pixmaps/mail_reply_to_author.xpm b/src/pixmaps/mail_reply_to_author.xpm
new file mode 100644 (file)
index 0000000..bdea2af
--- /dev/null
@@ -0,0 +1,127 @@
+/* XPM */
+static char * mail_reply_to_author_xpm[] = {
+"24 24 100 2",
+"      c None",
+".     c #000000",
+"+     c #7B7B78",
+"@     c #C7C7C3",
+"#     c #F1F0EB",
+"$     c #BFBFBC",
+"%     c #5F5E5E",
+"&     c #E3E3DF",
+"*     c #F3F3EF",
+"=     c #F2F2EE",
+"-     c #F1F1EC",
+";     c #F0EFEB",
+">     c #D2D2CD",
+",     c #969592",
+"'     c #616060",
+")     c #B5B5B4",
+"!     c #F8F8F6",
+"~     c #F7F7F5",
+"{     c #F6F6F3",
+"]     c #F5F5F2",
+"^     c #F4F4F0",
+"/     c #F2F1ED",
+"(     c #F1F0EC",
+"_     c #F0EFEA",
+":     c #EFEEE9",
+"<     c #4F4F4D",
+"[     c #BDBCB8",
+"}     c #A7A6A3",
+"|     c #C6C6C4",
+"1     c #7C7C7B",
+"2     c #525251",
+"3     c #DBDBD9",
+"4     c #F5F4F1",
+"5     c #F4F3F0",
+"6     c #F3F2EE",
+"7     c #999894",
+"8     c #62625F",
+"9     c #BCBCB6",
+"0     c #EBE9E3",
+"a     c #838381",
+"b     c #D7D6D4",
+"c     c #A8A8A6",
+"d     c #515150",
+"e     c #7E7D7C",
+"f     c #DAD9D5",
+"g     c #EFEEE8",
+"h     c #EEEDE7",
+"i     c #4F4E4C",
+"j     c #BCBBB6",
+"k     c #EBE9E2",
+"l     c #EAE8E1",
+"m     c #EEEDE8",
+"n     c #EDECE6",
+"o     c #4E4E4C",
+"p     c #797976",
+"q     c #797874",
+"r     c #E9E8E1",
+"s     c #E8E7DF",
+"t     c #B4B3AF",
+"u     c #DED5BB",
+"v     c #AF9F7E",
+"w     c #7A7A77",
+"x     c #979691",
+"y     c #EAE9E2",
+"z     c #959590",
+"A     c #787773",
+"B     c #B8B7B0",
+"C     c #E6E4DC",
+"D     c #ECEBE4",
+"E     c #EBEAE3",
+"F     c #E9E7E0",
+"G     c #E8E6DF",
+"H     c #E7E5DD",
+"I     c #777671",
+"J     c #93918C",
+"K     c #E8E6DE",
+"L     c #E6E4DB",
+"M     c #E4E3DA",
+"N     c #75746F",
+"O     c #91908A",
+"P     c #E7E6DE",
+"Q     c #E6E5DC",
+"R     c #E5E4DB",
+"S     c #E4E2DA",
+"T     c #CCCBC4",
+"U     c #A3A29D",
+"V     c #CDCCC6",
+"W     c #959490",
+"X     c #CECDC7",
+"Y     c #E0D8B0",
+"Z     c #B39C82",
+"`     c #BCA488",
+" .    c #C5AC8F",
+"..    c #AA947B",
+"+.    c #A18D75",
+"@.    c #98856E",
+"#.    c #8F7D68",
+"$.    c #867561",
+"%.    c #7D6D5B",
+"&.    c #746554",
+"                                                ",
+"                            . . . .             ",
+"                  . . . . . + @ # $ .           ",
+"        . . . . . % $ & * = - ; > , .           ",
+"      . ' ) ! ~ { ] ^ * / ( _ : < [ } .         ",
+"      . | 1 2 3 4 5 6 / # _ : 7 8 9 0 .         ",
+"      . a b c d e f / # _ g h i j k l .         ",
+". . . . . . . . . . . . m n o p q r s t .       ",
+". u u u u u u u u u v . w o x y z A B C .       ",
+". u v v v v v v v v v . D E l F G H I J .       ",
+". u v v v v v v . v v . 0 l F K H L M N O .     ",
+". u v v v v v v . v v . r s P Q R S T U . .     ",
+". u v v v v v v v v v . s P C V W . . .         ",
+". u v v v v v v v v v . X z . . .       .       ",
+". u v v v v v v v v v . . .           . Y .     ",
+". u v v v v v v v . . .       . .   . Y Y Y .   ",
+". u v v v v v v v v .       . Z .     . Y Y Y . ",
+". u v v v v v . v v .     . ` Z . . . . . . . . ",
+". u v v v v v v . . .   .  .` Z ..+.@.#.$.%.&.. ",
+". u v v v v v v v v .   .  .` Z ..+.@.#.$.%..   ",
+". v v v v v v v v v .     . ` Z . . . . . .     ",
+". . . . . . . . . .         . Z .               ",
+"                              . .               ",
+"                                                "};
diff --git a/src/pixmaps/mail_send.xpm b/src/pixmaps/mail_send.xpm
new file mode 100644 (file)
index 0000000..5ee2ecf
--- /dev/null
@@ -0,0 +1,162 @@
+/* XPM */
+static char * mail_send_xpm[] = {
+"24 24 135 2",
+"      c None",
+".     c #000000",
+"+     c #7B7B78",
+"@     c #C7C7C3",
+"#     c #F1F0EB",
+"$     c #BFBFBC",
+"%     c #5F5E5E",
+"&     c #E3E3DF",
+"*     c #F3F3EF",
+"=     c #F2F2EE",
+"-     c #F1F1EC",
+";     c #F0EFEB",
+">     c #D2D2CD",
+",     c #969592",
+"'     c #616060",
+")     c #B5B5B4",
+"!     c #F8F8F6",
+"~     c #F7F7F5",
+"{     c #F6F6F3",
+"]     c #F5F5F2",
+"^     c #F4F4F0",
+"/     c #F2F1ED",
+"(     c #F1F0EC",
+"_     c #F0EFEA",
+":     c #EFEEE9",
+"<     c #4F4F4D",
+"[     c #BDBCB8",
+"}     c #A7A6A3",
+"|     c #C6C6C4",
+"1     c #7C7C7B",
+"2     c #525251",
+"3     c #DBDBD9",
+"4     c #F5F4F1",
+"5     c #F4F3F0",
+"6     c #F3F2EE",
+"7     c #999894",
+"8     c #62625F",
+"9     c #BCBCB6",
+"0     c #EBE9E3",
+"a     c #838381",
+"b     c #D7D6D4",
+"c     c #A8A8A6",
+"d     c #515150",
+"e     c #7E7D7C",
+"f     c #DAD9D5",
+"g     c #EFEEE8",
+"h     c #EEEDE7",
+"i     c #4F4E4C",
+"j     c #BCBBB6",
+"k     c #EBE9E2",
+"l     c #EAE8E1",
+"m     c #F6F5F2",
+"n     c #F4F3EF",
+"o     c #B5B4B1",
+"p     c #9B9A97",
+"q     c #646361",
+"r     c #92918E",
+"s     c #EEEDE8",
+"t     c #EDECE6",
+"u     c #4E4E4C",
+"v     c #797976",
+"w     c #797874",
+"x     c #E9E8E1",
+"y     c #E8E7DF",
+"z     c #B4B3AF",
+"A     c #D0D0CD",
+"B     c #F2F2ED",
+"C     c #BFBEBA",
+"D     c #BEBDB9",
+"E     c #7A7A77",
+"F     c #979691",
+"G     c #EAE9E2",
+"H     c #959590",
+"I     c #787773",
+"J     c #B8B7B0",
+"K     c #E6E4DC",
+"L     c #A9A9A6",
+"M     c #626260",
+"N     c #ECEBE4",
+"O     c #EBEAE3",
+"P     c #E9E7E0",
+"Q     c #E8E6DF",
+"R     c #E7E5DD",
+"S     c #777671",
+"T     c #93918C",
+"U     c #BEBDB8",
+"V     c #989793",
+"W     c #ECEAE4",
+"X     c #E8E6DE",
+"Y     c #E6E4DB",
+"Z     c #E4E3DA",
+"`     c #75746F",
+" .    c #91908A",
+"..    c #EEECE7",
+"+.    c #62615F",
+"@.    c #EBEAE4",
+"#.    c #E7E6DE",
+"$.    c #E6E5DC",
+"%.    c #E5E4DB",
+"&.    c #E4E2DA",
+"*.    c #CCCBC4",
+"=.    c #A3A29D",
+"-.    c #B6B5B2",
+";.    c #BCBCB7",
+">.    c #CDCCC6",
+",.    c #959490",
+"'.    c #ECEBE5",
+").    c #61615E",
+"!.    c #E9E8E0",
+"~.    c #CECDC7",
+"{.    c #797875",
+"].    c #969590",
+"^.    c #CFCEC8",
+"/.    c #AEADA8",
+"(.    c #282828",
+"_.    c #6D675E",
+":.    c #786F64",
+"<.    c #585754",
+"[.    c #7B7A76",
+"}.    c #736A5B",
+"|.    c #908570",
+"1.    c #928875",
+"2.    c #665C4E",
+"3.    c #8C816F",
+"4.    c #9B907F",
+"5.    c #0F0E0B",
+"6.    c #AB9A87",
+"7.    c #A8967F",
+"8.    c #998873",
+"9.    c #B6A38A",
+"0.    c #8C7C69",
+"a.    c #C8B298",
+"b.    c #B7A38A",
+"c.    c #DAC2A5",
+"d.    c #B49E84",
+"                                                ",
+"                                                ",
+"                          . . . .               ",
+"                . . . . . + @ # $ .             ",
+"      . . . . . % $ & * = - ; > , .             ",
+"    . ' ) ! ~ { ] ^ * / ( _ : < [ } .           ",
+"    . | 1 2 3 4 5 6 / # _ : 7 8 9 0 .           ",
+"    . a b c d e f / # _ g h i j k l .           ",
+"      . m 4 n o p q r s t u v w x y z .         ",
+"      . A * B ( ; C D E u F G H I J K .         ",
+"      . L / ( _ : M t N O l P Q R S T .         ",
+"        . # _ g U V W 0 l P X R Y Z `  ..       ",
+"        . ; g ..+.@.G x y #.$.%.&.*.=.. .       ",
+"        . -.t ;.F G x y #.K >.,.. . .           ",
+"          . '.).G !.Q ~.H . . . . .             ",
+"          . {.].^./.. . .     (._.:..           ",
+"          . <.[.. .         . }.|.1.2..         ",
+"            . .           . . . 3.4.. 5..       ",
+"                              . 6.7..           ",
+"                            . 8.9.9.0..         ",
+"                            . a.a.a.a..         ",
+"                          . b.c.c.c.c.d..       ",
+"                          . . . . . . . .       ",
+"                                                "};
diff --git a/src/pixmaps/mail_send_queue.xpm b/src/pixmaps/mail_send_queue.xpm
new file mode 100644 (file)
index 0000000..6b257fa
--- /dev/null
@@ -0,0 +1,244 @@
+/* XPM */
+static char * mail_send_queue_xpm[] = {
+"24 24 217 2",
+"      c None",
+".     c #000000",
+"+     c #7B7B78",
+"@     c #C7C7C3",
+"#     c #F1F0EB",
+"$     c #BFBFBC",
+"%     c #5F5E5E",
+"&     c #E3E3DF",
+"*     c #F3F3EF",
+"=     c #F2F2EE",
+"-     c #F1F1EC",
+";     c #F0EFEB",
+">     c #D2D2CD",
+",     c #969592",
+"'     c #616060",
+")     c #B5B5B4",
+"!     c #F8F8F6",
+"~     c #F7F7F5",
+"{     c #F6F6F3",
+"]     c #F5F5F2",
+"^     c #F4F4F0",
+"/     c #F2F1ED",
+"(     c #F1F0EC",
+"_     c #F0EFEA",
+":     c #EFEEE9",
+"<     c #4F4F4D",
+"[     c #BDBCB8",
+"}     c #A7A6A3",
+"|     c #C6C6C4",
+"1     c #7C7C7B",
+"2     c #525251",
+"3     c #DBDBD9",
+"4     c #F5F4F1",
+"5     c #F4F3F0",
+"6     c #F3F2EE",
+"7     c #999894",
+"8     c #62625F",
+"9     c #BCBCB6",
+"0     c #EBE9E3",
+"a     c #838381",
+"b     c #D7D6D4",
+"c     c #A8A8A6",
+"d     c #515150",
+"e     c #7E7D7C",
+"f     c #DAD9D5",
+"g     c #EFEEE8",
+"h     c #EEEDE7",
+"i     c #4F4E4C",
+"j     c #BCBBB6",
+"k     c #EBE9E2",
+"l     c #EAE8E1",
+"m     c #F6F5F2",
+"n     c #F4F3EF",
+"o     c #B5B4B1",
+"p     c #9B9A97",
+"q     c #646361",
+"r     c #92918E",
+"s     c #EEEDE8",
+"t     c #EDECE6",
+"u     c #4E4E4C",
+"v     c #797976",
+"w     c #797874",
+"x     c #E9E8E1",
+"y     c #E8E7DF",
+"z     c #B4B3AF",
+"A     c #3F3F3F",
+"B     c #0E0E0E",
+"C     c #1E1E1D",
+"D     c #6B6B69",
+"E     c #BFBEBA",
+"F     c #BEBDB9",
+"G     c #7A7A77",
+"H     c #979691",
+"I     c #EAE9E2",
+"J     c #959590",
+"K     c #787773",
+"L     c #B8B7B0",
+"M     c #E6E4DC",
+"N     c #101010",
+"O     c #D5D5D5",
+"P     c #FFFFFF",
+"Q     c #B1B1B1",
+"R     c #1D1D1D",
+"S     c #626260",
+"T     c #ECEBE4",
+"U     c #EBEAE3",
+"V     c #E9E7E0",
+"W     c #E8E6DF",
+"X     c #E7E5DD",
+"Y     c #777671",
+"Z     c #93918C",
+"`     c #ECEAE4",
+" .    c #E8E6DE",
+"..    c #E6E4DB",
+"+.    c #E4E3DA",
+"@.    c #75746F",
+"#.    c #91908A",
+"$.    c #EBEBE9",
+"%.    c #B4B5B0",
+"&.    c #A0A29B",
+"*.    c #9FA099",
+"=.    c #AAACA5",
+"-.    c #C6C7C2",
+";.    c #F5F6F4",
+">.    c #E7E6DE",
+",.    c #E6E5DC",
+"'.    c #E5E4DB",
+").    c #E4E2DA",
+"!.    c #CCCBC4",
+"~.    c #A3A29D",
+"{.    c #D1D2CF",
+"].    c #979890",
+"^.    c #9FA199",
+"/.    c #A8A9A1",
+"(.    c #ADAFA6",
+"_.    c #B2B3AB",
+":.    c #B6B8B0",
+"<.    c #BABCB4",
+"[.    c #11110F",
+"}.    c #1D1D1C",
+"|.    c #CDCCC6",
+"1.    c #959490",
+"2.    c #ECECEA",
+"3.    c #989991",
+"4.    c #A1A39B",
+"5.    c #B0B1A9",
+"6.    c #BBBCB5",
+"7.    c #BFC0B8",
+"8.    c #C2C4BC",
+"9.    c #C1C2BA",
+"0.    c #D1D1D0",
+"a.    c #DEDEDE",
+"b.    c #9C9E96",
+"c.    c #C5C7BF",
+"d.    c #CBCCC5",
+"e.    c #CDCEC6",
+"f.    c #C5C7BE",
+"g.    c #DEDFDA",
+"h.    c #939393",
+"i.    c #2F2F2F",
+"j.    c #282828",
+"k.    c #6D675E",
+"l.    c #786F64",
+"m.    c #9E9F98",
+"n.    c #A1A29A",
+"o.    c #B5B7AF",
+"p.    c #CFD1C8",
+"q.    c #D0D2CA",
+"r.    c #CCCEC6",
+"s.    c #D1D3CB",
+"t.    c #736A5B",
+"u.    c #908570",
+"v.    c #928875",
+"w.    c #665C4E",
+"x.    c #9A9B93",
+"y.    c #A6A8A0",
+"z.    c #C8CAC1",
+"A.    c #D6D7D0",
+"B.    c #D5D7CF",
+"C.    c #D4D5CD",
+"D.    c #D3D5CD",
+"E.    c #8C816F",
+"F.    c #9B907F",
+"G.    c #0F0E0B",
+"H.    c #A5A69F",
+"I.    c #A8A9A2",
+"J.    c #BABBB3",
+"K.    c #C9CAC2",
+"L.    c #94958E",
+"M.    c #D6D8D0",
+"N.    c #D7D9D1",
+"O.    c #DBDCD5",
+"P.    c #AB9A87",
+"Q.    c #A8967F",
+"R.    c #BFC0BB",
+"S.    c #A8AAA2",
+"T.    c #C4C5BD",
+"U.    c #B0B2AA",
+"V.    c #D7D8D0",
+"W.    c #E6E7E2",
+"X.    c #998873",
+"Y.    c #B6A38A",
+"Z.    c #8C7C69",
+"`.    c #F2F2F1",
+" +    c #ADAEA6",
+".+    c #B1B3AB",
+"++    c #BCBDB5",
+"@+    c #C6C8C0",
+"#+    c #CFD0C9",
+"$+    c #D4D6CE",
+"%+    c #D5D6CE",
+"&+    c #D6D7CF",
+"*+    c #C8B298",
+"=+    c #E4E4E1",
+"-+    c #B3B4AC",
+";+    c #B7B8B0",
+">+    c #BCBEB6",
+",+    c #C4C6BE",
+"'+    c #C9CBC3",
+")+    c #CBCCC4",
+"!+    c #D0D1C9",
+"~+    c #D4D5D2",
+"{+    c #B7A38A",
+"]+    c #DAC2A5",
+"^+    c #B49E84",
+"/+    c #B9B9B9",
+"(+    c #F5F5F4",
+"_+    c #CFD0CB",
+":+    c #C0C2BB",
+"<+    c #C0C2BA",
+"[+    c #C8C9C2",
+"}+    c #D9DAD5",
+"|+    c #D9D9D8",
+"1+    c #D3D3D3",
+"2+    c #0D0D0D",
+"3+    c #7A7A7A",
+"4+    c #343434",
+"                                . . . .         ",
+"                      . . . . . + @ # $ .       ",
+"            . . . . . % $ & * = - ; > , .       ",
+"          . ' ) ! ~ { ] ^ * / ( _ : < [ } .     ",
+"          . | 1 2 3 4 5 6 / # _ : 7 8 9 0 .     ",
+"          . a b c d e f / # _ g h i j k l .     ",
+"            . m 4 n o p q r s t u v w x y z .   ",
+"          A B . C D ( ; E F G u H I J K L M .   ",
+"      N . O P P O Q . R S t T U l V W X Y Z .   ",
+"    . O P P P P P P O Q . ` 0 l V  .X ..+.@.#.. ",
+"  . O P $.%.&.*.=.-.;.O O . x y >.,.'.).!.~.. . ",
+"N Q P {.].^./.(._.:.<.[.O Q }.>.M |.1.. . .     ",
+". O 2.3.4.5.6.7.8.9.. . 0.O . J . . . . .       ",
+"Q a.%.b.. . c.d.e.. . f.g.O h.i.    j.k.l..     ",
+"O P m.n.o.. . p.. . q.r.s.O h.N   . t.u.v.w..   ",
+"a.P x.y.6.z.. . . A.B.C.D.O h.. . . . E.F.. G.. ",
+"O P H.I.J.K.L.. 3.M.N.N.O.O h.N     . P.Q..     ",
+"Q a.R.S.o.T.r.U.V.M.N.N.W.O h.A   . X.Y.Y.Z..   ",
+". O `. +.+++@+#+$+%+&+N.0.O .     . *+*+*+*+.   ",
+"N Q a.=+-+;+>+,+'+)+!+~+O Q N   . {+]+]+]+]+^+. ",
+"  . /+a.(+_+:+<+[+}+|+O Q .     . . . . . . . . ",
+"  1+. /+a.a.P P a.O Q h..                       ",
+"      2+. Q /+/+Q 3+. N                         ",
+"          4+2+. . A                             "};
diff --git a/src/pixmaps/news_compose.xpm b/src/pixmaps/news_compose.xpm
new file mode 100644 (file)
index 0000000..d8e3993
--- /dev/null
@@ -0,0 +1,64 @@
+/* XPM */
+static char * news_compose_xpm[] = {
+"24 24 37 1",
+"      c None",
+".     c #000000",
+"+     c #828282",
+"@     c #979797",
+"#     c #0E0E0E",
+"$     c #DBDBDB",
+"%     c #D9D9D9",
+"&     c #010101",
+"*     c #D8BE6A",
+"=     c #AFAFAF",
+"-     c #898989",
+";     c #ECECEC",
+">     c #121212",
+",     c #8E7D45",
+"'     c #ECEBE8",
+")     c #9D9D9B",
+"!     c #404040",
+"~     c #EAE9E6",
+"{     c #5E5E5E",
+"]     c #777777",
+"^     c #525252",
+"/     c #1C1C1C",
+"(     c #515151",
+"_     c #797979",
+":     c #8C8C8C",
+"<     c #B5B5B5",
+"[     c #C8C8C8",
+"}     c #BABABA",
+"|     c #EEEEEE",
+"1     c #C1C1C1",
+"2     c #757575",
+"3     c #AD8E30",
+"4     c #756020",
+"5     c #A5A5A5",
+"6     c #878787",
+"7     c #060605",
+"8     c #919191",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"             ...        ",
+"           ..+@+#  .    ",
+"         ..$$.%%&..*.   ",
+"        .$==$.-;>.*,.   ",
+"      ..==$$$&').*,.    ",
+"    ..$=$$$$$!~.*,.     ",
+"   .{==$$$]]$^/*,.      ",
+"   .=$$$($_]$.*,.:.     ",
+"   .$$(($$((.*,.<[.     ",
+"   .$(}}($$.*,.-|-.     ",
+"   .$$(($$.*,..11<2.    ",
+"   .$($$$34..<-<56..    ",
+"   .$$$$$7.<-<58..      ",
+"   .$$$..<<-58..        ",
+"   .$..-<-56..          ",
+"   ..<<<56..            ",
+"        ..              ",
+"                        ",
+"                        ",
+"                        "};
diff --git a/src/pixmaps/outbox_hrm.xpm b/src/pixmaps/outbox_hrm.xpm
new file mode 100644 (file)
index 0000000..225b076
--- /dev/null
@@ -0,0 +1,26 @@
+/* XPM */
+static char * outbox_hrm_xpm[] = {
+"16 16 7 1",
+"      c None",
+".     c #050000",
+"+     c #152658",
+"@     c #FE3569",
+"#     c #FEC9D8",
+"$     c #B21133",
+"%     c #FE6993",
+"                ",
+"        .   ++++",
+"      ..@.   +++",
+"    ..@@@#. ++++",
+"  ..@@@@$##+++ +",
+"..@@@@$$%$+++   ",
+".#.@$$%##+++#.  ",
+".##.@%####+$##. ",
+".###.%%#####$#@.",
+" .###.%%#####$#.",
+"  .###.%%####%$.",
+"   .###.%##%%%@.",
+"    .##@$%%%@.. ",
+"     .##.%@..   ",
+"      .#...     ",
+"       ..       "};
diff --git a/src/pixmaps/paste.xpm b/src/pixmaps/paste.xpm
new file mode 100644 (file)
index 0000000..a596246
--- /dev/null
@@ -0,0 +1,132 @@
+/* XPM */
+static char * paste_xpm[] = {
+"24 24 105 2",
+"      c None",
+".     c #000000",
+"+     c #CFCDBE",
+"@     c #CFCCBD",
+"#     c #CFCBBC",
+"$     c #D0CFBE",
+"%     c #CFCEBE",
+"&     c #CECABB",
+"*     c #D1CFBE",
+"=     c #7E7E74",
+"-     c #2F2F2B",
+";     c #595855",
+">     c #A09F9C",
+",     c #CCC9BB",
+"'     c #595956",
+")     c #DDDDDA",
+"!     c #ACABA5",
+"~     c #7E7C72",
+"{     c #3E3C38",
+"]     c #CDC9BB",
+"^     c #CCC9BA",
+"/     c #4D4D4B",
+"(     c #7E7C73",
+"_     c #CDCABB",
+":     c #CBC9BA",
+"<     c #CAC8B9",
+"[     c #73736E",
+"}     c #4D4C46",
+"|     c #A4A195",
+"1     c #CAC7B8",
+"2     c #CFCDBD",
+"3     c #CFCCBC",
+"4     c #CFCBBB",
+"5     c #CAC9B9",
+"6     c #CAC8B8",
+"7     c #C9C6B8",
+"8     c #D1D1BC",
+"9     c #919182",
+"0     c #CBC9B9",
+"a     c #272727",
+"b     c #AEAEA8",
+"c     c #B7B7A5",
+"d     c #D4D4BE",
+"e     c #D8D8C2",
+"f     c #EAEAE2",
+"g     c #707070",
+"h     c #B3B3AC",
+"i     c #D7D7C1",
+"j     c #DBDBC4",
+"k     c #ACAC9B",
+"l     c #DDDDD9",
+"m     c #42423A",
+"n     c #A5A595",
+"o     c #DADAC3",
+"p     c #DEDEC7",
+"q     c #E2E2CA",
+"r     c #C9C7B8",
+"s     c #C9C5B6",
+"t     c #616156",
+"u     c #A5A594",
+"v     c #D9D9C3",
+"w     c #DDDDC6",
+"x     c #E1E1C9",
+"y     c #E4E4CD",
+"z     c #B4B4A1",
+"A     c #C7C5B5",
+"B     c #C5C1B1",
+"C     c #C0BEAB",
+"D     c #BBBBA7",
+"E     c #DCDCC5",
+"F     c #E0E0C9",
+"G     c #E3E3CC",
+"H     c #E7E7CF",
+"I     c #EBEBD3",
+"J     c #A3A391",
+"K     c #C3C0AF",
+"L     c #C3BFAE",
+"M     c #C2BEAE",
+"N     c #C1BDAC",
+"O     c #BAB8A5",
+"P     c #929284",
+"Q     c #DFDFC8",
+"R     c #E2E2CB",
+"S     c #E6E6CF",
+"T     c #EAEAD2",
+"U     c #EEEED5",
+"V     c #F2F2D9",
+"W     c #C0BBAA",
+"X     c #BCB9A6",
+"Y     c #B8B4A1",
+"Z     c #B7B3A0",
+"`     c #E5E5CE",
+" .    c #E9E9D1",
+"..    c #EDEDD5",
+"+.    c #F1F1D8",
+"@.    c #F5F5DC",
+"#.    c #A7A796",
+"$.    c #B9B5A1",
+"%.    c #B8B4A0",
+"&.    c #AEAE9C",
+"*.    c #E8E8D0",
+"=.    c #ECECD4",
+"-.    c #F0F0D7",
+";.    c #A6A696",
+">.    c #9F9F8F",
+"                                                ",
+"                                                ",
+"                                                ",
+"                  . . .                         ",
+"              . . + @ # .             .         ",
+"          . . $ % @ # & .       . . . . .       ",
+"      . . * $ = - ; > & , .     . . . . .       ",
+"    . * * * ' ) ! ~ { ] ^ .           .         ",
+"    . * * $ / ! ( { _ , : < .                   ",
+"      . $ % [ } | _ , : < 1 .   . .             ",
+"      . % 2 3 4 & ] : 5 6 7 . . 8 9 .           ",
+"        . @ # & _ ^ 0 6 . a b c d e .           ",
+"        . # & _ , : < 1 . f g h i j k .         ",
+"          . & , : 5 1 7 . l m n o p q .         ",
+"          . ] ^ 5 6 r s . t u v w x y z .       ",
+"            . : 1 A B C . D e E F G H I J .     ",
+"            . K L M N O . P j Q R S T U V .     ",
+"              . W X Y Z . . p q `  ...+.@.#..   ",
+"              . $.%.. .   . &.y *.=.-.;.. .     ",
+"                . .         . H I J . .         ",
+"                            . >.. .             ",
+"                              .                 ",
+"                                                ",
+"                                                "};
diff --git a/src/pixmaps/preferences.xpm b/src/pixmaps/preferences.xpm
new file mode 100644 (file)
index 0000000..eaab5db
--- /dev/null
@@ -0,0 +1,80 @@
+/* XPM */
+static char * preferences_xpm[] = {
+"24 24 53 1",
+"      c None",
+".     c #000000",
+"+     c #E5E5E5",
+"@     c #CECECE",
+"#     c #CDCDCD",
+"$     c #DCCB94",
+"%     c #DCDCDC",
+"&     c #C7C7C7",
+"*     c #8E7D45",
+"=     c #CFCFCF",
+"-     c #C1C1C1",
+";     c #AB5959",
+">     c #D9D9D9",
+",     c #878787",
+"'     c #DBDBDB",
+")     c #D4D4D4",
+"!     c #A84F4F",
+"~     c #A7A7A7",
+"{     c #9B9B9B",
+"]     c #F5F5F5",
+"^     c #F3F3F3",
+"/     c #A65757",
+"(     c #6E6E6E",
+"_     c #DACACA",
+":     c #AC5757",
+"<     c #C48B8B",
+"[     c #AA6C6C",
+"}     c #E9DDDD",
+"|     c #A65353",
+"1     c #C6C6C6",
+"2     c #D4C38D",
+"3     c #E4E4E4",
+"4     c #D6D6D0",
+"5     c #C0C0BB",
+"6     c #828279",
+"7     c #AD8E30",
+"8     c #756020",
+"9     c #C5C5BF",
+"0     c #A7A79A",
+"a     c #818174",
+"b     c #DFE1E1",
+"c     c #D6E1E0",
+"d     c #060605",
+"e     c #A3A395",
+"f     c #C8C8C8",
+"g     c #8B8B7D",
+"h     c #7E7E71",
+"i     c #B2B9B6",
+"j     c #D9D9D2",
+"k     c #D9D9D3",
+"l     c #DADAD4",
+"m     c #DADAD9",
+"n     c #DADADA",
+"                        ",
+"                        ",
+"                        ",
+"             ..         ",
+"           ..+@.     .  ",
+"         ..#+++.    .$. ",
+"      ...%+++++&.  .$*. ",
+"    ..#++++=+-++. .$*.  ",
+"   .%++++;+>+=,+'.$*.   ",
+"   .)++++!~+{,++.$*.    ",
+"    .++]^/+(+++.$*.     ",
+"    .%_:<[++++.$*.>.    ",
+"     .+}|/+++.$*.=+1.   ",
+"     .)+++++.2*.>3456.  ",
+"      .+++]78..90000a.  ",
+"      .%+bcd.ee0000f.   ",
+"       .+0ghijkl+m..    ",
+"       .)+++++++f.      ",
+"        .++++++..       ",
+"        .%+++f.         ",
+"         .+n..          ",
+"          ..            ",
+"                        ",
+"                        "};
diff --git a/src/pixmaps/properties.xpm b/src/pixmaps/properties.xpm
new file mode 100644 (file)
index 0000000..79a90f4
--- /dev/null
@@ -0,0 +1,140 @@
+/* XPM */
+static char * properties_xpm[] = {
+"24 24 113 2",
+"      c None",
+".     c #000000",
+"+     c #ADAD9C",
+"@     c #959585",
+"#     c #DCDCC5",
+"$     c #DFDFC8",
+"%     c #242424",
+"&     c #A7A796",
+"*     c #D7D7C1",
+"=     c #D9D9C3",
+"-     c #DCDCC4",
+";     c #DDDDC7",
+">     c #E1E1CA",
+",     c #D8BE6A",
+"'     c #A6A694",
+")     c #D6D6BF",
+"!     c #D8D8C2",
+"~     c #DBDBC4",
+"{     c #A2A291",
+"]     c #E3E3CB",
+"^     c #B2B29F",
+"/     c #8E7D45",
+"(     c #7C7C7C",
+"_     c #646464",
+":     c #D5D5BD",
+"<     c #D5D5BF",
+"[     c #D7D7C0",
+"}     c #9E9E8D",
+"|     c #ABAB98",
+"1     c #E1E1C9",
+"2     c #E5E5CD",
+"3     c #E9E9D1",
+"4     c #343434",
+"5     c #E7E7E7",
+"6     c #373736",
+"7     c #B8B8A6",
+"8     c #D3D3BC",
+"9     c #909081",
+"0     c #9F9F8E",
+"a     c #DDDDC5",
+"b     c #E0E0C8",
+"c     c #A2A292",
+"d     c #ECECD4",
+"e     c #EEEED5",
+"f     c #ECECEC",
+"g     c #EDEDED",
+"h     c #3D3D37",
+"i     c #8A8A7A",
+"j     c #E6E6CE",
+"k     c #9A9A8A",
+"l     c #EAEAD2",
+"m     c #EEEEE5",
+"n     c #3C3C3C",
+"o     c #8F8F80",
+"p     c #D0D0B9",
+"q     c #999988",
+"r     c #ECECD3",
+"s     c #EFEFD6",
+"t     c #EEEEE6",
+"u     c #505050",
+"v     c #929282",
+"w     c #D1D1B9",
+"x     c #969686",
+"y     c #E7E7CF",
+"z     c #EBEBD2",
+"A     c #F5F5DC",
+"B     c #D2D2BC",
+"C     c #E9E9D0",
+"D     c #EDEDD4",
+"E     c #E3E3DC",
+"F     c #797973",
+"G     c #D8D8C1",
+"H     c #919182",
+"I     c #949484",
+"J     c #EAEAD1",
+"K     c #D9D9CC",
+"L     c #BFBFB0",
+"M     c #ACACA5",
+"N     c #9F9F93",
+"O     c #98988F",
+"P     c #E4E4CC",
+"Q     c #AD8E30",
+"R     c #756020",
+"S     c #C4C4B0",
+"T     c #9D9D8D",
+"U     c #818174",
+"V     c #DFDFC7",
+"W     c #E2E2CA",
+"X     c #060605",
+"Y     c #9B9B8B",
+"Z     c #9C9C8C",
+"`     c #BEBEAE",
+" .    c #8B8B7D",
+"..    c #7E7E71",
+"+.    c #C0C0AC",
+"@.    c #C2C2AE",
+"#.    c #C3C3AF",
+"$.    c #DADAC3",
+"%.    c #4E4E4E",
+"&.    c #E8E8D0",
+"*.    c #A0A090",
+"=.    c #F2F2D9",
+"-.    c #F3F3DA",
+";.    c #F4F4DB",
+">.    c #828274",
+",.    c #EBEBD3",
+"'.    c #F1F1D8",
+").    c #F0F0D7",
+"!.    c #A5A594",
+"~.    c #BBBBA8",
+"{.    c #CDCDB8",
+"].    c #4D4D45",
+"^.    c #A6A696",
+"                                                ",
+"                                                ",
+"                          .                     ",
+"                      . . + .                   ",
+"                  . . @ # $ %             .     ",
+"              . . & * = - ; > .         . , .   ",
+"          . . ' ) * * ! ~ { ] ^ .     . , / .   ",
+"        . ( _ ) : < [ } | 1 2 3 4   . , / .     ",
+"        . 5 6 7 8 9 0 a b 2 c d e . , / .       ",
+"        . f g h i < ~ b j k l e . , / .         ",
+"        . m m n o p b q q r s . , / .           ",
+"        . t u v w - x y z e . , / . A .         ",
+"        . . x B ~ x ] C D . , / . A A E .       ",
+"        . F G H I > y J . , / . A K L M N .     ",
+"        . O ~ # $ P y Q R . . S T T T T U .     ",
+"          . V b W 2 3 X . Y Z T T T T . .       ",
+"          . ` 2 2 T  ...+.@.#.S A $..           ",
+"            %.&.*.l D s =.-.;.=.>..             ",
+"            . ,.d D s '.=.=.$..                 ",
+"              . s ).'.=.3 !..                   ",
+"              . ~.=.-.{.]..                     ",
+"                . -.^..                         ",
+"                  . .                           ",
+"                                                "};
diff --git a/src/pixmaps/search.xpm b/src/pixmaps/search.xpm
new file mode 100644 (file)
index 0000000..f65b6d5
--- /dev/null
@@ -0,0 +1,155 @@
+/* XPM */
+static char * search_xpm[] = {
+"24 24 128 2",
+"      c None",
+".     c #000000",
+"+     c #ADAD9C",
+"@     c #959585",
+"#     c #DCDCC5",
+"$     c #DFDFC8",
+"%     c #242424",
+"&     c #A7A796",
+"*     c #D7D7C1",
+"=     c #D9D9C3",
+"-     c #DCDCC4",
+";     c #DDDDC7",
+">     c #E1E1CA",
+",     c #A6A694",
+"'     c #D6D6BF",
+")     c #D8D8C2",
+"!     c #DBDBC4",
+"~     c #DFDFC7",
+"{     c #E3E3CB",
+"]     c #B2B29F",
+"^     c #7C7C7C",
+"/     c #646464",
+"(     c #D5D5BD",
+"_     c #D5D5BF",
+":     c #D7D7C0",
+"<     c #DADAC3",
+"[     c #DEDEC6",
+"}     c #E1E1C9",
+"|     c #E5E5CD",
+"1     c #E9E9D1",
+"2     c #343434",
+"3     c #E7E7E7",
+"4     c #373736",
+"5     c #B8B8A6",
+"6     c #D3D3BC",
+"7     c #D9D9C2",
+"8     c #DDDDC5",
+"9     c #E0E0C8",
+"0     c #E8E8D0",
+"a     c #ECECD4",
+"b     c #EEEED5",
+"c     c #ECECEC",
+"d     c #EDEDED",
+"e     c #3D3D37",
+"f     c #CECEB7",
+"g     c #E6E6CE",
+"h     c #EAEAD2",
+"i     c #F1F1D8",
+"j     c #A5A594",
+"k     c #EEEEE5",
+"l     c #3C3C3C",
+"m     c #8F8F80",
+"n     c #D0D0B9",
+"o     c #B4B4A0",
+"p     c #46463E",
+"q     c #090908",
+"r     c #4A4A42",
+"s     c #C1C1AD",
+"t     c #F2F2D9",
+"u     c #F3F3DA",
+"v     c #EEEEE6",
+"w     c #505050",
+"x     c #929282",
+"y     c #D1D1B9",
+"z     c #B0B09D",
+"A     c #33332D",
+"B     c #9D9D8D",
+"C     c #CFCFB9",
+"D     c #C4C4AF",
+"E     c #8D8D7F",
+"F     c #34342F",
+"G     c #C3C3AF",
+"H     c #F4F4DB",
+"I     c #F5F5DC",
+"J     c #969686",
+"K     c #D2D2BC",
+"L     c #45453E",
+"M     c #9C9C8C",
+"N     c #E2E2D0",
+"O     c #EDEDE5",
+"P     c #C0C0AC",
+"Q     c #828274",
+"R     c #4B4B43",
+"S     c #BEBEAB",
+"T     c #797973",
+"U     c #D8D8C1",
+"V     c #DDDDC6",
+"W     c #080807",
+"X     c #FBFBFA",
+"Y     c #C3C3AE",
+"Z     c #B5B5A2",
+"`     c #A6A695",
+" .    c #959586",
+"..    c #98988F",
+"+.    c #080808",
+"@.    c #CACAB5",
+"#.    c #DDDDD0",
+"$.    c #B7B7A4",
+"%.    c #AAAA98",
+"&.    c #9B9B8B",
+"*.    c #8C8C7D",
+"=.    c #818174",
+"-.    c #E2E2CA",
+";.    c #46463F",
+">.    c #929283",
+",.    c #BABAA7",
+"'.    c #ADAD9B",
+").    c #9F9F8E",
+"!.    c #909081",
+"~.    c #727266",
+"{.    c #4B4B44",
+"].    c #BEBEAE",
+"^.    c #33332E",
+"/.    c #878779",
+"(.    c #A0A090",
+"_.    c #737367",
+":.    c #4E4E4E",
+"<.    c #BEBEAA",
+"[.    c #404040",
+"}.    c #6F6F6F",
+"|.    c #EBEBD3",
+"1.    c #EDEDD4",
+"2.    c #EFEFD6",
+"3.    c #F0F0D7",
+"4.    c #BBBBA8",
+"5.    c #CDCDB8",
+"6.    c #4D4D45",
+"7.    c #A6A696",
+"                                                ",
+"                                                ",
+"                          .                     ",
+"                      . . + .                   ",
+"                  . . @ # $ %                   ",
+"              . . & * = - ; > .                 ",
+"          . . , ' * * ) ! ~ { ] .               ",
+"        . ^ / ' ( _ : < [ } | 1 2               ",
+"        . 3 4 5 6 * 7 8 9 | 0 a b .             ",
+"        . c d e f _ ! 9 g 0 h b i j .           ",
+"        . k k l m n o p q q r s t u .           ",
+"        . v w x y z A B C D E F G H I .         ",
+"        . . J K ! L M N O P ] Q R I I S .       ",
+"        . T U 7 V W _ X Y Z `  .q I I I ) .     ",
+"        . ..! # $ +.@.#.$.%.&.*.q I I I =..     ",
+"          . ~ 9 -.;.>.,.'.).!.~.{.I I . .       ",
+"          . ].| | ,.^./.(.>._.. . < .           ",
+"            :.0 1 h <.r q q [.}.. .             ",
+"            . |.a 1.2.i t t < . . . .           ",
+"              . 2.3.i t 1 j .     . . .         ",
+"              . 4.t u 5.6..         . . .       ",
+"                . u 7..               . .       ",
+"                  . .                           ",
+"                                                "};
diff --git a/src/pixmaps/sylpheed_logo.xpm b/src/pixmaps/sylpheed_logo.xpm
new file mode 100644 (file)
index 0000000..d727c39
--- /dev/null
@@ -0,0 +1,53 @@
+/* XPM */
+static char * sylpheed_logo_xpm[] = {
+"128 40 10 1",
+"      c None",
+".     c #969696",
+"+     c #808080",
+"@     c #404040",
+"#     c #565656",
+"$     c #ABABAB",
+"%     c #000000",
+"&     c #161616",
+"*     c #2B2B2B",
+"=     c #6B6B6B",
+"               .+@@@#++$        $                                                                                               ",
+"            $#%%%%%%%%%%%&@@@@@&$                                                                                               ",
+"           #%%*@@@@%%%%%%%%%&@+                                                                                                 ",
+"         $&@.                                                                                                                 ..",
+"         *+                                         +                      +=                                                +%$",
+"        =#                                        $@*                    $=%=                                             $#*%@ ",
+"        @                                       .*%%+                  .&%%&                                               $%%. ",
+"        @                                        $%&                     %%=                                               +%*  ",
+"        +                                        =%=                    .%&                                                @%+  ",
+"        +        ++@++                           *%$                    *%=                                                %&   ",
+"        #      =#+.+#%&=                        .%#                    .%&                                                =%=   ",
+"        #$   $+      $&%@                       *%.                    *%=                                                *%    ",
+"         #   $        $&%#                     .%*                    $%%$                                               .%#    ",
+"         $#      .$    =%%.                    *%.                    #%#                                                *%$    ",
+"           ==++==$     $%%@                   $%*                    $%%$                                               .%#     ",
+"                        %%%     $$       $    #%=           .+.      #%@               +.           +.               $+$*%.     ",
+"                        %%%    #%@     =%#   $%&    $*@   =&%%%+    $%%.  $=&%#     .=@@&%=      .=@@&%=          +#=. .%*      ",
+"                        %%%  .@%%.     &%.   #%=   +&%@ $&%@@&%@    #%* $##.&%=    +$   $&%=    +$   $&%=      $#*.    *%.      ",
+"                       +%%% $..%*     =%*   $%&  .+ @%+$*=   @%@   $%%.=#$ $%%   $#      +%%  $#      +%%     +&+     .%*       ",
+"    ++++$              =%%@   *%.     &%.   #%=     %&$#$    %%=   #%&#$   #%#  $*$       %% $*$       %%    #&$      *%=       ",
+"  =%%%%%%*=            *%%+  .%*     =%*   $%%$    +%#=     .%%$   &%@     %%$  *=       =%# *=       =%#   @%$      +%&        ",
+" @%&=+++#*%&=         .%%&   *%.     &%+   #%#     @%@$     #%@   =%*     =%#  =%      =*#$ =%      =*#$   +%=      $&%=        ",
+"+%&$       +@&.       *%%+  =%*     =%&    &%$     %%.     $%%$   &%.     &%$  **   .=#.    **   .=#.     $%*       @%&         ",
+"+%$          $##     #%%#   &%+     &%=   =%#     +%@      *%+   =%*     #%#   %@  $$       %@  $$        #%=      #&%#         ",
+".@             +#   +%%@   =%&    $&%&    &%.     *%$     @%+    &%.    $%%$   %&           %&           $%%$     #+%%$         ",
+" #$             $# @%%+    &%=   .#&%=   =%*     $%#     @%+    =%*     @%@    %%.          %%.          =%%     @+*%# $        ",
+"  #$             #%%*$    +%&   +=.%&    &%.$=   #%.   $**$     &%.    .%%.$+  #%&      +$  #%&      +$  @%%$  =&+$%%$+.        ",
+"   =#$        .#&%@=      +%* +@+ *%=   +%%@#   $%*  $#*.      +%*     @%%@+   $&%&+$.==$   $&%&+$.==$   #%%*@%&$ +%%*$         ",
+"     +##@+@@@&@@=$ +      $#%&#$ .%&    +%&+  .+@%##@=.        @%.     @%*$     $@%%%*.      $@%%%*.     $&%%*=   +%#           ",
+"                    +            *%=     +     +%*+$                                                                            ",
+"                    .           .%&            .%=                                                                              ",
+"                                *%=            *&                                                                               ",
+"                               .%&            .%=                                                                               ",
+"                        .#@*@#=%%#            *&                                                                                ",
+"                      .*%=$   .%&$+$         .%#                                                                                ",
+"                     .%&$     &%.            &%$                                                                                ",
+"                     *%.     @%+            =%#                                                                                 ",
+"                     %%     @&+             &%$                                                                                 ",
+"                     @%+  =&#$             =%*                                                                                  ",
+"                      +=@=+               $%%.                                                                                  "};
diff --git a/src/pixmaps/trash_hrm.xpm b/src/pixmaps/trash_hrm.xpm
new file mode 100644 (file)
index 0000000..e81a9dc
--- /dev/null
@@ -0,0 +1,30 @@
+/* XPM */
+static char * trash_hrm_xpm[] = {
+"16 16 11 1",
+"      c None",
+".     c #000000",
+"+     c #EB6C8D",
+"@     c #E65F7C",
+"#     c #852C3F",
+"$     c #6C1F30",
+"%     c #5A151D",
+"&     c #D43B6A",
+"*     c #F1809B",
+"=     c #752637",
+"-     c #A93262",
+"                ",
+"   ......       ",
+" ..++@#@@..     ",
+".@+++$%@@@&.    ",
+".&+**@@@@&=.    ",
+".=&@@&&==$$.    ",
+" .#&==--$$.     ",
+" .=$$$$$$=.     ",
+" .=+-@-&-=....  ",
+" .=+-@-&-=..... ",
+" .=+-@-&-=..... ",
+" .&+-@-&-=....  ",
+"  .&&&=&=...    ",
+"   .......      ",
+"                ",
+"                "};
diff --git a/src/pixmaps/up_arrow.xpm b/src/pixmaps/up_arrow.xpm
new file mode 100644 (file)
index 0000000..e1546c5
--- /dev/null
@@ -0,0 +1,100 @@
+/* XPM */
+static char * up_arrow_xpm[] = {
+"24 24 73 1",
+"      c None",
+".     c #000000",
+"+     c #1D1D1D",
+"@     c #D6D9D5",
+"#     c #94A989",
+"$     c #060606",
+"%     c #DCDDDA",
+"&     c #92AB87",
+"*     c #E2E0E0",
+"=     c #E3E2E2",
+"-     c #97B08D",
+";     c #6A875B",
+">     c #030303",
+",     c #E9E8E8",
+"'     c #EAE9EA",
+")     c #9DB591",
+"!     c #8CA480",
+"~     c #EEECEE",
+"{     c #F0ECF0",
+"]     c #99B48C",
+"^     c #91AA85",
+"/     c #678458",
+"(     c #010101",
+"_     c #EBEAEA",
+":     c #F0EEF0",
+"<     c #F3EFF3",
+"[     c #95B487",
+"}     c #92AE85",
+"|     c #759267",
+"1     c #E4E3E3",
+"2     c #EFECEE",
+"3     c #F3EFF2",
+"4     c #F6F2F6",
+"5     c #91B182",
+"6     c #90AE81",
+"7     c #859F76",
+"8     c #688559",
+"9     c #ECEAEB",
+"0     c #F1EDF0",
+"a     c #F4F0F4",
+"b     c #8BAE7B",
+"c     c #8BAD7B",
+"d     c #8EAA81",
+"e     c #7A956D",
+"f     c #E2E1E1",
+"g     c #EFECEF",
+"h     c #F2EFF2",
+"i     c #F5F1F5",
+"j     c #8AAD7A",
+"k     c #8AAC7A",
+"l     c #8DAD7F",
+"m     c #8AA67F",
+"n     c #69875B",
+"o     c #D9D9D7",
+"p     c #E5E4E3",
+"q     c #ECEBEB",
+"r     c #EAE9E9",
+"s     c #E7E7E7",
+"t     c #8FAE81",
+"u     c #90AE83",
+"v     c #8BAB7E",
+"w     c #89A67C",
+"x     c #718E62",
+"y     c #B9BEB5",
+"z     c #BBBFB7",
+"A     c #BDC1B8",
+"B     c #BFC3BB",
+"C     c #BEC2BA",
+"D     c #BEC2BB",
+"E     c #739264",
+"F     c #739364",
+"G     c #729063",
+"H     c #607C53",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"           ..           ",
+"           ..           ",
+"          +@#$          ",
+"          .%&.          ",
+"         .*=-;.         ",
+"         >,')!.         ",
+"        .=~{]^/.        ",
+"        (_:<[}|.        ",
+"       .12345678.       ",
+"       .90a4bcde.       ",
+"      .fghiajklmn.      ",
+"      .opqrstuvwx.      ",
+"     .yzABCDEEFG8H.     ",
+"     ..............     ",
+"                        ",
+"                        ",
+"                        ",
+"                        ",
+"                        "};
index 71c847a..a3de3b0 100644 (file)
@@ -53,6 +53,7 @@
 #include "folder.h"
 #include "filesel.h"
 #include "folderview.h"
+#include "stock_pixmap.h"
 
 #if USE_PSPELL
 #include "gtkspell.h"
@@ -200,6 +201,8 @@ static struct Interface {
        GtkWidget *checkbtn_addaddrbyclick;
        GtkWidget *optmenu_recvdialog;
        GtkWidget *optmenu_nextunreadmsgdialog;
+       GtkWidget *entry_pixmap_theme;
+       GtkWidget *combo_pixmap_theme;
 } interface;
 
 static struct Other {
@@ -687,7 +690,10 @@ static PrefParam param[] = {
        {"add_address_by_click", "FALSE", &prefs_common.add_address_by_click,
         P_BOOL, &interface.checkbtn_addaddrbyclick,
         prefs_set_data_from_toggle, prefs_set_toggle},
-
+       {"pixmap_theme_path", DEFAULT_PIXMAP_THEME, 
+        &prefs_common.pixmap_theme_path, P_STRING,
+        &interface.entry_pixmap_theme, prefs_set_data_from_entry, prefs_set_entry},
+       
        /* Other */
        {"uri_open_command", "netscape -remote 'openURL(%s,raise)'",
         &prefs_common.uri_cmd, P_STRING,
@@ -1560,8 +1566,8 @@ static void prefs_spelling_create()
 static void prefs_compose_create(void)
 {
        GtkWidget *vbox1;
-        GtkWidget *vbox2;
-        GtkWidget *vbox3;
+       GtkWidget *vbox2;
+       GtkWidget *vbox3;
        GtkWidget *hbox1;
        GtkWidget *hbox2;
        GtkWidget *btn_quotefmt;
@@ -1577,8 +1583,8 @@ static void prefs_compose_create(void)
        GtkWidget *checkbtn_autoextedit;
 
        GtkWidget *frame_autosel;
-        GtkWidget *hbox_autosel;
-        GtkWidget *vbox_autosel;
+       GtkWidget *hbox_autosel;
+       GtkWidget *vbox_autosel;
        GtkWidget *checkbtn_reply_account_autosel;
        GtkWidget *checkbtn_forward_account_autosel;
        GtkWidget *checkbtn_reedit_account_autosel;
@@ -2389,6 +2395,12 @@ static void prefs_interface_create(void)
        GtkWidget *optmenu_nextunreadmsgdialog_menu;
        GtkWidget *nextunreadmsgdialog_menuitem;
 
+       GtkWidget *frame_pixmap_theme;
+       GtkWidget *vbox_pixmap_theme;
+       GtkWidget *entry_pixmap_theme;
+       GtkWidget *combo_pixmap_theme;
+       GList *avail_pixmap_themes = NULL;
+
        vbox1 = gtk_vbox_new (FALSE, VSPACING);
        gtk_widget_show (vbox1);
        gtk_container_add (GTK_CONTAINER (dialog.notebook), vbox1);
@@ -2521,6 +2533,22 @@ static void prefs_interface_create(void)
        gtk_box_pack_start (GTK_BOX (hbox1), button_keybind, FALSE, FALSE, 0);
        gtk_signal_connect (GTK_OBJECT (button_keybind), "clicked",
                            GTK_SIGNAL_FUNC (prefs_keybind_select), NULL);
+
+       PACK_FRAME(vbox1, frame_pixmap_theme, "Pixmap theme");
+       
+       vbox_pixmap_theme = gtk_vbox_new(FALSE, 0);
+       gtk_widget_show(vbox_pixmap_theme);
+       gtk_container_add(GTK_CONTAINER(frame_pixmap_theme), vbox_pixmap_theme);
+       gtk_container_set_border_width(GTK_CONTAINER(vbox_pixmap_theme), 8);
+       stock_pixmap_get_themes(&avail_pixmap_themes);
+       combo_pixmap_theme = gtk_combo_new ();
+       gtk_widget_show (combo_pixmap_theme);
+       gtk_box_pack_start (GTK_BOX (vbox_pixmap_theme), combo_pixmap_theme, TRUE, TRUE, 0);
+       gtk_combo_set_popdown_strings(GTK_COMBO(combo_pixmap_theme), avail_pixmap_themes);
+       entry_pixmap_theme = GTK_COMBO (combo_pixmap_theme)->entry;
+
        /* interface.checkbtn_emacs          = checkbtn_emacs; */
        interface.checkbtn_openunread         = checkbtn_openunread;
        interface.checkbtn_openinbox          = checkbtn_openinbox;
@@ -2528,6 +2556,8 @@ static void prefs_interface_create(void)
        interface.optmenu_recvdialog          = optmenu_recvdialog;
        interface.checkbtn_addaddrbyclick     = checkbtn_addaddrbyclick;
        interface.optmenu_nextunreadmsgdialog = optmenu_nextunreadmsgdialog;
+       interface.combo_pixmap_theme            = combo_pixmap_theme;
+       interface.entry_pixmap_theme            = entry_pixmap_theme;
 }
 
 static void prefs_other_create(void)
@@ -3963,6 +3993,8 @@ static void prefs_common_apply(void)
 {
        prefs_set_data_from_dialog(param);
        main_window_reflect_prefs_all();
+       main_window_reflect_prefs_pixmap_theme();
+       compose_reflect_prefs_pixmap_theme();
        prefs_common_save_config();
 
        inc_autocheck_timer_remove();
index d7af40a..8be868a 100644 (file)
@@ -209,6 +209,7 @@ struct _PrefsCommon
        RecvDialogMode recv_dialog_mode;
        NextUnreadMsgDialogShow next_unread_msg_dialog;
        gboolean add_address_by_click;
+       gchar *pixmap_theme_path;
 
        /* Other */
        gchar *uri_cmd;
index 9b17e76..1fded9c 100644 (file)
 #include <glib.h>
 #include <gtk/gtkwidget.h>
 #include <gtk/gtkpixmap.h>
+#include <string.h>
+#include <dirent.h>
 
 #include "stock_pixmap.h"
 #include "gtkutils.h"
+#include "prefs_common.h"
+#include "defs.h"
 
 #include "pixmaps/address.xpm"
 #include "pixmaps/book.xpm"
 #include "pixmaps/complete.xpm"
 #include "pixmaps/continue.xpm"
 #include "pixmaps/deleted.xpm"
-#include "pixmaps/dir-close.xpm"
-#include "pixmaps/dir-open.xpm"
-#include "pixmaps/dir-open-hrm.xpm"
+#include "pixmaps/dir_close.xpm"
+#include "pixmaps/dir_open.xpm"
+#include "pixmaps/dir_open_hrm.xpm"
 #include "pixmaps/error.xpm"
 #include "pixmaps/forwarded.xpm"
 #include "pixmaps/group.xpm"
 #include "pixmaps/inbox.xpm"
-#include "pixmaps/inbox-hrm.xpm"
+#include "pixmaps/inbox_hrm.xpm"
 #include "pixmaps/interface.xpm"
 #include "pixmaps/jpilot.xpm"
 #include "pixmaps/key.xpm"
 #include "pixmaps/locked.xpm"
 #include "pixmaps/new.xpm"
 #include "pixmaps/outbox.xpm"
-#include "pixmaps/outbox-hrm.xpm"
+#include "pixmaps/outbox_hrm.xpm"
 #include "pixmaps/replied.xpm"
-#include "pixmaps/stock_close.xpm"
-#include "pixmaps/stock_down_arrow.xpm"
-#include "pixmaps/stock_exec.xpm"
-#include "pixmaps/stock_mail.xpm"
-#include "pixmaps/stock_mail_attach.xpm"
-#include "pixmaps/stock_mail_compose.xpm"
-#include "pixmaps/stock_mail_forward.xpm"
-#include "pixmaps/stock_mail_receive.xpm"
-#include "pixmaps/stock_mail_receive_all.xpm"
-#include "pixmaps/stock_mail_reply.xpm"
-#include "pixmaps/stock_mail_reply_to_all.xpm"
-#include "pixmaps/stock_mail_reply_to_author.xpm"
-#include "pixmaps/stock_mail_send.xpm"
-#include "pixmaps/stock_mail_send_queue.xpm"
-#include "pixmaps/stock_news_compose.xpm"
-#include "pixmaps/stock_paste.xpm"
-#include "pixmaps/stock_preferences.xpm"
-#include "pixmaps/stock_properties.xpm"
-#include "pixmaps/sylpheed-logo.xpm"
-#include "pixmaps/tb_address_book.xpm"
+#include "pixmaps/close.xpm"
+#include "pixmaps/down_arrow.xpm"
+#include "pixmaps/exec.xpm"
+#include "pixmaps/mail.xpm"
+#include "pixmaps/mail_attach.xpm"
+#include "pixmaps/mail_compose.xpm"
+#include "pixmaps/mail_forward.xpm"
+#include "pixmaps/mail_receive.xpm"
+#include "pixmaps/mail_receive_all.xpm"
+#include "pixmaps/mail_reply.xpm"
+#include "pixmaps/mail_reply_to_all.xpm"
+#include "pixmaps/mail_reply_to_author.xpm"
+#include "pixmaps/mail_send.xpm"
+#include "pixmaps/mail_send_queue.xpm"
+#include "pixmaps/news_compose.xpm"
+#include "pixmaps/paste.xpm"
+#include "pixmaps/preferences.xpm"
+#include "pixmaps/properties.xpm"
+#include "pixmaps/sylpheed_logo.xpm"
+#include "pixmaps/address_book.xpm"
 #include "pixmaps/trash.xpm"
-#include "pixmaps/trash-hrm.xpm"
+#include "pixmaps/trash_hrm.xpm"
 #include "pixmaps/unread.xpm"
 #include "pixmaps/vcard.xpm"
 #include "pixmaps/ignorethread.xpm"
@@ -86,64 +90,83 @@ struct _StockPixmapData
        gchar **data;
        GdkPixmap *pixmap;
        GdkBitmap *mask;
+       gchar *file;
+       gchar *icon_path;
 };
 
+static void stock_pixmap_find_themes_in_dir(GList **list, const gchar *dirname);
+
 static StockPixmapData pixmaps[] =
 {
-       {address_xpm                    , NULL, NULL},
-       {book_xpm                       , NULL, NULL},
-       {category_xpm                   , NULL, NULL},
-       {checkbox_off_xpm               , NULL, NULL},
-       {checkbox_on_xpm                , NULL, NULL},
-       {clip_xpm                       , NULL, NULL},
-       {clipkey_xpm                    , NULL, NULL},
-       {complete_xpm                   , NULL, NULL},
-       {continue_xpm                   , NULL, NULL},
-       {deleted_xpm                    , NULL, NULL},
-       {dir_close_xpm                  , NULL, NULL},
-       {dir_open_xpm                   , NULL, NULL},
-       {dir_open_hrm_xpm               , NULL, NULL},
-       {error_xpm                      , NULL, NULL},
-       {forwarded_xpm                  , NULL, NULL},
-       {group_xpm                      , NULL, NULL},
-       {inbox_xpm                      , NULL, NULL},
-       {inbox_hrm_xpm                  , NULL, NULL},
-       {interface_xpm                  , NULL, NULL},
-       {jpilot_xpm                     , NULL, NULL},
-       {key_xpm                        , NULL, NULL},
-       {ldap_xpm                       , NULL, NULL},
-       {linewrap_xpm                   , NULL, NULL},
-       {mark_xpm                       , NULL, NULL},
-       {locked_xpm                     , NULL, NULL},
-       {new_xpm                        , NULL, NULL},
-       {outbox_xpm                     , NULL, NULL},
-       {outbox_hrm_xpm                 , NULL, NULL},
-       {replied_xpm                    , NULL, NULL},
-       {stock_close_xpm                , NULL, NULL},
-       {stock_down_arrow_xpm           , NULL, NULL},
-       {stock_exec_xpm                 , NULL, NULL},
-       {stock_mail_xpm                 , NULL, NULL},
-       {stock_mail_attach_xpm          , NULL, NULL},
-       {stock_mail_compose_xpm         , NULL, NULL},
-       {stock_mail_forward_xpm         , NULL, NULL},
-       {stock_mail_receive_xpm         , NULL, NULL},
-       {stock_mail_receive_all_xpm     , NULL, NULL},
-       {stock_mail_reply_xpm           , NULL, NULL},
-       {stock_mail_reply_to_all_xpm    , NULL, NULL},
-       {stock_mail_reply_to_author_xpm , NULL, NULL},
-       {stock_mail_send_xpm            , NULL, NULL},
-       {stock_mail_send_queue_xpm      , NULL, NULL},
-       {stock_news_compose_xpm         , NULL, NULL},
-       {stock_paste_xpm                , NULL, NULL},
-       {stock_preferences_xpm          , NULL, NULL},
-       {stock_properties_xpm           , NULL, NULL},
-       {sylpheed_logo_xpm              , NULL, NULL},
-       {tb_address_book_xpm            , NULL, NULL},
-       {trash_xpm                      , NULL, NULL},
-       {trash_hrm_xpm                  , NULL, NULL},
-       {unread_xpm                     , NULL, NULL},
-       {vcard_xpm                      , NULL, NULL},
-       {ignorethread_xpm               , NULL, NULL},
+       {address_xpm                    , NULL, NULL, "address", "  "},
+       {address_book_xpm               , NULL, NULL, "address_book", "  "},
+       {book_xpm                               , NULL, NULL, "book", "  "},
+       {category_xpm                   , NULL, NULL, "category", "  "},
+       {checkbox_off_xpm               , NULL, NULL, "checkbox_off", "  "},
+       {checkbox_on_xpm                , NULL, NULL, "checkbox_on", "  "},
+       {clip_xpm                               , NULL, NULL, "clip", "  "},
+       {clipkey_xpm                    , NULL, NULL, "clipkey", "  "},
+       {close_xpm                              , NULL, NULL, "close", "  "},
+       {complete_xpm                   , NULL, NULL, "complete", "  "},
+       {continue_xpm                   , NULL, NULL, "continue", "  "},
+       {deleted_xpm                    , NULL, NULL, "deleted", "  "},
+       {dir_close_xpm                  , NULL, NULL, "dir_close", "  "},
+       {dir_close_xpm                  , NULL, NULL, "dir_close_hrm", " "},
+       {dir_open_xpm                   , NULL, NULL, "dir_open", "  "},
+       {dir_open_hrm_xpm               , NULL, NULL, "dir_open_hrm", "  "},
+       {down_arrow_xpm                 , NULL, NULL, "down_arrow", "  "},
+       {mail_compose_xpm               , NULL, NULL, "edit_extern", "  "},
+       {error_xpm                              , NULL, NULL, "error", "  "},
+       {exec_xpm                               , NULL, NULL, "exec", "  "},
+       {forwarded_xpm                  , NULL, NULL, "forwarded", "  "},
+       {group_xpm                              , NULL, NULL, "group", "  "},
+       {ignorethread_xpm               , NULL, NULL, "ignorethread", "  "},
+       {inbox_xpm                              , NULL, NULL, "inbox_close", "  "},
+       {inbox_hrm_xpm                  , NULL, NULL, "inbox_close_hrm", "  "},
+       {inbox_xpm                              , NULL, NULL, "inbox_open", "  "},
+       {inbox_hrm_xpm                  , NULL, NULL, "inbox_open_hrm", "  "},
+       {paste_xpm                              , NULL, NULL, "insert_file", "  "},
+       {interface_xpm                  , NULL, NULL, "interface", "  "},
+       {jpilot_xpm                             , NULL, NULL, "jpilot", "  "},
+       {key_xpm                                , NULL, NULL, "key", "  "},
+       {ldap_xpm                               , NULL, NULL, "ldap", "  "},
+       {linewrap_xpm                   , NULL, NULL, "linewrap", "  "},
+       {locked_xpm                             , NULL, NULL, "locked", "  "},
+       {mail_xpm                               , NULL, NULL, "mail", "  "},
+       {mail_attach_xpm                , NULL, NULL, "mail_attach", "  "},
+       {mail_compose_xpm               , NULL, NULL, "mail_compose", "  "},
+       {mail_forward_xpm               , NULL, NULL, "mail_forward", "  "},
+       {mail_receive_xpm               , NULL, NULL, "mail_receive", "  "},
+       {mail_receive_all_xpm   , NULL, NULL, "mail_receive_all", "  "},
+       {mail_reply_xpm                 , NULL, NULL, "mail_reply", "  "},
+       {mail_reply_to_all_xpm  , NULL, NULL, "mail_reply_to_all", "  "},
+       {mail_reply_to_author_xpm
+                                                       , NULL, NULL, "mail_reply_to_author", "  "},
+       {mail_send_xpm                  , NULL, NULL, "mail_send", "  "},
+       {mail_send_queue_xpm    , NULL, NULL, "mail_send_queue", "  "},
+       {mail_xpm                               , NULL, NULL, "mail_sign", "  "},
+       {mark_xpm                               , NULL, NULL, "mark", "  "},
+       {new_xpm                                , NULL, NULL, "new", "  "},
+       {news_compose_xpm               , NULL, NULL, "news_compose", "  "},
+       {outbox_xpm                             , NULL, NULL, "outbox_close", "  "},
+       {outbox_hrm_xpm                 , NULL, NULL, "outbox_close_hrm", "  "},
+       {outbox_xpm                             , NULL, NULL, "outbox_open", "  "},
+       {outbox_hrm_xpm                 , NULL, NULL, "outbox_open_hrm", "  "},
+       {replied_xpm                    , NULL, NULL, "replied", "  "},
+       {paste_xpm                              , NULL, NULL, "paste", "  "},
+       {preferences_xpm                , NULL, NULL, "preferences", "  "},
+       {properties_xpm                 , NULL, NULL, "properties", "  "},
+       {outbox_xpm                             , NULL, NULL, "queue_close", "  "},
+       {outbox_hrm_xpm                 , NULL, NULL, "queue_close_hrm", "  "},
+       {outbox_xpm                             , NULL, NULL, "queue_open", "  "},
+       {outbox_hrm_xpm                 , NULL, NULL, "queue_open_hrm", "  "},
+       {sylpheed_logo_xpm              , NULL, NULL, "sylpheed_logo", "  "},
+       {trash_xpm                              , NULL, NULL, "trash_open", "  "},
+       {trash_hrm_xpm                  , NULL, NULL, "trash_open_hrm", "  "},
+       {trash_xpm                              , NULL, NULL, "trash_close", "  "},
+       {trash_hrm_xpm                  , NULL, NULL, "trash_close_hrm", "  "},
+       {unread_xpm                             , NULL, NULL, "unread", "  "},
+       {vcard_xpm                              , NULL, NULL, "vcard", "  "},
 };
 
 /* return newly constructed GtkPixmap from GdkPixmap */
@@ -173,13 +196,86 @@ gint stock_pixmap_gdk(GtkWidget *window, StockPixmap icon,
 
        pix_d = &pixmaps[icon];
 
+       if (!pix_d->pixmap || (strcmp(pix_d->icon_path, prefs_common.pixmap_theme_path) != 0)) {
+               GdkPixmap *pix = NULL;
+       
+               if (strcmp(prefs_common.pixmap_theme_path, DEFAULT_PIXMAP_THEME) != 0) {
+                       if ( is_dir_exist(prefs_common.pixmap_theme_path) ) {
+                               char *icon_file_name = g_strconcat(prefs_common.pixmap_theme_path,
+                                                                                        G_DIR_SEPARATOR_S,
+                                                                                        pix_d->file,
+                                                                                        ".xpm",
+                                                                                        NULL);
+                               
+                               if (file_exist(icon_file_name, FALSE))
+                                       PIXMAP_CREATE_FROM_FILE(window, pix, pix_d->mask, icon_file_name);
+
+                               if (pix) pix_d->icon_path = prefs_common.pixmap_theme_path;
+                               g_free(icon_file_name);
+                       } else {
+                               /* even the path does not exist (deleted between two sessions), so
+                               set the preferences to the internal theme */
+                               prefs_common.pixmap_theme_path = DEFAULT_PIXMAP_THEME;
+                       }
+               }
+               pix_d->pixmap = pix;
+       }
+
        if (!pix_d->pixmap) {
-               PIXMAP_CREATE(window, pix_d->pixmap, pix_d->mask,
-                             pix_d->data);
+               PIXMAP_CREATE(window, pix_d->pixmap, pix_d->mask, pix_d->data);
+               if (pix_d->pixmap) pix_d->icon_path = DEFAULT_PIXMAP_THEME;     
        }
 
+       g_return_val_if_fail(pix_d->pixmap != NULL, -1);
+       
        if (pixmap) *pixmap = pix_d->pixmap;
        if (mask)   *mask   = pix_d->mask;
 
        return 0;
 }
+
+static void stock_pixmap_find_themes_in_dir(GList **list, const gchar *dirname)
+{
+       struct dirent **namelist;
+       int n;
+
+       n = scandir(dirname, &namelist, 0, alphasort);
+       if (n < 0)
+               g_error("scandir");
+       else {
+               while(n--) {
+                       gchar *entry = namelist[n]->d_name;
+                       gchar *fullentry = g_strconcat(dirname, G_DIR_SEPARATOR_S, entry, NULL);
+                       if ((strcmp(entry, ".") != 0) && (strcmp(entry, "..") != 0) && (is_dir_exist(fullentry))) {
+                               gchar *filetoexist;
+                               int i;
+                               for ( i = 0; i < N_STOCK_PIXMAPS; i++) {
+                                       filetoexist = g_strconcat(fullentry, G_DIR_SEPARATOR_S, pixmaps[i].file, ".xpm", NULL);
+                                       if (file_exist(filetoexist, FALSE)) {
+                                               *list = g_list_append(*list, fullentry);
+                                               break;
+                                       }
+                                       g_free(filetoexist);
+                               }
+                       }
+                       g_free(namelist[n]);
+               }
+       g_free(namelist);
+       }
+}
+
+void stock_pixmap_get_themes(GList **list)
+{
+       gchar *defaulttheme = DEFAULT_PIXMAP_THEME;
+       gchar *userthemes = g_strconcat(get_home_dir(), G_DIR_SEPARATOR_S,
+                                    RC_DIR, G_DIR_SEPARATOR_S, PIXMAP_THEME_DIR, NULL);
+       gchar *systemthemes = g_strconcat(PACKAGE_DATA_DIR, G_DIR_SEPARATOR_S,
+                                        PIXMAP_THEME_DIR, NULL);
+       
+       *list = g_list_append(*list, defaulttheme);
+       
+       stock_pixmap_find_themes_in_dir(list, userthemes);
+       stock_pixmap_find_themes_in_dir(list, systemthemes);
+       
+       g_free(userthemes);
+}
\ No newline at end of file
index cc63ece..8bebfde 100644 (file)
 typedef enum
 {
        STOCK_PIXMAP_ADDRESS,
+       STOCK_PIXMAP_ADDRESS_BOOK,
        STOCK_PIXMAP_BOOK,
        STOCK_PIXMAP_CATEGORY,
        STOCK_PIXMAP_CHECKBOX_OFF,
        STOCK_PIXMAP_CHECKBOX_ON,
        STOCK_PIXMAP_CLIP,
        STOCK_PIXMAP_CLIP_KEY,
+       STOCK_PIXMAP_CLOSE,
        STOCK_PIXMAP_COMPLETE,
        STOCK_PIXMAP_CONTINUE,
        STOCK_PIXMAP_DELETED,
        STOCK_PIXMAP_DIR_CLOSE,
+       STOCK_PIXMAP_DIR_CLOSE_HRM,
        STOCK_PIXMAP_DIR_OPEN,
        STOCK_PIXMAP_DIR_OPEN_HRM,
+       STOCK_PIXMAP_DOWN_ARROW,
+       STOCK_PIXMAP_EDIT_EXTERN,
        STOCK_PIXMAP_ERROR,
+       STOCK_PIXMAP_EXEC,
        STOCK_PIXMAP_FORWARDED,
        STOCK_PIXMAP_GROUP,
-       STOCK_PIXMAP_INBOX,
-       STOCK_PIXMAP_INBOX_HRM,
+       STOCK_PIXMAP_IGNORETHREAD,
+       STOCK_PIXMAP_INBOX_CLOSE,
+       STOCK_PIXMAP_INBOX_CLOSE_HRM,
+       STOCK_PIXMAP_INBOX_OPEN,
+       STOCK_PIXMAP_INBOX_OPEN_HRM,
+       STOCK_PIXMAP_INSERT_FILE,
        STOCK_PIXMAP_INTERFACE,
        STOCK_PIXMAP_JPILOT,
        STOCK_PIXMAP_KEY,
        STOCK_PIXMAP_LDAP,
        STOCK_PIXMAP_LINEWRAP,
-       STOCK_PIXMAP_MARK,
        STOCK_PIXMAP_LOCKED,
-       STOCK_PIXMAP_NEW,
-       STOCK_PIXMAP_OUTBOX,
-       STOCK_PIXMAP_OUTBOX_HRM,
-       STOCK_PIXMAP_REPLIED,
-       STOCK_PIXMAP_CLOSE,
-       STOCK_PIXMAP_DOWN_ARROW,
-       STOCK_PIXMAP_EXEC,
        STOCK_PIXMAP_MAIL,
        STOCK_PIXMAP_MAIL_ATTACH,
        STOCK_PIXMAP_MAIL_COMPOSE,
@@ -68,17 +70,29 @@ typedef enum
        STOCK_PIXMAP_MAIL_REPLY_TO_AUTHOR,
        STOCK_PIXMAP_MAIL_SEND,
        STOCK_PIXMAP_MAIL_SEND_QUEUE,
+       STOCK_PIXMAP_MAIL_SIGN,
+       STOCK_PIXMAP_MARK,
+       STOCK_PIXMAP_NEW,
        STOCK_PIXMAP_NEWS_COMPOSE,
+       STOCK_PIXMAP_OUTBOX_CLOSE,
+       STOCK_PIXMAP_OUTBOX_CLOSE_HRM,
+       STOCK_PIXMAP_OUTBOX_OPEN,
+       STOCK_PIXMAP_OUTBOX_OPEN_HRM,
+       STOCK_PIXMAP_REPLIED,
        STOCK_PIXMAP_PASTE,
        STOCK_PIXMAP_PREFERENCES,
        STOCK_PIXMAP_PROPERTIES,
+       STOCK_PIXMAP_QUEUE_CLOSE,
+       STOCK_PIXMAP_QUEUE_CLOSE_HRM,
+       STOCK_PIXMAP_QUEUE_OPEN,
+       STOCK_PIXMAP_QUEUE_OPEN_HRM,
        STOCK_PIXMAP_SYLPHEED_LOGO,
-       STOCK_PIXMAP_ADDRESS_BOOK,
-       STOCK_PIXMAP_TRASH,
-       STOCK_PIXMAP_TRASH_HRM,
+       STOCK_PIXMAP_TRASH_OPEN,
+       STOCK_PIXMAP_TRASH_OPEN_HRM,
+       STOCK_PIXMAP_TRASH_CLOSE,
+       STOCK_PIXMAP_TRASH_CLOSE_HRM,
        STOCK_PIXMAP_UNREAD,
        STOCK_PIXMAP_VCARD,
-       STOCK_PIXMAP_IGNORETHREAD,
 
        N_STOCK_PIXMAPS
 } StockPixmap;
@@ -90,4 +104,5 @@ gint stock_pixmap_gdk                (GtkWidget       *window,
                                 GdkPixmap      **pixmap,
                                 GdkBitmap      **mask);
 
+void stock_pixmap_get_themes(GList **list);
 #endif /* __STOCK_PIXMAP_H__ */
index 9a1e217..968a646 100644 (file)
@@ -596,6 +596,7 @@ void summary_init(SummaryView *summaryview)
        gtk_box_pack_start(GTK_BOX(summaryview->hbox), pixmap, FALSE, FALSE, 4);
        gtk_box_reorder_child(GTK_BOX(summaryview->hbox), pixmap, 0);
        gtk_widget_show(pixmap);
+       summaryview->folder_pixmap = pixmap;
 
        summary_clear_list(summaryview);
        summary_set_column_titles(summaryview);
@@ -2690,9 +2691,8 @@ static void summary_set_row_marks(SummaryView *summaryview, GtkCTreeNode *row)
 
        gtk_ctree_node_set_row_style(ctree, row, style);
 
-        if (MSG_GET_COLORLABEL(flags))
-               summary_set_colorlabel_color(ctree, row,
-                                            MSG_GET_COLORLABEL_VALUE(flags));
+       if (MSG_GET_COLORLABEL(flags))
+               summary_set_colorlabel_color(ctree, row, MSG_GET_COLORLABEL_VALUE(flags));
 }
 
 void summary_set_marks_selected(SummaryView *summaryview)
@@ -5039,6 +5039,36 @@ static void summaryview_subject_filter_init(PrefsFolderItem *prefs)
        }
 }
 
+void summary_reflect_prefs_pixmap_theme(SummaryView *summaryview)
+{
+       GtkCTree *ctree = GTK_CTREE(summaryview->ctree);
+       GtkCList *clist = GTK_CLIST(summaryview->ctree);
+       GtkCTreeNode *node;
+       GtkWidget *pixmap;
+
+       gtk_widget_destroy(summaryview->folder_pixmap);
+
+       stock_pixmap_gdk(summaryview->ctree, STOCK_PIXMAP_MARK, &markxpm, &markxpmmask);
+       stock_pixmap_gdk(summaryview->ctree, STOCK_PIXMAP_DELETED, &deletedxpm, &deletedxpmmask);
+       stock_pixmap_gdk(summaryview->ctree, STOCK_PIXMAP_NEW, &newxpm, &newxpmmask);
+       stock_pixmap_gdk(summaryview->ctree, STOCK_PIXMAP_UNREAD, &unreadxpm, &unreadxpmmask);
+       stock_pixmap_gdk(summaryview->ctree, STOCK_PIXMAP_REPLIED, &repliedxpm, &repliedxpmmask);
+       stock_pixmap_gdk(summaryview->ctree, STOCK_PIXMAP_FORWARDED, &forwardedxpm, &forwardedxpmmask);
+       stock_pixmap_gdk(summaryview->ctree, STOCK_PIXMAP_CLIP, &clipxpm, &clipxpmmask);
+       stock_pixmap_gdk(summaryview->ctree, STOCK_PIXMAP_LOCKED, &lockedxpm, &lockedxpmmask);
+       stock_pixmap_gdk(summaryview->ctree, STOCK_PIXMAP_IGNORETHREAD, &ignorethreadxpm, &ignorethreadxpmmask);
+       stock_pixmap_gdk(summaryview->ctree, STOCK_PIXMAP_CLIP_KEY, &clipkeyxpm, &clipkeyxpmmask);
+       stock_pixmap_gdk(summaryview->ctree, STOCK_PIXMAP_KEY, &keyxpm, &keyxpmmask);
+
+       pixmap = stock_pixmap_widget(summaryview->hbox, STOCK_PIXMAP_DIR_OPEN);
+       gtk_box_pack_start(GTK_BOX(summaryview->hbox), pixmap, FALSE, FALSE, 4);
+       gtk_box_reorder_child(GTK_BOX(summaryview->hbox), pixmap, 0);
+       gtk_widget_show(pixmap);
+       summaryview->folder_pixmap = pixmap;
+       
+       summary_show(summaryview, summaryview->folder_item, FALSE);
+}
+
 
 /*
  * End of Source.
index a33b4bb..0a678c9 100644 (file)
@@ -100,6 +100,7 @@ struct _SummaryView
        GtkWidget *scrolledwin;
        GtkWidget *ctree;
        GtkWidget *hbox;
+       GtkWidget *folder_pixmap;
        GtkWidget *statlabel_folder;
        GtkWidget *statlabel_select;
        GtkWidget *statlabel_msgs;
@@ -260,4 +261,5 @@ void summary_toggle_show_read_messages (SummaryView *summaryview);
 
 void summary_toggle_view_real  (SummaryView    *summaryview);
 
+void summary_reflect_prefs_pixmap_theme(SummaryView *summaryview);
 #endif /* __SUMMARY_H__ */