diff options
author | Not Zed <NotZed@Ximian.com> | 2003-04-30 02:18:36 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-04-30 02:18:36 +0800 |
commit | 36b97dcf5dc8c0346ec5a389c8be7f1bd15de3bb (patch) | |
tree | 82c8b4119a34f41f83ab74f8e6ad3e6740cf7e36 /mail/folder-browser.c | |
parent | 693f508f977206eee187539e3fce3bf8cb1f4311 (diff) | |
download | gsoc2013-evolution-36b97dcf5dc8c0346ec5a389c8be7f1bd15de3bb.tar gsoc2013-evolution-36b97dcf5dc8c0346ec5a389c8be7f1bd15de3bb.tar.gz gsoc2013-evolution-36b97dcf5dc8c0346ec5a389c8be7f1bd15de3bb.tar.bz2 gsoc2013-evolution-36b97dcf5dc8c0346ec5a389c8be7f1bd15de3bb.tar.lz gsoc2013-evolution-36b97dcf5dc8c0346ec5a389c8be7f1bd15de3bb.tar.xz gsoc2013-evolution-36b97dcf5dc8c0346ec5a389c8be7f1bd15de3bb.tar.zst gsoc2013-evolution-36b97dcf5dc8c0346ec5a389c8be7f1bd15de3bb.zip |
** See bug #41972
2003-04-29 Not Zed <NotZed@Ximian.com>
** See bug #41972
* message-list.c (ml_tree_value_at): fix (void *) casts on trinary
ops.
* folder-browser.c (on_right_click): Store the label tag in the
label callback data, not the translated name.
* mail-config.c (label_defaults[]): Initialise with the tag
values.
(config_clear_labels): free tag field.
(config_cache_labels): setup the tag field based on the position
of the label name.
(mail_config_get_label_color_by_name): Lookup colour by the
untranslated TAG, not the translated/customisable tag.
* mail-config.h (MailConfigLabel): Add a tag field, we were using
the translated name as the label(!).
svn path=/trunk/; revision=21008
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index e163ffc952..29a59cbc11 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -2099,7 +2099,7 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event closure = g_new (struct _label_data, 1); g_object_ref (fb); closure->fb = fb; - closure->label = label->name; + closure->label = label->tag; g_ptr_array_add (closures, closure); |