From 4cd045fb40ee5fcad3c5f86b9ecff5d4c21963cd Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 29 Oct 2003 14:05:34 +0000 Subject: set the timezone for all clients (timezone_changed_cb): callback for 2003-10-29 JP Rosevear * gui/gnome-cal.c (set_timezone): set the timezone for all clients (timezone_changed_cb): callback for changes (setup_config): setup the configuration (setup_widgets): setup up configuration managers for the list view, task list and date navigator (gnome_calendar_init): setup config (gnome_calendar_destroy): destroy configuration managers and notifications (gnome_calendar_update_config_settings): remove dead bits * gui/e-mini-calendar-config.[hc]: manage configuration of an e-calendar * gui/e-day-view-config.h: remove extraneous comment, type the parent class correctly * gui/e-week-view-config.h: ditto * gui/e-day-view-config.c (e_day_view_config_class_init): type the class correctly (set_timezone): set timezone (timezone_changed_cb): timezone changed callback (e_day_view_config_set_view): track timezone changes * gui/e-week-view-config.c: ditto * gui/e-cell-date-edit-config.[hc]: manage configuration of a date edit cell * gui/e-calendar-table-config.[hc]: manage configuration of a e-calendar-table * gui/e-cal-list-view.c (get_current_time_cb): use the view timezone to compute * gui/e-cal-list-view-config.[hc]: manage configuration of a list view * gui/calendar-config.h: update protos * gui/calendar-config.c (calendar_config_add_notification_timezone): notify of timezone change (calendar_config_add_notification_dnav_show_week_no): notify of show week number setting change * gui/calendar-component.c (calendar_component_peek): remove bad comma * gui/Makefile.am: build new config classes svn path=/trunk/; revision=23114 --- calendar/gui/e-cell-date-edit-config.h | 55 ++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 calendar/gui/e-cell-date-edit-config.h (limited to 'calendar/gui/e-cell-date-edit-config.h') diff --git a/calendar/gui/e-cell-date-edit-config.h b/calendar/gui/e-cell-date-edit-config.h new file mode 100644 index 0000000000..fad1d9e508 --- /dev/null +++ b/calendar/gui/e-cell-date-edit-config.h @@ -0,0 +1,55 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Author : + * JP Rosevear + * + * Copyright 2003, Ximian, Inc. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ + +#ifndef _E_CELL_DATE_EDIT_CONFIG_H_ +#define _E_CELL_DATE_EDIT_CONFIG_H_ + +#include + +G_BEGIN_DECLS + +#define E_CELL_DATE_EDIT_CONFIG(obj) GTK_CHECK_CAST (obj, e_cell_date_edit_config_get_type (), ECellDateEditConfig) +#define E_CELL_DATE_EDIT_CONFIG_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, e_cell_date_edit_config_get_type (), ECellDateEditConfigClass) +#define E_IS_CELL_DATE_EDIT_CONFIG(obj) GTK_CHECK_TYPE (obj, e_cell_date_edit_config_get_type ()) + +typedef struct _ECellDateEditConfig ECellDateEditConfig; +typedef struct _ECellDateEditConfigClass ECellDateEditConfigClass; +typedef struct _ECellDateEditConfigPrivate ECellDateEditConfigPrivate; + +struct _ECellDateEditConfig { + GObject parent; + + ECellDateEditConfigPrivate *priv; +}; + +struct _ECellDateEditConfigClass { + GObjectClass parent_class; +}; + +GType e_cell_date_edit_config_get_type (void); +ECellDateEditConfig *e_cell_date_edit_config_new (ECellDateEdit *cell); +ECellDateEdit *e_cell_date_edit_config_get_cell (ECellDateEditConfig *cell_config); +void e_cell_date_edit_config_set_cell (ECellDateEditConfig *view_config, ECellDateEdit *cell); + +G_END_DECLS + +#endif -- cgit v1.2.3