diff options
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | ChangeLog.ja | 11 | ||||
-rw-r--r-- | src/main.c | 4 | ||||
-rw-r--r-- | src/pixmaps/Makefile.am | 2 | ||||
-rw-r--r-- | src/pixmaps/stock_sylpheed.png | bin | 0 -> 2718 bytes | |||
-rw-r--r-- | src/stock_pixmap.c | 13 | ||||
-rw-r--r-- | src/stock_pixmap.h | 1 | ||||
-rw-r--r-- | sylpheed-128x128.png | bin | 48732 -> 12061 bytes | |||
-rw-r--r-- | sylpheed-64x64.png | bin | 5431 -> 4332 bytes | |||
-rw-r--r-- | sylpheed.png | bin | 3809 -> 2718 bytes |
10 files changed, 36 insertions, 6 deletions
@@ -1,5 +1,16 @@ 2005-07-12 + * src/main.c + src/stock_pixmap.[ch] + src/Makefile.am + src/pixmaps/stock_sylpheed.png + sylpheed.png + sylpheed-64x64.png + sylpheed-128x128.png: added a new app icon, and specified it as + a default window icon. + +2005-07-12 + * src/procmsg.[ch]: procmsg_send_queue(): clear summary cache to prevent cache discrepancy. diff --git a/ChangeLog.ja b/ChangeLog.ja index 02024401..29d56413 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,5 +1,16 @@ 2005-07-12 + * src/main.c + src/stock_pixmap.[ch] + src/Makefile.am + src/pixmaps/stock_sylpheed.png + sylpheed.png + sylpheed-64x64.png + sylpheed-128x128.png: 新しいアプリケーションアイコンを追加し、 + デフォルトのウィンドウアイコンとして指定。 + +2005-07-12 + * src/procmsg.[ch]: procmsg_send_queue(): キャッシュの不整合を防ぐ ためにサマリキャッシュをクリアするようにした。 @@ -73,6 +73,7 @@ #include "utils.h" #include "gtkutils.h" #include "socket.h" +#include "stock_pixmap.h" #if USE_GPGME # include "rfc2015.h" @@ -145,6 +146,7 @@ int main(int argc, char *argv[]) gchar *userrc; MainWindow *mainwin; FolderView *folderview; + GdkPixbuf *icon; setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); @@ -300,6 +302,8 @@ int main(int argc, char *argv[]) prefs_display_header_read_config(); gtkut_widget_init(); + stock_pixbuf_gdk(NULL, STOCK_PIXMAP_SYLPHEED, &icon); + gtk_window_set_default_icon(icon); mainwin = main_window_create (prefs_common.sep_folder | prefs_common.sep_msg << 1); diff --git a/src/pixmaps/Makefile.am b/src/pixmaps/Makefile.am index 3092c8f2..3a4cca6c 100644 --- a/src/pixmaps/Makefile.am +++ b/src/pixmaps/Makefile.am @@ -18,6 +18,7 @@ BUILT_SOURCES = \ stock_mail_send_queue.h \ stock_outbox.h \ stock_spam.h \ + stock_sylpheed.h \ sylpheed-logo.h EXTRA_DIST = \ @@ -40,6 +41,7 @@ EXTRA_DIST = \ stock_mail_send_queue.png \ stock_outbox.png \ stock_spam.png \ + stock_sylpheed.png \ sylpheed-logo.png \ clip.xpm \ deleted.xpm \ diff --git a/src/pixmaps/stock_sylpheed.png b/src/pixmaps/stock_sylpheed.png Binary files differnew file mode 100644 index 00000000..e70a0e3f --- /dev/null +++ b/src/pixmaps/stock_sylpheed.png diff --git a/src/stock_pixmap.c b/src/stock_pixmap.c index 91c84717..2e0a4fe7 100644 --- a/src/stock_pixmap.c +++ b/src/stock_pixmap.c @@ -46,6 +46,11 @@ #include "pixmaps/mark.xpm" #include "pixmaps/new.xpm" #include "pixmaps/replied.xpm" +#include "pixmaps/unread.xpm" +#include "pixmaps/vcard.xpm" +#include "pixmaps/online.xpm" +#include "pixmaps/offline.xpm" +#include "pixmaps/mail.xpm" #include "pixmaps/stock_inbox.h" #include "pixmaps/stock_outbox.h" #include "pixmaps/stock_mail.h" @@ -65,12 +70,8 @@ #include "pixmaps/stock_delete_16.h" #include "pixmaps/stock_spam.h" #include "pixmaps/stock_hand-signed.h" +#include "pixmaps/stock_sylpheed.h" #include "pixmaps/sylpheed-logo.h" -#include "pixmaps/unread.xpm" -#include "pixmaps/vcard.xpm" -#include "pixmaps/online.xpm" -#include "pixmaps/offline.xpm" -#include "pixmaps/mail.xpm" typedef struct _StockPixmapData StockPixmapData; @@ -133,6 +134,7 @@ static StockPixmapData pixmaps[] = {NULL, NULL, NULL, NULL, stock_delete, sizeof(stock_delete), GTK_STOCK_DELETE, 24}, {NULL, NULL, NULL, NULL, stock_spam, sizeof(stock_spam), "stock_spam", 24}, {NULL, NULL, NULL, NULL, stock_hand_signed, sizeof(stock_hand_signed), "stock_hand-signed", 24}, + {NULL, NULL, NULL, NULL, stock_sylpheed, sizeof(stock_sylpheed), NULL, 0}, {NULL, NULL, NULL, NULL, sylpheed_logo, sizeof(sylpheed_logo), NULL, 0}, }; @@ -194,7 +196,6 @@ gint stock_pixbuf_gdk(GtkWidget *window, StockPixmap icon, GdkPixbuf **pixbuf) if (pixbuf) *pixbuf = NULL; - g_return_val_if_fail(window != NULL, -1); g_return_val_if_fail(icon >= 0 && icon < N_STOCK_PIXMAPS, -1); pix_d = &pixmaps[icon]; diff --git a/src/stock_pixmap.h b/src/stock_pixmap.h index d37bdb59..a3a3f419 100644 --- a/src/stock_pixmap.h +++ b/src/stock_pixmap.h @@ -70,6 +70,7 @@ typedef enum STOCK_PIXMAP_DELETE, STOCK_PIXMAP_SPAM, STOCK_PIXMAP_SIGN, + STOCK_PIXMAP_SYLPHEED, STOCK_PIXMAP_SYLPHEED_LOGO, N_STOCK_PIXMAPS diff --git a/sylpheed-128x128.png b/sylpheed-128x128.png Binary files differindex 624d8cb1..80405bf9 100644 --- a/sylpheed-128x128.png +++ b/sylpheed-128x128.png diff --git a/sylpheed-64x64.png b/sylpheed-64x64.png Binary files differindex b8c7b873..72d2bd0b 100644 --- a/sylpheed-64x64.png +++ b/sylpheed-64x64.png diff --git a/sylpheed.png b/sylpheed.png Binary files differindex f55c8eb3..e70a0e3f 100644 --- a/sylpheed.png +++ b/sylpheed.png |