From cdc295b9a072e8486d39c87f862561b619f76e53 Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 10 Oct 2006 00:15:47 +0000 Subject: win32: use small icon for application icon. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1219 ee746299-78ed-0310-b773-934348b2243d --- ChangeLog | 5 +++++ ChangeLog.ja | 5 +++++ src/main.c | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2192864b..c38150ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-10 + + * src/main.c: win32: use small icon for application icon (fixes icon + image got garbled). + 2006-10-06 * src/action.c: execute_actions(): don't move cursor on insertion diff --git a/ChangeLog.ja b/ChangeLog.ja index e714387a..dc0a7a8d 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,8 @@ +2006-10-10 + + * src/main.c: win32: アプリケーションアイコンに小さなアイコンを使用 + (アイコンが汚くなるのを修正)。 + 2006-10-06 * src/action.c: execute_actions(): 挿入モードではカーソルを移動しない diff --git a/src/main.c b/src/main.c index 5fd89c2b..ff841f85 100644 --- a/src/main.c +++ b/src/main.c @@ -222,7 +222,12 @@ int main(int argc, char *argv[]) sock_set_io_timeout(prefs_common.io_timeout_secs); gtkut_widget_init(); + +#ifdef G_OS_WIN32 + stock_pixbuf_gdk(NULL, STOCK_PIXMAP_SYLPHEED_SMALL, &icon); +#else stock_pixbuf_gdk(NULL, STOCK_PIXMAP_SYLPHEED, &icon); +#endif gtk_window_set_default_icon(icon); mainwin = main_window_create -- cgit v1.2.3