aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/config-data.c
Commit message (Collapse)AuthorAgeFilesLines
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-15/+15
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations -Kjartan Maraas2007-10-241-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-23 Kjartan Maraas <kmaraas@gnome.org> * gui/alarm-notify/alarm-notify-dialog.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/alarm-queue.c: * gui/alarm-notify/config-data.c: * gui/cal-search-bar.c: * gui/calendar-commands.c: * gui/calendar-config.c: * gui/dialogs/alarm-dialog.c: * gui/dialogs/alarm-list-dialog.c: * gui/dialogs/cal-prefs-dialog.c: * gui/dialogs/comp-editor.c: * gui/dialogs/event-page.c: * gui/dialogs/recurrence-page.c: * gui/e-alarm-list.c: * gui/e-cal-config.c: * gui/e-cal-event.c: * gui/e-cal-menu.c: * gui/e-cal-popup.c: * gui/e-calendar-table.c: * gui/e-calendar-view.c: * gui/e-date-time-list.c: * gui/e-day-view-main-item.c: * gui/e-day-view-time-item.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-meeting-list-view.c: * gui/e-memo-table.c: * gui/e-select-names-editable.c: * gui/e-week-view-event-item.c: * gui/e-week-view.c: * gui/goto.c: * gui/migration.c: * gui/print.c: * gui/tasks-control.c: * importers/icalendar-importer.c: Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations - mixing declarations and code - mark some code static - remove use of some deprecated Gtk+ apis svn path=/trunk/; revision=34420
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Plugged memory leaks.Hiroyuki Ikezoe2007-07-261-2/+19
| | | | | | | | | | 2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> * gui/alarm-notify/config-data.c, gui/tasks-component.c, gui/calendar-component.c, gui/memos-component.c: Plugged memory leaks. svn path=/trunk/; revision=33852
* broken pipes are soo funKjartan Maraas2006-02-081-1/+1
| | | | svn path=/trunk/; revision=31452
* Changes for alarm notification bubbleChenthill Palanisamy2005-11-241-0/+78
| | | | svn path=/trunk/; revision=30661
* just set up the alarm notify objectJP Rosevear2004-05-181-40/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-18 JP Rosevear <jpr@novell.com> * gui/alarm-notify/notify-main.c (init_alarm_service): just set up the alarm notify object * gui/alarm-notify/alarm-notify.h: update proto * gui/alarm-notify/alarm-notify.c (process_removal_in_hash): process removals using the source list (list_changed_cb): when the list changes, update (load_calendars): initially load the calendars (alarm_notify_init): load the calendars here and don't listen for a selection notification (alarm_notify_add_calendar): get the source type when adding a calendar * gui/alarm-notify/notify-main.c (main): no need to init/shutdown gnome vfs * gui/alarm-notify/config-data.h: new proto * gui/alarm-notify/config-data.c (config_data_get_notify_with_tray): routine to get schema value * gui/alarm-notify/alarm.c (alarm_ready_cb): no timeout checking here, setup_timeout does that (queue_alarm): ditto (setup_timeout): calculate the timeout better * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): tidy (edit_component): clean up exception handling (display_notification): don't show the tray icon if we aren't notifying with the tray * gui/apps_evolution_calendar.schemas.in.in: add notify_with_tray option svn path=/trunk/; revision=25958
* Fixes #52970Rodrigo Moya2004-02-041-15/+28
| | | | | | | | | | | | | | | | | | | | | | | 2004-02-04 Rodrigo Moya <rodrigo@ximian.com> Fixes #52970 * idl/evolution-calendar.idl: added back the AlarmNotify interface. * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: changed to have the AlarmNotify component be created via a factory. * gui/alarm-notify/alarm-notify.[ch]: converted to implement the AlarmNotify interface. * gui/alarm-notify/notify-main.c (main): register the factory with bonobo_generic_factory_new, not the object itself. Removed redundant call to bonobo_object_unref. Call e_passwords_shutdown on exit. * gui/alarm-notify/config-data.c (config_data_get_calendars_to_load): get only the selected calendars/task lists. svn path=/trunk/; revision=24613
* removed.Rodrigo Moya2004-01-161-1/+106
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-15 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.[ch]: removed. * gui/alarm-notify/Makefile.am: removed save.[ch]. * gui/alarm-notify/notify-main.c: removed obsolete headers. * gui/alarm-notify/config-data.[ch] (config_data_set_last_notification_time, config_data_get_last_notification_time, config_data_save_blessed_program, config_data_is_blessed_program): new functions. * gui/alarm-notify/alarm-queue.c: dont use removed functions. (alarm_trigger_cb, procedure_notification_dialog, alarm_queue_init): use config_data_* functions. * gui/alarm-notify/alarm-notify.c: dont use removed functions. svn path=/trunk/; revision=24249
* removed this function, since we now use the ESourceList to know whatRodrigo Moya2003-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-01 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (save_calendars_to_load): removed this function, since we now use the ESourceList to know what calendars to load. (get_calendars_to_load): moved to config-data.c. (save_notification_time, get_saved_notification_time, save_blessed_program, is_blessed_program): use the shared GConfClient. * gui/alarm-notify/config-data.[ch]: use a GConfClient instead of a EConfigListener. (config_data_get_conf_client): renamed from _get_listener. (config_data_get_timezone, config_data_get_24_hour_format): changed to use the GConfClient. (config_data_get_calendars_to_load): new function. (ensure_inited): create the source lists for calendar and tasks here. (do_cleanup): cleanup the source lists here. * gui/alarm-notify/notify-main.c (load_calendars): use config_data_get_calendars_to_load(). svn path=/trunk/; revision=23524
* removed this function, since we now use the ESourceList to know whatRodrigo Moya2003-12-011-13/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-01 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (save_calendars_to_load): removed this function, since we now use the ESourceList to know what calendars to load. (get_calendars_to_load): moved to config-data.c. (save_notification_time, get_saved_notification_time, save_blessed_program, is_blessed_program): use the shared GConfClient. * gui/alarm-notify/config-data.[ch]: use a GConfClient instead of a EConfigListener. (config_data_get_conf_client): renamed from _get_listener. (config_data_get_timezone, config_data_get_24_hour_format): changed to use the GConfClient. (config_data_get_calendars_to_load): new function. (ensure_inited): create the source lists for calendar and tasks here. (do_cleanup): cleanup the source lists here. * gui/alarm-notify/notify-main.c (load_calendars): use config_data_get_calendars_to_load(). svn path=/trunk/; revision=23523
* Cleanup some ref/unref callsJP Rosevear2003-11-181-2/+2
| | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * Cleanup some ref/unref calls svn path=/trunk/; revision=23412
* gconf settings upgradesMichael Zucci2003-02-241-2/+2
| | | | svn path=/trunk/; revision=20018
* use libxml2 headers.Rodrigo Moya2002-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend.c: use libxml2 headers. * gui/alarm-notify/Makefile.am: * gui/dialogs/Makefile.am: * gui/Makefile.am: s/XML_I18N/INTLTOOL. Fixed execution of $(ORBIT_IDL). * gui/alarm-notify/alarm-notify.[ch]: converted to BonoboObject. * gui/alarm-notify/alarm-notify-dialog.c: compilation fixes. (alarm_notify_dialog): adapted to new glade_xml_new signature. * gui/alarm-notify/alarm-queue.c: ported to BonoboActivation and GtkStock and GtkDialog. * gui/alarm-notify/notify-main.c: ported to BonoboActivation and use GObject functions instead of GtkObject ones. * gui/alarm-notify/save.h: removed BonoboConfig related functions. * gui/alarm-notify/config-data.c: use GObject functions instead of GtkObject ones. * TODO.port: added file for keeping track of disabled things while we port. svn path=/trunk/; revision=18550
* Fixes #12326Rodrigo Moya2002-08-261-38/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-26 Rodrigo Moya <rodrigo@ximian.com> Fixes #12326 * gui/alarm-notify/config-data.c (ensure_inited): create a EConfigListener for configuration access. (do_cleanup): g_atexit installed function, to clean up configuration database resources. (config_data_get_timezone): retrieve the configuration for the EConfigListener object. (config_data_get_listener): new function. * gui/alarm-notify/save.c (get_config_db, discard_config_db): removed. Use EConfigListener instead. (save_notification_time, get_saved_notification_time, save_calendars_to_load, get_calendars_to_load, save_blessed_program, is_blessed_program): use EConfigListener. * gui/alarm-notify/notify-main.c (init_alarm_notify_service): removed. (alarm_notify_factory_fn): create here the alarm_notify_service if it hasn't been created yet. (load_calendars): likewise. (main): don't call init_alarm_notify_service. svn path=/trunk/; revision=17859
* make the timezone default to UTC. Fixes bug #14362.Damon Chaplin2001-11-141-4/+6
| | | | | | | | | | | | 2001-11-13 Damon Chaplin <damon@ximian.com> * gui/alarm-notify/config-data.c (ensure_inited): * gui/calendar-config.c (config_read): * conduits/todo/todo-conduit.c (get_default_timezone): * conduits/calendar/calendar-conduit.c (get_default_timezone): make the timezone default to UTC. Fixes bug #14362. svn path=/trunk/; revision=14691
* Fixing the license text.Ettore Perazzoli2001-10-281-4/+3
| | | | svn path=/trunk/; revision=14214
* Fixes bug #5282.Federico Mena Quintero2001-10-251-0/+111
2001-10-24 Federico Mena Quintero <federico@ximian.com> Fixes bug #5282. * cal-util/timeutil.c (icaltimetype_to_tm_with_zone): New function to avoid copying the same code all over the place. (icaltimetype_to_tm): Also set the tm.tm_wday. * gui/alarm-notify/alarm-queue.c (queue_midnight_refresh): Use time_day_end_with_zone(). (load_alarms_for_today): Likewise. And oops, we were only computing the times and not loading the alarms. (obj_updated_cb): Likewise. (load_alarms): Removed assertion that is no longer valid because we may load the alarms for a client in two stages. * gui/dialogs/alarm-page.c (get_alarm_string): Convert absolute trigger times to the local timezone. * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Convert the times to the local timezone. (alarm_notify_dialog): Likewise, for the window title. (alarm_notify_dialog): Set the window layer to WIN_LAYER_ONTOP. * gui/e-cell-date-edit-text.c (ecd_get_text): Use icaltimetype_to_tm_with_zone(). * gui/alarm-notify/save.c (get_config_db): Made public. (discard_config_db): Made public. * gui/alarm-notify/config-data.[ch]: New files with functions to fetch the calendar configuration data used by the alarm daemon. svn path=/trunk/; revision=13986