New icons for LDAP static search
[claws.git] / src / stock_pixmap.c
index a894b05dddd835acc267b56beb0c77f108a6ccf0..f76012c3f449f62a545df0ecf97c74f4d061217d 100644 (file)
 #include "pixmaps/quicksearch.xpm"
 #include "pixmaps/gpg_signed.xpm"
 #include "pixmaps/drafts_close.xpm"
-#include "pixmaps/drafts_open.xpm";
+#include "pixmaps/drafts_open.xpm"
+#include "pixmaps/messageview_text.xpm"
+#include "pixmaps/mime_text_plain.xpm"
+#include "pixmaps/mime_text_html.xpm"
+#include "pixmaps/mime_application.xpm"
+#include "pixmaps/mime_application_octet_stream.xpm"
+#include "pixmaps/mime_image.xpm"
+#include "pixmaps/mime_audio.xpm"
+#include "pixmaps/mime_text_enriched.xpm"
+#include "pixmaps/mime_unknown.xpm"
+#include "pixmaps/mime_gpg_signed.xpm"
+#include "pixmaps/mime_gpg_passed.xpm"
+#include "pixmaps/mime_gpg_failed.xpm"
+#include "pixmaps/mime_gpg_unknown.xpm"
+#include "pixmaps/mime_gpg_expired.xpm"                  
+#include "pixmaps/address_search.xpm"
 
 typedef struct _StockPixmapData        StockPixmapData;
 
@@ -111,6 +126,7 @@ static StockPixmapData pixmaps[] =
 {
        {address_xpm                    , NULL, NULL, "address", "  "},
        {address_book_xpm               , NULL, NULL, "address_book", "  "},
+       {address_search_xpm             , NULL, NULL, "address_search", "  "},
        {book_xpm                               , NULL, NULL, "book", "  "},
        {category_xpm                   , NULL, NULL, "category", "  "},
        {checkbox_off_xpm               , NULL, NULL, "checkbox_off", "  "},
@@ -187,6 +203,20 @@ static StockPixmapData pixmaps[] =
        {gpg_signed_xpm                         , NULL, NULL, "gpg_signed", "  "},
        {drafts_close_xpm                       , NULL, NULL, "drafts_close", "  "},
        {drafts_open_xpm                        , NULL, NULL, "drafts_open", "  "},
+       {messageview_text_xpm                   , NULL, NULL, "messageview_text", "  "},
+       {mime_text_plain_xpm                    , NULL, NULL, "mime_text_plain", "  "},
+       {mime_text_html_xpm                     , NULL, NULL, "mime_text_html", "  "},
+       {mime_application_xpm                   , NULL, NULL, "mime_application", "  "},
+       {mime_application_octet_stream_xpm      , NULL, NULL, "mime_application_octet_stream", "  "},
+       {mime_image_xpm                         , NULL, NULL, "mime_image", "  "},
+       {mime_audio_xpm                         , NULL, NULL, "mime_audio", "  "},
+       {mime_text_enriched_xpm                 , NULL, NULL, "mime_text_enriched", "  "},
+       {mime_unknown_xpm                       , NULL, NULL, "mime_unknown", "  "},    
+       {mime_gpg_signed_xpm                    , NULL, NULL, "mime_gpg_signed", "  "},
+       {mime_gpg_passed_xpm                    , NULL, NULL, "mime_gpg_passed", "  "},
+       {mime_gpg_failed_xpm                    , NULL, NULL, "mime_gpg_failed", "  "}, 
+       {mime_gpg_unknown_xpm                   , NULL, NULL, "mime_gpg_unknown", "  "},
+       {mime_gpg_expired_xpm                   , NULL, NULL, "mime_gpg_expired", "  "},
        {sylpheed_logo_xpm                      , NULL, NULL, "sylpheed_logo", "  "},
 };
 
@@ -267,7 +297,7 @@ static void stock_pixmap_find_themes_in_dir(GList **list, const gchar *dirname)
        DIR *dp;
        
        if ((dp = opendir(dirname)) == NULL) {
-               FILE_OP_ERROR(dirname, "opendir");
+               debug_print("dir %s not found, skipping theme scan", dirname);
                return;
        }
        
@@ -350,4 +380,3 @@ StockPixmap stock_pixmap_get_icon (gchar *file)
        }
        return -1;
 }
-