aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-12 10:23:36 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-12 10:23:36 +0000
commit67bce9ecfaaeceb8c37fac7f22a447917c8c6a1c (patch)
treeba91c6b7a0f4c9e82581fffb801f3b8c8d7ee1b5 /src/main.c
parent71d3dab216f7a512564a42f97b0cdd106328b70b (diff)
added a new app icon.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@424 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index fc1a67cd..5b7c37ac 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);