aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view-event-item.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-08-24 06:49:48 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-08-24 06:49:48 +0800
commit252454c7ab52055618878ec439c4f28e34305bb1 (patch)
treea7b6c3a198635524cca695b77859a7c6fd9be5a0 /calendar/gui/e-week-view-event-item.c
parent72daa2c6442573fcd0df1072f95cc411c9314511 (diff)
downloadgsoc2013-evolution-252454c7ab52055618878ec439c4f28e34305bb1.tar.gz
gsoc2013-evolution-252454c7ab52055618878ec439c4f28e34305bb1.tar.zst
gsoc2013-evolution-252454c7ab52055618878ec439c4f28e34305bb1.zip
#include <e-util/e-cursors.h>
2000-08-23 Federico Mena Quintero <federico@helixcode.com> * gui/main.c: #include <e-util/e-cursors.h> * gui/e-day-view-time-item.c (e_day_view_time_item_draw): Initialize time_min_x1 and hour_r to keep gcc happy. * gui/e-day-view.c (e_day_view_update_event_label): Warning fix. (e_day_view_update_main_canvas_drag): Initialize start_row. * gui/e-week-view-event-item.c (e_week_view_event_item_draw): Initialize time_y_small_min, icon_x. * Makefile.am (SUBDIRS): Re-enable the gui directory. * gui/prop.c (prop_store_alarm_default_values): Temporarily #if 0 out. svn path=/trunk/; revision=4993
Diffstat (limited to 'calendar/gui/e-week-view-event-item.c')
-rw-r--r--calendar/gui/e-week-view-event-item.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c
index f8812f6c33..6924dc705c 100644
--- a/calendar/gui/e-week-view-event-item.c
+++ b/calendar/gui/e-week-view-event-item.c
@@ -280,12 +280,17 @@ e_week_view_event_item_draw (GnomeCanvasItem *canvas_item,
icon_y = y1 + E_WEEK_VIEW_EVENT_BORDER_HEIGHT + E_WEEK_VIEW_ICON_Y_PAD;
start_minute = event->start_minute;
end_minute = event->end_minute;
+ time_y_small_min = 0;
+ icon_x = 0;
+
time_y = y1 + E_WEEK_VIEW_EVENT_BORDER_HEIGHT
+ E_WEEK_VIEW_EVENT_TEXT_Y_PAD + font->ascent;
+
if (week_view->small_font)
time_y_small_min = y1 + E_WEEK_VIEW_EVENT_BORDER_HEIGHT
+ E_WEEK_VIEW_EVENT_TEXT_Y_PAD
+ week_view->small_font->ascent;
+
if (week_view->use_small_font && week_view->small_font)
time_width = week_view->digit_width * 2
+ week_view->small_digit_width * 2;