| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-14 Federico Mena Quintero <federico@helixcode.com>
Fixes bug #955.
* gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for
the week_start_day, to be used in the same way as
calendar-config.h defines it. Removed the week_starts_on_monday
flag.
(day_event_cb): Use the week_start_day.
(colorize_items): Likewise.
(configure_items): Likewise.
(weekday_picker_set_week_start_day): New function.
(weekday_picker_get_week_start_day): New function.
(weekday_picker_set_week_starts_on_monday): Removed function.
(weekday_picker_get_week_starts_on_monday): Removed function.
* gui/widget-util.[ch]: New files with utilities for creating or
configuring widgets.
* gui/widget-util.c (date_edit_new): New function to create an
EDateEdit configured with the calendar's preferences; moved over
from event-editor.c.
* gui/event-editor.c (make_recur_weekly_special): Use
weekday_picker_set_week_start_day() and the corresponding function
from calendar-config.h.
(init_widgets): Likewise.
(make_date_edit_with_time): Removed function.
(make_recur_ending_until_special): Use date_edit_new().
(make_date_edit): Likewise.
* gui/dialogs/task-editor.c (task_editor_create_date_edit): Likewise.
* gui/event-editor-dialog.glade: Removed references to
make_date_edit_with_time(); replace them with make_date_edit().
* gui/Makefile.am (evolution_calendar_SOURCES): Added
widget-util.[ch] to the list of sources.
svn path=/trunk/; revision=7037
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-01 Federico Mena Quintero <federico@helixcode.com>
Fixes bug #918.
* gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for a
set of blocked days.
(weekday_picker_set_blocked_days): New function to configure a set
of days that cannot be modified by the user.
(weekday_picker_get_blocked_days): Query function for the above.
(day_event_cb): Block the appropriate days from being modified.
* gui/event-editor.c (get_start_weekday_mask): New function to
compute a day mask for the start day of a calendar component.
(set_recur_special_defaults): New function to set sane defaults
for the recurrence special widgets.
(fill_recurrence_widgets): Use set_recur_special_defaults().
(make_recur_weekly_special): Block the appropriate days.
svn path=/trunk/; revision=6767
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-07 Federico Mena Quintero <federico@helixcode.com>
* gui/weekday-picker.h (WeekdayPickerClass): Added a "changed"
signal to notify of changes to the set of selected days.
* gui/weekday-picker.c (weekday_picker_class_init): Create the
"changed" signal.
(weekday_picker_set_days): Emit the "changed" signal.
svn path=/trunk/; revision=6487
|
|
2000-10-06 Federico Mena Quintero <federico@helixcode.com>
* gui/weekday-picker.[ch]: New widget to pick weekdays.
svn path=/trunk/; revision=5774
|