o remove mime_application_octet_stream.xpm and messageview_text.xpm
authorLuke Plant <L.Plant.98@cantab.net>
Tue, 21 Oct 2003 19:09:44 +0000 (19:09 +0000)
committerLuke Plant <L.Plant.98@cantab.net>
Tue, 21 Oct 2003 19:09:44 +0000 (19:09 +0000)
o  fix visibility of signature noticeview when toggling separate message
   view

ChangeLog.claws
configure.ac
src/mainwindow.c
src/mimeview.c
src/pixmaps/messageview_text.xpm [deleted file]
src/pixmaps/mime_application_octet_stream.xpm [deleted file]
src/stock_pixmap.c
src/stock_pixmap.h

index 388fc16..97c6384 100644 (file)
@@ -1,3 +1,16 @@
+2003-10-21 [luke]      0.9.6claws42
+        * src/stock_pixmaps.[ch]
+        * src/mimeview.c
+        * src/pixmaps/mime_application_octet_stream.xpm         ** REMOVE **
+        * src/pixmaps/messageview_text.xpm                      ** REMOVE **
+                o remove mime_application_octet_stream.xpm icon (it was never
+                  really needed)
+                o remove redundant icon messageview_text.xpm
+
+        * src/mainwindow.c
+                fix visibility of signature noticeview when toggling 'separate
+                message view'
+
 2003-10-21 [christoph] 0.9.6claws41
 
        * src/procmime.c
index cc53c56..7692ef4 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=41
+EXTRA_VERSION=42
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 72a38c6..016ea8e 100644 (file)
@@ -1971,6 +1971,8 @@ static void main_window_set_widgets(MainWindow *mainwin, SeparateType type)
         * and mimeview icon list/ctree lose track of their visibility states */
        if (!noticeview_is_visible(mainwin->messageview->noticeview)) 
                gtk_widget_hide(GTK_WIDGET_PTR(mainwin->messageview->noticeview));
+       if (!noticeview_is_visible(mainwin->messageview->mimeview->siginfoview)) 
+               gtk_widget_hide(GTK_WIDGET_PTR(mainwin->messageview->mimeview->siginfoview));
        if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(mainwin->messageview->mimeview->mime_toggle)))
                gtk_widget_hide(mainwin->messageview->mimeview->icon_mainbox);
        else 
index c5d073f..3dd92ba 100644 (file)
@@ -1386,10 +1386,7 @@ static void icon_list_append_icon (MimeView *mimeview, MimeInfo *mimeinfo)
                stockp = STOCK_PIXMAP_MIME_MESSAGE;
                break;
        case MIMETYPE_APPLICATION:
-               if (mimeinfo->subtype && !g_strcasecmp(mimeinfo->subtype, "octet-stream"))
-                       stockp = STOCK_PIXMAP_MIME_APPLICATION_OCTET_STREAM;
-               else
-                       stockp = STOCK_PIXMAP_MIME_APPLICATION;
+               stockp = STOCK_PIXMAP_MIME_APPLICATION;
                break;
        case MIMETYPE_IMAGE:
                stockp = STOCK_PIXMAP_MIME_IMAGE;
diff --git a/src/pixmaps/messageview_text.xpm b/src/pixmaps/messageview_text.xpm
deleted file mode 100644 (file)
index dcf3084..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/* XPM */
-static char * messageview_text_xpm[] = {
-"11 13 4 1",
-"      c None",
-".     c #8E8E8E",
-"+     c #FFFFFF",
-"@     c #000000",
-"...........",
-".+++++++++.",
-".+@@@@@@@+.",
-".+++++++++.",
-".+@@@@++++.",
-".+++++++++.",
-".+@@@@@@@+.",
-".+++++++++.",
-".+@@@@@@++.",
-".+++++++++.",
-".+@@@@@@@+.",
-".+++++++++.",
-"..........."};
diff --git a/src/pixmaps/mime_application_octet_stream.xpm b/src/pixmaps/mime_application_octet_stream.xpm
deleted file mode 100644 (file)
index 0a2940e..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/* XPM */
-static char * mime_application_octet_stream_xpm[] = {
-"14 18 4 1",
-"      c None",
-".     c #8E8E8E",
-"+     c #FFFFFF",
-"@     c #000000",
-"..............",
-".++++++++++++.",
-".++++++++++++.",
-".++++++++++++.",
-".++++++++++++.",
-".+++@@@++++++.",
-".++@+++@+++++.",
-".++@+++@+++++.",
-".+@@++@@+++++.",
-".+@@++@@+++++.",
-".+@@++@@+++++.",
-".+@@++@@+++++.",
-".+@+@@+@+++++.",
-".+@++++@+++++.",
-".+@++++@+++++.",
-".++@@@@++++++.",
-".++++++++++++.",
-".............."};
index d30367c..95e3cc0 100644 (file)
 #include "pixmaps/gpg_signed.xpm"
 #include "pixmaps/drafts_close.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"
@@ -205,11 +203,9 @@ 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", "  "},
index 3b3a2af..18644a7 100644 (file)
@@ -103,11 +103,9 @@ typedef enum
        STOCK_PIXMAP_GPG_SIGNED,
        STOCK_PIXMAP_DRAFTS_CLOSE,
        STOCK_PIXMAP_DRAFTS_OPEN,
-       STOCK_PIXMAP_MESSAGEVIEW_TEXT,
        STOCK_PIXMAP_MIME_TEXT_PLAIN,
        STOCK_PIXMAP_MIME_TEXT_HTML,
        STOCK_PIXMAP_MIME_APPLICATION,
-       STOCK_PIXMAP_MIME_APPLICATION_OCTET_STREAM,
        STOCK_PIXMAP_MIME_IMAGE,
        STOCK_PIXMAP_MIME_AUDIO,
        STOCK_PIXMAP_MIME_TEXT_ENRICHED,