New big icon for compose windows, by Simon Steinbeiss
[claws.git] / src / stock_pixmap.c
index 46ea5fed087860e78261d84553611a79df90029d..436f2cd2ee2aa80e0d448fc9cfeffab8d5a52ac5 100644 (file)
@@ -86,6 +86,7 @@
 #include "pixmaps/queue_open.xpm"
 #include "pixmaps/queue_open_hrm.xpm"
 #include "pixmaps/claws-mail_icon.xpm"
+#include "pixmaps/claws-mail_compose_logo.xpm"
 #ifndef GENERIC_UMPC
 #include "pixmaps/claws-mail_logo.xpm"
 #else
@@ -370,6 +371,7 @@ static StockPixmapData pixmaps[] =
        {delete_btn_xpm                         , NULL, NULL, "delete_btn", NULL},
        {cancel_xpm                             , NULL, NULL, "cancel", NULL},
        {trash_btn_xpm                          , NULL, NULL, "trash_btn", NULL},
+       {claws_mail_compose_logo_xpm            , NULL, NULL, "claws_mail_compose_logo", NULL},
 #ifndef GENERIC_UMPC
        {claws_mail_logo_xpm                    , NULL, NULL, "claws_mail_logo", NULL},
 #else
@@ -770,9 +772,11 @@ GtkWidget *stock_pixmap_widget_with_overlay(GtkWidget *window, StockPixmap icon,
        stock_wid = stock_pixmap_widget(window, icon);
        gtk_widget_get_requisition(stock_wid, &requisition);
 
+#if !GTK_CHECK_VERSION(3, 0, 0)
        if (gtk_image_get_storage_type(GTK_IMAGE(stock_wid)) == GTK_IMAGE_PIXMAP)
                data->is_pixmap = TRUE;
        else
+#endif
                data->is_pixmap = FALSE;
 
        if (data->is_pixmap) {