diff options
author | Damon Chaplin <damon@src.gnome.org> | 2000-06-17 12:20:38 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2000-06-17 12:20:38 +0800 |
commit | 7070854816195a5bc4b64d29c5565fa4e94b1475 (patch) | |
tree | 4762309460a1d99edde22767a5e80e9ebddc73d8 /calendar/gui/gnome-cal.h | |
parent | e67721cbd7d3549c07701913b1de32fac8807063 (diff) | |
download | gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar.gz 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/gnome-cal.h')
-rw-r--r-- | calendar/gui/gnome-cal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h index a6f8a342ff..015de10a65 100644 --- a/calendar/gui/gnome-cal.h +++ b/calendar/gui/gnome-cal.h @@ -24,6 +24,8 @@ BEGIN_GNOME_DECLS #define GNOME_CALENDAR_CLASS(class) GTK_CHECK_CAST_CLASS(class, gnome_calendar_get_type(), GnomeCalendarClass) #define GNOME_IS_CALENDAR(obj) GTK_CHECK_TYPE(obj, gnome_calendar_get_type()) +#define GNOME_CALENDAR_NUM_VIEWS 4 + typedef struct { GtkVBox vbox; @@ -48,6 +50,8 @@ typedef struct { GtkWidget *week_view; GtkWidget *month_view; + GtkWidget *view_toolbar_buttons[GNOME_CALENDAR_NUM_VIEWS]; + void *event_editor; /* The signal handler id for our GtkCalendar "day_selected" handler. */ |