diff options
Diffstat (limited to 'calendar/gui/calendar-commands.c')
-rw-r--r-- | calendar/gui/calendar-commands.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c index 4b6078df99..dfffed9b63 100644 --- a/calendar/gui/calendar-commands.c +++ b/calendar/gui/calendar-commands.c @@ -154,6 +154,14 @@ next_clicked (BonoboUIComponent *uic, gpointer data, const char *path) set_normal_cursor (gcal); } +void +calendar_goto_today (GnomeCalendar *gcal) +{ + set_clock_cursor (gcal); + gnome_calendar_goto_today (gcal); + set_normal_cursor (gcal); +} + static void today_clicked (BonoboUIComponent *uic, gpointer data, const char *path) { @@ -161,9 +169,7 @@ today_clicked (BonoboUIComponent *uic, gpointer data, const char *path) gcal = GNOME_CALENDAR (data); - set_clock_cursor (gcal); - gnome_calendar_goto_today (gcal); - set_normal_cursor (gcal); + calendar_goto_today (gcal); } static void |