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
84 lines
2.1 KiB
C
84 lines
2.1 KiB
C
/*
|
|
* EventEditor widget
|
|
* Copyright (C) 1998 the Free Software Foundation
|
|
*
|
|
* Author: Miguel de Icaza (miguel@kernel.org)
|
|
*/
|
|
|
|
#ifndef EVENT_EDITOR_H
|
|
#define EVENT_EDITOR_H
|
|
|
|
#include "gnome-cal.h"
|
|
#include <libgnomeui/gnome-dialog.h>
|
|
|
|
BEGIN_GNOME_DECLS
|
|
|
|
|
|
#define EVENT_EDITOR(obj) GTK_CHECK_CAST(obj, event_editor_get_type(), EventEditor)
|
|
#define EVENT_EDITOR_CLASS(class) GTK_CHECK_CAST_CLASS(class, event_editor_get_type(), EventEditorClass)
|
|
#define IS_EVENT_EDITOR(obj) GTK_CHECK_TYPE(obj, event_editor_get_type())
|
|
|
|
|
|
typedef struct {
|
|
GnomeDialog dialog;
|
|
GtkWidget *notebook;
|
|
|
|
GtkWidget *general;
|
|
GtkWidget *general_table;
|
|
GtkWidget *general_time_table;
|
|
GtkWidget *general_allday;
|
|
GtkWidget *general_owner;
|
|
GtkWidget *general_summary;
|
|
GtkWidget *start_time, *end_time;
|
|
GtkWidget *general_radios;
|
|
|
|
GtkWidget *recur_page_label;
|
|
GtkWidget *recur_vbox;
|
|
GtkWidget *recur_hbox;
|
|
|
|
GSList *recur_rr_group;
|
|
GtkWidget *recur_rr_notebook;
|
|
GtkWidget *recur_rr_day_period;
|
|
GtkWidget *recur_rr_week_period;
|
|
GtkWidget *recur_rr_week_days [7];
|
|
GtkWidget *recur_rr_month_date;
|
|
GtkWidget *recur_rr_month_date_label;
|
|
GtkWidget *recur_rr_month_day;
|
|
GtkWidget *recur_rr_month_weekday;
|
|
GtkWidget *recur_rr_month_period;
|
|
GtkWidget *recur_rr_year_period;
|
|
|
|
GSList *recur_ed_group;
|
|
GtkWidget *recur_ed_end_on;
|
|
GtkWidget *recur_ed_end_after;
|
|
|
|
GtkWidget *recur_ex_date;
|
|
GtkWidget *recur_ex_vbox;
|
|
GtkWidget *recur_ex_clist;
|
|
|
|
/* The associated ical object */
|
|
iCalObject *ical;
|
|
|
|
/* The calendar owner of this event */
|
|
GnomeCalendar *gnome_cal;
|
|
} EventEditor;
|
|
|
|
typedef struct {
|
|
GnomeDialogClass parent_class;
|
|
} EventEditorClass;
|
|
|
|
|
|
guint event_editor_get_type (void);
|
|
GtkWidget *event_editor_new (GnomeCalendar *owner, iCalObject *);
|
|
|
|
/* Convenience function to create and show a new event editor for an event that goes from day_begin
|
|
* to day_end of the specified day.
|
|
*/
|
|
void event_editor_new_whole_day (GnomeCalendar *owner, time_t day);
|
|
|
|
GtkWidget *date_edit_new (time_t the_time, int show_time);
|
|
|
|
END_GNOME_DECLS
|
|
|
|
#endif
|