diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2006-05-25 13:10:40 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2006-05-25 13:10:40 +0800 |
commit | cf3cb0c83e928b217a027d13d9a4206882cceb5d (patch) | |
tree | f13cb7eab7c5f96400e34ac743cc11a9cc373572 /mail/em-popup.c | |
parent | 253a05d03cb3d827a0da0002cb48231bd238caa3 (diff) | |
download | gsoc2013-evolution-cf3cb0c83e928b217a027d13d9a4206882cceb5d.tar gsoc2013-evolution-cf3cb0c83e928b217a027d13d9a4206882cceb5d.tar.gz gsoc2013-evolution-cf3cb0c83e928b217a027d13d9a4206882cceb5d.tar.bz2 gsoc2013-evolution-cf3cb0c83e928b217a027d13d9a4206882cceb5d.tar.lz gsoc2013-evolution-cf3cb0c83e928b217a027d13d9a4206882cceb5d.tar.xz gsoc2013-evolution-cf3cb0c83e928b217a027d13d9a4206882cceb5d.tar.zst gsoc2013-evolution-cf3cb0c83e928b217a027d13d9a4206882cceb5d.zip |
Committed fix for bug #342092
svn path=/trunk/; revision=32021
Diffstat (limited to 'mail/em-popup.c')
-rw-r--r-- | mail/em-popup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-popup.c b/mail/em-popup.c index eaa73e045d..5d9a898237 100644 --- a/mail/em-popup.c +++ b/mail/em-popup.c @@ -707,7 +707,7 @@ emp_standard_menu_factory(EPopup *emp, void *data) break; } case EM_POPUP_TARGET_PART: { EMPopupTargetPart *t = (EMPopupTargetPart *)emp->target; - mime_type = g_strdup(t->mime_type); + mime_type = camel_data_wrapper_get_mime_type((CamelDataWrapper *)t->part); filename = camel_mime_part_get_filename(t->part); items = emp_standard_object_popups; @@ -736,7 +736,7 @@ emp_standard_menu_factory(EPopup *emp, void *data) items = NULL; len = 0; } - + if (mime_type) { apps = gnome_vfs_mime_get_all_applications(mime_type); |