diff options
author | JP Rosevear <jpr@ximian.com> | 2001-10-25 02:22:29 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-10-25 02:22:29 +0800 |
commit | 5cd755bc7d1779f92bbce5abd3eed0eeb684fce0 (patch) | |
tree | 1e19a4aa52310656d3c065ad698151e20f8d1dc2 /calendar/gui/e-meeting-time-sel-item.c | |
parent | 31d99df0f42df0095dbfd3f3b29f0962b97cde4b (diff) | |
download | gsoc2013-evolution-5cd755bc7d1779f92bbce5abd3eed0eeb684fce0.tar.gz gsoc2013-evolution-5cd755bc7d1779f92bbce5abd3eed0eeb684fce0.tar.zst gsoc2013-evolution-5cd755bc7d1779f92bbce5abd3eed0eeb684fce0.zip |
track the spacer vbox (e_meeting_time_selector_style_set): make sure the
2001-10-24 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
track the spacer vbox
(e_meeting_time_selector_style_set): make sure the rows are the
correct size for the style
* gui/e-meeting-time-sel-item.c
(e_meeting_time_selector_item_paint_day_top): slight adjustments
to where the text is drawn
* gui/e-meeting-time-sel.h: new member
* gui/e-meeting-model.c (build_etable): ensure uniform row height
* conduits/todo/todo-conduit.c (comp_from_remote_record): mark
status as completed in appropriate places and don't overwrite
legitimate percentages and such
svn path=/trunk/; revision=13989
Diffstat (limited to 'calendar/gui/e-meeting-time-sel-item.c')
-rw-r--r-- | calendar/gui/e-meeting-time-sel-item.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/e-meeting-time-sel-item.c b/calendar/gui/e-meeting-time-sel-item.c index 9b6db87208..a16ed6fe52 100644 --- a/calendar/gui/e-meeting-time-sel-item.c +++ b/calendar/gui/e-meeting-time-sel-item.c @@ -488,22 +488,22 @@ e_meeting_time_selector_item_paint_day_top (EMeetingTimeSelectorItem *mts_item, clip_rect.height = mts->row_height - 2; gdk_gc_set_clip_rectangle (gc, &clip_rect); gdk_draw_string (drawable, font, gc, - x + 4, 4 + font->ascent - scroll_y, buffer); + x + 2, 4 + font->ascent - scroll_y, buffer); gdk_gc_set_clip_rectangle (gc, NULL); /* Draw the hours. */ hour = mts->first_hour_shown; - hour_x = x; + hour_x = x + 2; hour_y = mts->row_height + 4 + font->ascent - scroll_y; while (hour < mts->last_hour_shown) { if (calendar_config_get_24_hour_format ()) gdk_draw_string (drawable, font, gc, - hour_x - (mts->hour_widths[hour] / 2), - hour_y, EMeetingTimeSelectorHours[hour]); + hour_x, hour_y, + EMeetingTimeSelectorHours[hour]); else gdk_draw_string (drawable, font, gc, - hour_x - (mts->hour_widths[hour] / 2), - hour_y, EMeetingTimeSelectorHours12[hour]); + hour_x, hour_y, + EMeetingTimeSelectorHours12[hour]); hour += mts->zoomed_out ? 3 : 1; hour_x += mts->col_width; |