aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-todo.c
Commit message (Collapse)AuthorAgeFilesLines
* build test-calendar-widget and evolution-calendar, common stuff is in aSeth Alves2000-04-061-3/+10
| | | | | | | | | | | | | | | * gui/Makefile.am: build test-calendar-widget and evolution-calendar, common stuff is in a library * gui/gnome-cal.c (gnome_calendar_get_type): made the calendar widget based on a gtk_frame rather than a gnome_app * gui/calendar-commands.c: split out some of main.c * gui/evolution-calendar-control.c: bonobo bung so evolution can use the calendar widget svn path=/trunk/; revision=2294
* Fix includes. (e_day_view_on_delete_occurance): Do not callFederico Mena Quintero2000-03-231-0/+5
| | | | | | | | | | | | | | | | | 2000-03-17 Federico Mena Quintero <federico@helixcode.com> * gui/e-day-view.c: Fix includes. (e_day_view_on_delete_occurance): Do not call save_default_calendar(). (e_day_view_on_delete_appointment): Likewise. (e_day_view_on_unrecur_appointment): Likewise. (e_day_view_finish_long_event_resize): Likewise. (e_day_view_finish_resize): Likewise. (e_day_view_key_press): Likewise. (e_day_view_on_editing_stopped): Likewise. (e_day_view_on_top_canvas_drag_data_received): Likewise. (e_day_view_on_main_canvas_drag_data_received): Likewise. svn path=/trunk/; revision=2140
* Removed function now that it is no CORBA server in the GUI.Federico Mena Quintero2000-03-121-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-12 Federico Mena Quintero <federico@helixcode.com> * gui/main.c (gnome_calendar_locate): Removed function now that it is no CORBA server in the GUI. (save_default_calendar): Removed function. Now the personal calendar server will take care of saving modified calendars when appropriate. (close_cmd): Do not call unregister_calendar_services(). * gui/eventedit.c (ee_ok): Do not save the calendar. * gui/gncal-day-panel.c (day_view_range_activated): Likewise. * gui/gncal-todo.c (ok_button): Likewise. (delete_todo): Likewise. * gui/gncal-full-day.c (delete_occurance): Likewise. (delete_appointment): Likewise. (unrecur_appointment): Likewise. (child_focus_out): Likewise. (update_from_drag_info): Likewise. * gui/gnome-cal.c (gnome_calendar_new): Removed obsolete call to create the CORBA server. * gui/gnome-cal.h (GnomeCalendar): Renamed `calc' field to `client'. * cal-client/cal-client.h (CalClient): Removed filename and corba_server fields. svn path=/trunk/; revision=2102
* replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendarSeth Alves2000-03-091-3/+21
| | | | | | | | | | | | | | | * gui/gnome-cal.h: replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendar struct. * gui/*.c: tracked change from Calendar * to CalClient * gui/main.c: moved alarm_defaults from here to cal-util/calobj.c (calendar_get_events_in_range): pulled this out of calendar.c and fixed it up to use cal-client stuff. i'm not sure where to put it yet. * gui/main.c (calendar_iterate): pulled this one out of calendar.c also svn path=/trunk/; revision=2090
* Added get_uids() method to get a list of UIDs based on object types.Federico Mena Quintero2000-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-08 Federico Mena Quintero <federico@helixcode.com> * evolution-calendar.idl (Cal): Added get_uids() method to get a list of UIDs based on object types. * cal-backend.c (cal_backend_get_uids): Implemented get_uids() in the backend. * cal.c (Cal_get_uids): Implemented get_uids() method. * cal-client.c (cal_client_get_uids): Implemented client-side function. * cal-util.c (cal_obj_instance_list_free): Doh. Free the list, not the last link. (cal_obj_uid_list_free): New function to free a list of UIDs. * GnomeCal.idl (Repository): Removed unused method get_object_by_id_list(). This is just for cleanup purposes and to remind me exactly of what needs to be moved over to evolution-calendar.idl. (Repository): Removed unused get_objects() method. * corba-cal.c (init_calendar_repo_class): Removed the unused get_objects method. * calobj.h (CalObjFindStatus): New status value enumeration for the find function. * calobj.c (ical_object_find_in_string): New function to parse a complete calendar and find a calendar object in it. This should be used instead ical_object_new_from_string() in the future. * evolution-calendar.idl (CalObjInstance): Added an uid field. Now the idea is that whenever calendar object strings are passed around, their UIDs are passed along with them so that the actual object can be pulled from the whole VCAL object using its UID to identify it. * cal-util.h (CalObjInstance): Added uid field. * cal-util.c (cal_obj_instance_list_free): Free the UIDs. * cal-backend.c (build_event_list): Store the object's UID in the instance structure. * cal.c (Cal_get_events_in_range): Copy the UID field to the CORBA structure. * cal-client.c (cal_client_get_events_in_range): Copy the UID field from the CORBA structure. * main.c (gnome_cal_file_menu): Removed unfinished html-month stuff. * Makefile.am (gnomecal_SOURCES): Removed html-month.c. * gnome-cal.c: #include "alarm.h" (mail_notify): Made static. * alarm.h: #include "calobj.h" * corba-cal-factory.h (init_corba_server): Fixed prototype. * quick-view.c (create_items_for_event): Made static. * gncal-todo.c (column_resized): Made static. * layout.c (find_index): Made static. svn path=/trunk/; revision=1699
* Merged Rusty's last todo list coloring patch from stable to HEAD.Russell Steinthal1999-11-221-36/+243
| | | | svn path=/trunk/; revision=1429
* Small fix -miguelArturo Espinosa1999-09-281-3/+3
| | | | svn path=/trunk/; revision=1265
* Added preliminary support for todo item priorities: they can be set, displayed,Russell Steinthal1999-05-261-9/+56
| | | | | | | and used as a sorting criterion. They are enabled/disabled using the properties page, as with due dates. svn path=/trunk/; revision=947
* Bumped version number to 1.0.3.Federico Mena Quintero1999-04-201-0/+5
| | | | | | | | 1999-03-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * configure.in: Bumped version number to 1.0.3. svn path=/trunk/; revision=858
* Kill all grabs from the CList before running the new dialog box.Miguel de Icaza1999-04-171-0/+5
| | | | | | | | | | | | | 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-todo.c (edit_activated): Kill all grabs from the CList before running the new dialog box. This fixes the problem of button-3/Edit on the todo item blocking the GUI (actually, the main window responds, but not the todo window). svn path=/trunk/; revision=817
* Make sure we can get events for button3. The code for the nice popup menuMiguel de Icaza1999-04-091-0/+1
| | | | | | | | | | 1999-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-todo.c (gncal_todo_init): Make sure we can get events for button3. The code for the nice popup menu was there but was not getting invoked. svn path=/trunk/; revision=806
* Made static. Make it use the full year format for strftime().Federico Mena Quintero1999-03-311-9/+6
| | | | | | | | | 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c (convert_time_t_to_char): Made static. Make it use the full year format for strftime(). svn path=/trunk/; revision=791
* Made clist titles i18n:able Added which views that are possible for --viewTomas Ogren1999-03-241-2/+9
| | | | | | | | | | | | 1999-03-24 Tomas Ogren <stric@ing.umu.se> * gncal-todo.c (gncal_todo_init): Made clist titles i18n:able * main.c (poptOption): Added which views that are possible for --view in the --help text (closes #367) * main.c (dump_events): Added (short) month to the strftime and made the strings i18n:able svn path=/trunk/; revision=778
* Add Summary editing for TODO items -rconoverArturo Espinosa1999-03-171-2/+48
| | | | svn path=/trunk/; revision=761
* Add support for Due Date when adding a TODO item here. (column_resized):Clifford R. Conover1999-03-111-24/+221
| | | | | | | | | | | | | | | | | | | | | | | | 1999-03-10 Clifford R. Conover <rconover@montana.edu> * gncal-todo.c (simple_todo_editor): Add support for Due Date when adding a TODO item here. (column_resized): New function (init_column_sorting): New function. (todo_click_column): New function. (convert_time_t_to_char, make_overdue_todo_style): New functions. * gnome-cal.c (gnome_calendar_todo_properties_changed): New function used to update the TODO when the properties have been chagned for it. * prop.c (prop_apply_todo): Apply TODO properties. * gncal-day-panel.c (todo_list_properties_changed): Update the TODO display here. * eventedit.c (date_edit_new): Made public svn path=/trunk/; revision=757
* Gnomecal now autosaves all the time.Arturo Espinosa1999-02-121-1/+3
| | | | | | | | Gnomecal now autosaves all the time. Miguel. svn path=/trunk/; revision=662
* Use gnome_dialog_set_parent. ditto ditto.Miguel de Icaza1998-12-101-1/+1
| | | | | | | | | | 1998-12-09 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-todo.c (simple_todo_editor): Use gnome_dialog_set_parent. * goto.c (goto_dialog): ditto * prop.c (properties): ditto. svn path=/trunk/; revision=522
* use GPOINTER_TO_INTHerbert V. Riedel1998-11-241-1/+1
| | | | | | | | | | 1998-11-23 Herbert V. Riedel <hvr@hvrlab.ml.org> * eventedit.c: use GPOINTER_TO_INT * gncal-todo.c: same. svn path=/trunk/; revision=483
* Use a scrolled window to put the clist into.Federico Mena Quintero1998-11-171-3/+7
| | | | | | | | | 1998-11-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c (gncal_todo_init): Use a scrolled window to put the clist into. svn path=/trunk/; revision=474
* Set the sensitivity of the edit/delete buttons. (gncal_todo_update):Federico Mena Quintero1998-10-091-2/+5
| | | | | | | | | | | 1998-10-08 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c (clist_row_selected): Set the sensitivity of the edit/delete buttons. (gncal_todo_update): Likewise. Thanks to Dirk Luetjens for the bug report. svn path=/trunk/; revision=435
* Close dialog when return is pressed.Havoc Pennington1998-05-181-0/+1
| | | | | | | | Sun May 17 17:55:03 1998 Havoc Pennington <hp@pobox.com> * gncal-todo.c (simple_todo_editor): Close dialog when return is pressed. svn path=/trunk/; revision=217
* Actually save the to-do entries.Federico Mena Quintero1998-04-241-39/+160
| | | | | | | | | | | 1998-04-23 Federico Mena Quintero <federico@nuclecu.unam.mx> * calendar.c (calendar_save): Actually save the to-do entries. * gncal-todo.c (simple_todo_editor): Now you can add and edit to-do entries. svn path=/trunk/; revision=191
* Made it use popup_menu().Federico Mena Quintero1998-04-231-0/+234
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