aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-day-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Set the canvas scroll region here, not in size_allocate(). Also, use theFederico Mena Quintero1999-05-261-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | 1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (idle_handler): Set the canvas scroll region here, not in size_allocate(). Also, use the correct width and height based on the allocation and the precomputed minimum width/height values. * gnome-cal.c (setup_widgets): Set the scrollbar policy of the scrolled window. * main.c (setup_appbar): Use the correct type for the appbar. * gncal-day-view.c: Removed unused function switch_to_day(). * gncal-day-panel.c (calendar_day_selected): Removed unused variable. 1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * configure.in: Added the gncal/doc/* Makefiles to AC_OUTPUT. svn path=/trunk/; revision=939
* Do not remove the clipping rectangle here.Federico Mena Quintero1999-02-011-1/+0
| | | | | | | | | | | | | 1999-01-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-view.c (gncal_day_view_expose): Do not remove the clipping rectangle here. * view-utils.c (view_utils_draw_events): Remove the clipping rectangle here, since the user of this function should not know about it. svn path=/trunk/; revision=638
* Improve this draw routine. Now it can split the text in lines and fit asMiguel de Icaza1999-02-011-19/+23
| | | | | | | | | | | | | | 1999-01-30 Miguel de Icaza <miguel@nuclecu.unam.mx> * view-utils.c (view_utils_draw_events): Improve this draw routine. Now it can split the text in lines and fit as many events as possible. (nicetime): Return strings without spaces at the beginning. * gncal-day-view.c (gncal_day_view_expose): Move clip-clear operation here. svn path=/trunk/; revision=637
* Various fixes and optimizations; Tagging of the days with appointements.Arturo Espinosa1998-04-301-1/+1
| | | | | | | | | Various fixes and optimizations; Tagging of the days with appointements. the 1969 bug is gone. Really. Miguel. svn path=/trunk/; revision=201
* Made it use popup_menu().Federico Mena Quintero1998-04-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | | 1998-04-22 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c: Made it use popup_menu(). * popup-menu.c: New file with utility functions for creating popup menus. Maybe such a thing would be useful in libgnomeui, a la gnome-app-helper? * Makefile.am (gnomecal_SOURCES): Added popup-menu.[ch] to the sources. 1998-04-21 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c: New widget for editing TODO lists. This will be worked on a lot. * Makefile.am (gnomecal_SOURCES): Added gncal-todo.[ch] to the sources. * gncal-day-panel.c: Make it use the new TODO widget. svn path=/trunk/; revision=189
* 1. Calendar property configuration is finally here with nice live-updates.Arturo Espinosa1998-04-221-2/+60
| | | | | | | | | | | | | 1. Calendar property configuration is finally here with nice live-updates. 2. Double clicking on week view jumps to that day in the day view; Context menu allows adding an appointment on that day. Miguel. svn path=/trunk/; revision=182
* Usability fixes -migArturo Espinosa1998-04-181-3/+1
| | | | svn path=/trunk/; revision=156
* New event generation api in place -miguelArturo Espinosa1998-04-171-4/+3
| | | | svn path=/trunk/; revision=146
* Use menu_shell->children, not menu->children. Why does GtkMenu have aFederico Mena Quintero1998-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | 1998-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (ee_store_alarm): Use menu_shell->children, not menu->children. Why does GtkMenu have a children field in the object structure? (check_dates): New function that insures that start_date < end_date. (check_times): In addition to checking whether the event spans the whole day, now it insures that start_time < end_time. * gncal-full-day.c (child_set_size): Now children get bigger temporarily while they are focused. This allows the handles not to "overlap" the rows used by the child and thus allow editing of very thin events. (recompute_motion): Fix for new child coordinates. (gncal_full_day_expose): Make it use find_child_by_window() instead of looking for it by hand. svn path=/trunk/; revision=145
* Now takes object and flags parameters. Likewise. Likewise.Federico Mena Quintero1998-04-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 1998-04-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.c (gncal_week_view_update): Now takes object and flags parameters. * gncal-day-view.c (gncal_day_view_update): Likewise. * gncal-full-day.c (gncal_full_day_update): Likewise. (child_focus_in): New function. In conjunction with child_focus_out(), these only display the handles in the child when it is focused. The result is that the user can see more of the child's text when nothing is focused, and we can also display fatter and nicer drag handles. * gnome-cal.c (gnome_calendar_object_changed): Now takes an additional flags parameter (gnome_calendar_update_all): Made function static. Now takes changed object and flags parameters as well. (gnome_calendar_object_changed): Now takes additional flags parameter to indicate what changed in the specified object. * calobj.h (CalObjectChange): New enum with flags to describe what has been changed in an object. svn path=/trunk/; revision=132
* More work in progress, wheeeee - FedericoArturo Espinosa1998-04-081-3/+8
| | | | svn path=/trunk/; revision=109
* Various time fixes; lib fixes; cache fixes -migArturo Espinosa1998-04-031-0/+4
| | | | svn path=/trunk/; revision=96
* Day events are now cached inside the widget. They get initialized at thisMiguel de Icaza1998-04-031-9/+19
| | | | | | | | | | | 1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-day-view.c (gncal_day_view_update): Day events are now cached inside the widget. They get initialized at this time. * view-utils.c (view_utils_draw_events): Use the list of events. svn path=/trunk/; revision=95
* New customization function. We can't decide on a stupid border type :-)Federico Mena Quintero1998-04-021-1/+16
| | | | | | | | | | | 1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-view.c (gncal_day_view_set_shadow): New customization function. We can't decide on a stupid border type :-) (gncal_day_view_init): Made GTK_SHADOW_ETCHED_IN be the default shadow type. Looks good. svn path=/trunk/; revision=94
* More updates so that Mig can test it - FedericoArturo Espinosa1998-04-021-1/+1
| | | | svn path=/trunk/; revision=91
* New week view composite widget. This provides a full week view (7 dayFederico Mena Quintero1998-04-021-68/+121
| | | | | | | | | | | | | | | 1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.[ch]: New week view composite widget. This provides a full week view (7 day views plus busy time display -- the latter is currently unimplemented). 1998-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-view.c: New day view widget. It is intended to be a child widget of the week view composite widget. svn path=/trunk/; revision=90
* Removed #include "gtkcalendar.h", because it now comes from libgnomeui.Federico Mena Quintero1998-04-011-0/+254
1998-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal.c: Removed #include "gtkcalendar.h", because it now comes from libgnomeui. * Makefile.am (gncal_SOURCES): Added new source files to the rules. svn path=/trunk/; revision=84