diff options
author | Harish Krishnaswamy <kharish@novell.com> | 2005-01-08 18:53:53 +0800 |
---|---|---|
committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2005-01-08 18:53:53 +0800 |
commit | eac831f58e75c6d8eb98972d3721d8e792490617 (patch) | |
tree | 7ee76cb7de187f51b8270cd9426ea0c14ec5506c /calendar/gui/e-day-view-top-item.c | |
parent | eded2adbdb1ef63ade4c03920de113cd3abccf3a (diff) | |
download | gsoc2013-evolution-eac831f58e75c6d8eb98972d3721d8e792490617.tar.gz gsoc2013-evolution-eac831f58e75c6d8eb98972d3721d8e792490617.tar.zst gsoc2013-evolution-eac831f58e75c6d8eb98972d3721d8e792490617.zip |
Added support for attachments support to calendar items.
2005-01-08 Harish Krishnaswamy <kharish@novell.com>
Added support for attachments support to calendar items.
svn path=/trunk/; revision=28287
Diffstat (limited to 'calendar/gui/e-day-view-top-item.c')
-rw-r--r-- | calendar/gui/e-day-view-top-item.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view-top-item.c b/calendar/gui/e-day-view-top-item.c index c84ed2859c..a733a7ec17 100644 --- a/calendar/gui/e-day-view-top-item.c +++ b/calendar/gui/e-day-view-top-item.c @@ -534,6 +534,17 @@ e_day_view_top_item_draw_long_event (EDayViewTopItem *dvtitem, icon_x -= icon_x_inc; } + if (icon_x <= max_icon_x && e_cal_component_has_attachments (comp)) { + gdk_gc_set_clip_mask (gc, NULL); + gdk_draw_pixbuf (drawable, gc, + day_view->attach_icon, + 0, 0, icon_x, icon_y, + E_DAY_VIEW_ICON_WIDTH, + E_DAY_VIEW_ICON_HEIGHT, + GDK_RGB_DITHER_NORMAL, + 0, 0); + icon_x -= icon_x_inc; + } if (icon_x <= max_icon_x && e_cal_component_has_alarms (comp)) { gdk_gc_set_clip_mask (gc, NULL); gdk_draw_pixbuf (drawable, gc, |