aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-10-03 03:57:13 +0800
committerChris Toshok <toshok@src.gnome.org>2000-10-03 03:57:13 +0800
commit26973c935a4ec47fe20f248885d0881b18560fe0 (patch)
tree1a3fa5b045b8e87196952c8688893b6a2dc4ad26
parentdfbc759c445f5548c54320a62bc5b9e76e16ad6e (diff)
downloadgsoc2013-evolution-26973c935a4ec47fe20f248885d0881b18560fe0.tar
gsoc2013-evolution-26973c935a4ec47fe20f248885d0881b18560fe0.tar.gz
gsoc2013-evolution-26973c935a4ec47fe20f248885d0881b18560fe0.tar.bz2
gsoc2013-evolution-26973c935a4ec47fe20f248885d0881b18560fe0.tar.lz
gsoc2013-evolution-26973c935a4ec47fe20f248885d0881b18560fe0.tar.xz
gsoc2013-evolution-26973c935a4ec47fe20f248885d0881b18560fe0.tar.zst
gsoc2013-evolution-26973c935a4ec47fe20f248885d0881b18560fe0.zip
remove the 2 tree pixbufs, so adjust the offsets to the score pixbufs.
2000-10-02 Chris Toshok <toshok@helixcode.com> * message-list.c (message_list_init_renderers): remove the 2 tree pixbufs, so adjust the offsets to the score pixbufs. also, pass NULL for the open/closed pixbufs to the tree cell renderer. svn path=/trunk/; revision=5667
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/message-list.c9
2 files changed, 8 insertions, 7 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 4a0edf188e..e93799d43e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2000-10-02 Chris Toshok <toshok@helixcode.com>
+
+ * message-list.c (message_list_init_renderers): remove the 2 tree
+ pixbufs, so adjust the offsets to the score pixbufs. also, pass
+ NULL for the open/closed pixbufs to the tree cell renderer.
+
2000-10-02 Dan Winship <danw@helixcode.com>
* mail-ops.c (mail_do_scan_subfolders, etc): Update for
diff --git a/mail/message-list.c b/mail/message-list.c
index 87846302ec..74aecdb7fd 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -44,8 +44,6 @@
#include "art/mail-replied.xpm"
#include "art/attachment.xpm"
#include "art/empty.xpm"
-#include "art/tree-expanded.xpm"
-#include "art/tree-unexpanded.xpm"
#include "art/score-lowest.xpm"
#include "art/score-lower.xpm"
#include "art/score-low.xpm"
@@ -99,8 +97,6 @@ static struct {
{ mail_replied_xpm, NULL },
{ empty_xpm, NULL },
{ attachment_xpm, NULL },
- { tree_expanded_xpm, NULL },
- { tree_unexpanded_xpm, NULL },
{ score_lowest_xpm, NULL },
{ score_lower_xpm, NULL },
{ score_low_xpm, NULL },
@@ -909,7 +905,7 @@ message_list_init_renderers (MessageList *message_list)
* Miguel has suggested perhaps using icons with thumbs up/down
*/
for (i = 0; i < 7; i++)
- images[i] = states_pixmaps [i + 7].pixbuf;
+ images[i] = states_pixmaps [i + 5].pixbuf;
message_list->render_score = e_cell_toggle_new (0, 7, images);
@@ -918,8 +914,7 @@ message_list_init_renderers (MessageList *message_list)
*/
message_list->render_tree =
e_cell_tree_new (message_list->table_model,
- states_pixmaps[5].pixbuf,
- states_pixmaps[6].pixbuf,
+ NULL, NULL, /* let the tree renderer default the pixmaps */
TRUE, message_list->render_text);
}