aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-04-14 08:59:30 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-14 08:59:30 +0800
commit23ef00df35512cfe6285ba45c0b20f635faee111 (patch)
tree32c0b448b6fa62b1b6dd461e0718bc6b9f3efca7 /calendar/gui/gnome-cal.c
parentc9311c844f224c678eea75f178850985f7581a3e (diff)
downloadgsoc2013-evolution-23ef00df35512cfe6285ba45c0b20f635faee111.tar.gz
gsoc2013-evolution-23ef00df35512cfe6285ba45c0b20f635faee111.tar.zst
gsoc2013-evolution-23ef00df35512cfe6285ba45c0b20f635faee111.zip
New function to let the outside world decide which child to focus.
1998-04-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.h: * gncal-full-day.c (gncal_full_day_focus_child): New function to let the outside world decide which child to focus. (gncal_full_day_focus_child): Bleah. We have to synthesize a click because GtkText will not set the cursor when you focus it. * gnome-cal.c (day_view_range_activated): Focus the new child in the full day widget. svn path=/trunk/; revision=131
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 257dfe0532..6a9b7b044f 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -49,6 +49,7 @@ day_view_range_activated (GncalFullDay *fullday, GnomeCalendar *gcal)
gncal_full_day_selection_range (fullday, &ical->dtstart, &ical->dtend);
gnome_calendar_add_object (gcal, ical);
+ gncal_full_day_focus_child (fullday, ical);
}
static void