diff options
author | Sankar P <psankar@novell.com> | 2005-09-20 20:38:54 +0800 |
---|---|---|
committer | Sankarasivasubramanian Pasupathilingam <psankar@src.gnome.org> | 2005-09-20 20:38:54 +0800 |
commit | 4545f5d072cd76f59eeb7011b348d61ac8e14f6a (patch) | |
tree | 99787aec3542390b51a46af808900bfd222b227e /mail/em-folder-tree.c | |
parent | d07dc7533727996caa49dfa3e5b19528beeda0ee (diff) | |
download | gsoc2013-evolution-4545f5d072cd76f59eeb7011b348d61ac8e14f6a.tar.gz gsoc2013-evolution-4545f5d072cd76f59eeb7011b348d61ac8e14f6a.tar.zst gsoc2013-evolution-4545f5d072cd76f59eeb7011b348d61ac8e14f6a.zip |
Added enum and the code to change the icon for sent items folder. Fixes
2005-09-15 Sankar P <psankar@novell.com>
* em-folder-tree-model.c (em_folder_tree_model_set_folder_info):
* em-folder-tree.c (render_pixbuf): Added enum and the code to
change the icon for sent items folder. Fixes #257321
svn path=/trunk/; revision=30365
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index c3da19e64f..29142c596a 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -268,6 +268,7 @@ enum { FOLDER_ICON_JUNK, FOLDER_ICON_SHARED_TO_ME, FOLDER_ICON_SHARED_BY_ME, + FOLDER_ICON_SENT, FOLDER_ICON_LAST }; @@ -290,6 +291,7 @@ render_pixbuf (GtkTreeViewColumn *column, GtkCellRenderer *renderer, folder_icons[FOLDER_ICON_JUNK] = e_icon_factory_get_icon ("stock_spam", E_ICON_SIZE_MENU); folder_icons[FOLDER_ICON_SHARED_TO_ME] = e_icon_factory_get_icon ("stock_shared-to-me", E_ICON_SIZE_MENU); folder_icons[FOLDER_ICON_SHARED_BY_ME] = e_icon_factory_get_icon ("stock_shared-by-me", E_ICON_SIZE_MENU); + folder_icons[FOLDER_ICON_SENT] = e_icon_factory_get_icon ("stock_sent-mail", E_ICON_SIZE_MENU); initialised = TRUE; } @@ -310,6 +312,9 @@ render_pixbuf (GtkTreeViewColumn *column, GtkCellRenderer *renderer, case CAMEL_FOLDER_TYPE_JUNK: pixbuf = folder_icons[FOLDER_ICON_JUNK]; break; + case CAMEL_FOLDER_TYPE_SENT: + pixbuf = folder_icons[FOLDER_ICON_SENT]; + break; default: if (flags & CAMEL_FOLDER_SHARED_TO_ME) pixbuf = folder_icons[FOLDER_ICON_SHARED_TO_ME]; |