From 3fe1da39c3bba12f0279637f940cd8bf6940d9e1 Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 5 Jul 2005 09:17:11 +0000 Subject: replaced pixmaps icons with png images. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@398 ee746299-78ed-0310-b773-934348b2243d --- src/folderview.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/folderview.c') diff --git a/src/folderview.c b/src/folderview.c index eff37d90..6cee00af 100644 --- a/src/folderview.c +++ b/src/folderview.c @@ -102,6 +102,7 @@ static GdkPixbuf *outbox_pixbuf; static GdkPixbuf *folder_pixbuf; static GdkPixbuf *folderopen_pixbuf; static GdkPixbuf *foldernoselect_pixbuf; +static GdkPixbuf *draft_pixbuf; static GdkPixbuf *trash_pixbuf; static void folderview_select_row (FolderView *folderview, @@ -502,6 +503,7 @@ void folderview_init(FolderView *folderview) stock_pixbuf_gdk(treeview, STOCK_PIXMAP_DIR_OPEN, &folderopen_pixbuf); stock_pixbuf_gdk(treeview, STOCK_PIXMAP_DIR_NOSELECT, &foldernoselect_pixbuf); + stock_pixbuf_gdk(treeview, STOCK_PIXMAP_DRAFT, &draft_pixbuf); stock_pixbuf_gdk(treeview, STOCK_PIXMAP_TRASH, &trash_pixbuf); } @@ -1086,8 +1088,7 @@ static void folderview_update_row(FolderView *folderview, GtkTreeIter *iter) item->name); break; case F_DRAFT: - pixbuf = folder_pixbuf; - open_pixbuf = folderopen_pixbuf; + pixbuf = open_pixbuf = draft_pixbuf; name = g_strdup(FOLDER_IS_LOCAL(item->folder) && !strcmp2(item->name, DRAFT_DIR) ? _("Drafts") : item->name); -- cgit v1.2.3