aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.h
diff options
context:
space:
mode:
authorDamon Chaplin <damon@src.gnome.org>2000-06-17 12:20:38 +0800
committerDamon Chaplin <damon@src.gnome.org>2000-06-17 12:20:38 +0800
commit7070854816195a5bc4b64d29c5565fa4e94b1475 (patch)
tree4762309460a1d99edde22767a5e80e9ebddc73d8 /calendar/gui/e-week-view.h
parente67721cbd7d3549c07701913b1de32fac8807063 (diff)
downloadgsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar.gz
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar.bz2
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar.lz
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar.xz
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar.zst
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.zip
added little buttons which are shown when there are more events than will
* gui/e-week-view.c: added little buttons which are shown when there are more events than will fit in a day. Clicking on the button takes the user to the 1-Day view and shows the full day. * gui/e-day-view.c: * gui/e-week-view.c: set the "use_ellipsis" arg to TRUE for the EText items so we get tooltips automatically. Though we may want to use our own code to show tooltips so we can show the tips when the mouse is around the edges of the event box, and we may want to show the start and end times of the event in full. * gui/calendar-commands.c (calendar_control_activate): * gui/gnome-cal.h: added view_toolbar_buttons[] so we can access the radio buttons in the code easily. We need this if we want to jump to another view programmatically. svn path=/trunk/; revision=3605
Diffstat (limited to 'calendar/gui/e-week-view.h')
-rw-r--r--calendar/gui/e-week-view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view.h b/calendar/gui/e-week-view.h
index 86031d2e58..dbb61a58b7 100644
--- a/calendar/gui/e-week-view.h
+++ b/calendar/gui/e-week-view.h
@@ -161,6 +161,8 @@ struct _EWeekView
GtkWidget *main_canvas;
GnomeCanvasItem *main_canvas_item;
+ GnomeCanvasItem *jump_buttons[E_WEEK_VIEW_MAX_WEEKS * 7];
+
GtkWidget *vscrollbar;
/* The calendar we are associated with. */
@@ -203,6 +205,9 @@ struct _EWeekView
gint rows_per_cell;
gint rows_per_compressed_cell;
+ /* The number of rows we have used for each day (i.e. each cell) */
+ gint rows_per_day[E_WEEK_VIEW_MAX_WEEKS * 7];
+
/* If the small font is used for displaying the minutes. */
gboolean use_small_font;