aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Monreal <mmonreal@svn.gnome.org>2007-10-31 06:48:38 +0800
committerMichael Monreal <mmonreal@src.gnome.org>2007-10-31 06:48:38 +0800
commit1b519c07b268885186fd073f39b2d9ecfff55ea0 (patch)
treedb7763896041eef7e33af4323f719dfb4ab3f6d8
parentf13fd21b50fa97b4ce7e29ce82d471c1f1870c11 (diff)
downloadgsoc2013-evolution-1b519c07b268885186fd073f39b2d9ecfff55ea0.tar.gz
gsoc2013-evolution-1b519c07b268885186fd073f39b2d9ecfff55ea0.tar.zst
gsoc2013-evolution-1b519c07b268885186fd073f39b2d9ecfff55ea0.zip
** Fix for bug #446035
2007-10-30 Michael Monreal <mmonreal@svn.gnome.org> ** Fix for bug #446035 * em-folder-tree.c: (render_pixbuf): Use the folder-saved-search icon for vfolders. svn path=/trunk/; revision=34459
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-folder-tree.c6
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index bd82fd79b8..35d529f50d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2007-10-30 Michael Monreal <mmonreal@svn.gnome.org>
+
+ ** Fix for bug #446035
+
+ * em-folder-tree.c: (render_pixbuf):
+ Use the folder-saved-search icon for vfolders.
+
2007-10-26 Kjartan Maraas <kmaraas@gnome.org>
* e-searching-tokenizer.c: (build_trie), (searcher_new),
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 34dab1767a..b60861bce1 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -273,7 +273,8 @@ enum {
FOLDER_ICON_SHARED_TO_ME,
FOLDER_ICON_SHARED_BY_ME,
FOLDER_ICON_SENT,
- FOLDER_ICON_LAST
+ FOLDER_ICON_LAST,
+ FOLDER_ICON_VIRTUAL
};
static GdkPixbuf *folder_icons[FOLDER_ICON_LAST];
@@ -296,6 +297,7 @@ render_pixbuf (GtkTreeViewColumn *column, GtkCellRenderer *renderer,
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 ("mail-sent", E_ICON_SIZE_MENU);
+ folder_icons[FOLDER_ICON_VIRTUAL] = e_icon_factory_get_icon ("folder-saved-search", E_ICON_SIZE_MENU);
initialised = TRUE;
}
@@ -324,6 +326,8 @@ render_pixbuf (GtkTreeViewColumn *column, GtkCellRenderer *renderer,
pixbuf = folder_icons[FOLDER_ICON_SHARED_TO_ME];
else if (flags & CAMEL_FOLDER_SHARED_BY_ME)
pixbuf = folder_icons[FOLDER_ICON_SHARED_BY_ME];
+ else if (flags & CAMEL_FOLDER_VIRTUAL)
+ pixbuf = folder_icons[FOLDER_ICON_VIRTUAL];
else
pixbuf = folder_icons[FOLDER_ICON_NORMAL];
}