aboutsummaryrefslogtreecommitdiff
path: root/src/folderview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-05 09:17:11 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-05 09:17:11 +0000
commit3fe1da39c3bba12f0279637f940cd8bf6940d9e1 (patch)
treeed78f7b833fc9de02bb0707af939a63d0f138eb4 /src/folderview.c
parenteaf283c8b2479500cf99d8c80051e072970419c9 (diff)
replaced pixmaps icons with png images.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@398 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/folderview.c')
-rw-r--r--src/folderview.c5
1 files changed, 3 insertions, 2 deletions
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);