diff options
author | JP Rosevear <jpr@ximian.com> | 2003-10-29 22:05:34 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-10-29 22:05:34 +0800 |
commit | 4cd045fb40ee5fcad3c5f86b9ecff5d4c21963cd (patch) | |
tree | c52b473aa7e259f552053581177c2a0b568b3c4b /calendar/gui/e-cell-date-edit-config.h | |
parent | 104ef59a6ae16a83f0ba16cedae32c6322b3fdc3 (diff) | |
download | gsoc2013-evolution-4cd045fb40ee5fcad3c5f86b9ecff5d4c21963cd.tar.gz gsoc2013-evolution-4cd045fb40ee5fcad3c5f86b9ecff5d4c21963cd.tar.zst gsoc2013-evolution-4cd045fb40ee5fcad3c5f86b9ecff5d4c21963cd.zip |
set the timezone for all clients (timezone_changed_cb): callback for
2003-10-29 JP Rosevear <jpr@ximian.com>
* 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
Diffstat (limited to 'calendar/gui/e-cell-date-edit-config.h')
-rw-r--r-- | calendar/gui/e-cell-date-edit-config.h | 55 |
1 files changed, 55 insertions, 0 deletions
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 <jpr@ximian.com> + * + * 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 <widgets/misc/e-cell-date-edit.h> + +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 |