aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-top-item.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2007-11-05 17:57:30 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-11-05 17:57:30 +0800
commit92d0fb79a748036a21403539a8c296eafb2e2613 (patch)
tree826618dcb510ea7d8057005ba347c6131894cb9d /calendar/gui/e-day-view-top-item.h
parent5022430bb69f02ace14e7cdf1d6095ffe8b249a9 (diff)
downloadgsoc2013-evolution-92d0fb79a748036a21403539a8c296eafb2e2613.tar.gz
gsoc2013-evolution-92d0fb79a748036a21403539a8c296eafb2e2613.tar.zst
gsoc2013-evolution-92d0fb79a748036a21403539a8c296eafb2e2613.zip
** Fix for bug #346693
2007-11-05 Milan Crha <mcrha@redhat.com> ** Fix for bug #346693 * gui/e-day-view-top-item.h: (EDayViewTopItem): New property 'show_dates'. * gui/e-day-view-top-item.c: (e_day_view_top_item_draw), (e_day_view_top_item_class_init), (e_day_view_top_item_init), (e_day_view_top_item_set_arg): Always draw background rectangle over whole requested place and draw dates or event only, based on new property 'show_dates'. * gui/e-day-view.h: (struct _EDayView): New properties 'tc_vscrollbar', 'top_dates_canvas', 'top_dates_canvas_item'. * gui/e-day-view.c: (E_DAY_VIEW_MAX_ROWS_AT_TOP), (e_day_view_top_scroll), (e_day_view_update_top_scroll), (e_day_view_on_top_canvas_scroll), (e_day_view_init), (e_day_view_style_set), (e_day_view_size_allocate), (e_day_view_check_layout), (e_day_view_on_editing_started): Added support for scrolling 'top_canvas' when number of items there increases over the 'E_DAY_VIEW_MAX_ROWS_AT_TOP'. * gui/e-day-view.c: (e_day_view_set_selected_time_range), (e_day_view_set_selected_time_range_in_top_visible), (e_day_view_set_selected_time_range_visible), (e_day_view_set_selected_time_range), (e_day_view_update_query), (e_day_view_goto_start_of_work_day), (e_day_view_goto_end_of_work_day), (e_day_view_change_duration_to_start_of_work_day), (e_day_view_change_duration_to_end_of_work_day), (e_day_view_layout_timeout_cb): Redraw top_dates_canvas if necessary. svn path=/trunk/; revision=34494
Diffstat (limited to 'calendar/gui/e-day-view-top-item.h')
-rw-r--r--calendar/gui/e-day-view-top-item.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view-top-item.h b/calendar/gui/e-day-view-top-item.h
index 1911a61b6b..f267a98d55 100644
--- a/calendar/gui/e-day-view-top-item.h
+++ b/calendar/gui/e-day-view-top-item.h
@@ -46,6 +46,9 @@ typedef struct {
/* The parent EDayView widget. */
EDayView *day_view;
+
+ /* Show dates or events. */
+ gboolean show_dates;
} EDayViewTopItem;
typedef struct {