aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/calendar-setup.c
Commit message (Collapse)AuthorAgeFilesLines
* Evo UI Hackfest : harishHarish Krishnaswamy2004-11-251-3/+5
| | | | | | | | | | | | | | | | | * gui/calendar-component.c: (new_calendar_cb), (edit_calendar_cb): Use modified_setup_edit_calendar call. (popup_event_cb): If source is null (Rt click on a source group), show the new calendar popup menu item. Else, do not show the new calendar option. * gui/dialogs/calendar-setup.[ch] (eccp_get_source_type): Compare the source_groups by their uid and not the pointers, so that the correct option is activated on the combo box. (calendar_setup_edit_calendar) : add a source_group parameter to the function. (calendar_setup_new_calendar): Use modified signature of the above function. * gui/e-calendar-view.c (on_edit_appointment): check the icalcomponent to see if it is a meeting and set the argument to e_calendar_view_edit_appointment correctly. svn path=/trunk/; revision=27991
* added EConfig subclass for calendars initialize plugin hooks on componentDavid Trowbridge2004-11-041-762/+344
| | | | | | | | | | | 2004-11-03 David Trowbridge <trowbrds@cs.colorado.edu> * gui/e-cal-config.c: added EConfig subclass for calendars * gui/calendar-component.c, gui/tasks-component.c: initialize plugin hooks on component startup. * gui/dialogs/calendar-setup.c: Converted to use EConfig svn path=/trunk/; revision=27832
* hide dialog items that don't apply when editing properties.Larry Ewing2004-07-301-3/+22
| | | | | | | | | | | 004-07-28 Larry Ewing <lewing@novell.com> * gui/dialogs/calendar-setup.c (dialog_hide_unused_options): hide dialog items that don't apply when editing properties. (general_update_dialog): check to make sure we have a source before checking its state. svn path=/trunk/; revision=26773
* set a different title if we are editing; de-sensitize option menu if weJP Rosevear2004-07-261-2/+5
| | | | | | | | | | | | | | | | | | | | 2004-07-26 JP Rosevear <jpr@novell.com> * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar): set a different title if we are editing; de-sensitize option menu if we are editing (calendar_setup_edit_task_list): set a different title if we are editing * gui/dialogs/calendar-setup.glade: use task list instead of tasks group * gui/tasks-component.c (impl__get_userCreatableItems): add assigned task as an item, use task list instead of tasks group * gui/calendar--component.c (impl__get_userCreatableItems): fiddle with shortcuts svn path=/trunk/; revision=26735
* rename can_add to is_mutable, add sensitivity logic for both readonly andLarry Ewing2004-06-021-26/+41
| | | | | | | | | | | | | 2004-06-01 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: rename can_add to is_mutable, add sensitivity logic for both readonly and mutable cases. The esource attributes are a complete mess and need discussion. * gui/dialogs/calendar-setup.glade: remove edit dialogs and name the tables. svn path=/trunk/; revision=26149
* remove now unused functions. (source_group_can_add): fix can add logic,Larry Ewing2004-05-261-207/+25
| | | | | | | | | | 2004-05-25 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: remove now unused functions. (source_group_can_add): fix can add logic, remove more unused functions. svn path=/trunk/; revision=26095
* i2004-05-25 Larry Ewing <lewing@ximian.com>Larry Ewing2004-05-261-40/+0
| | | | | | * gui/dialogs/calendar-setup.c: remove now unused functions. svn path=/trunk/; revision=26094
* (key_press_event): look for escape press and destroy dialog.Larry Ewing2004-05-261-0/+18
| | | | svn path=/trunk/; revision=26093
* use the new dialog. (calendar_setup_edit_calendar): use the new dialog.Larry Ewing2004-05-261-50/+105
| | | | | | | | | | 2004-05-25 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c (calendar_setup_edit_task_list): use the new dialog. (calendar_setup_edit_calendar): use the new dialog. svn path=/trunk/; revision=26091
* Use gtk_window_set_icon_list() here instead of gtk_window_set_icon().Jeffrey Stedfast2004-05-261-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-25 Jeffrey Stedfast <fejj@novell.com> * gui/dialogs/url-editor-dialog.c (init_widgets): Use gtk_window_set_icon_list() here instead of gtk_window_set_icon(). * gui/dialogs/select-source-dialog.c (select_source_dialog): Use gtk_window_set_icon_list() here instead of gtk_window_set_icon(). * gui/dialogs/calendar-setup.c (source_to_dialog): Huh?? Why are integer colours in an array of char*? Fixed to be an array of guint32. * gui/dialogs/changed-comp.c (changed_component_dialog): Use gtk_window_set_icon_list() here instead of gtk_window_set_icon(). * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): Don't bother calling tk_window_set_icon() if we are gonna call gtk_window_set_icon_list a few lines later. (calendar_setup_edit_calendar): Same. instead. (calendar_setup_new_task_list): Same. (calendar_setup_edit_task_list): Same. * gui/dialogs/alarm-options.c (alarm_options_dialog_run): Use gtk_window_set_icon_list() instead of gtk_window_set_icon() so gtk can do the Right Thing (tm). svn path=/trunk/; revision=26086
* Fixes: #57472Trent Lloyd2004-05-251-0/+9
| | | | | | | | | | | | | | | | | | | | | 2004-05-25 Trent Lloyd <lathiat@bur.st> Fixes: #57472 * gui/dialogs/alarm-options.c: * gui/dialogs/calendar-setup.c: * gui/dialogs/cancel-comp.c: * gui/dialogs/changed-comp.c: * gui/dialogs/delete-comp.c: * gui/dialogs/delete-error.c: * gui/dialogs/save-comp.c: * gui/dialogs/select-source-dialog.c: * gui/dialogs/send-comp.c * gui/dialogs/url-editor-dialog.c: - Add include of e-icon-factory.h - Set icon on window to be calendar/tasks icon rather than mail icon svn path=/trunk/; revision=26073
* i2004-05-21 Larry Ewing <lewing@ximian.com>Larry Ewing2004-05-221-15/+16
| | | | | | | * gui/dialogs/calendar-setup.c: set the dialog icons appropriately for add task and calendar dialogs. svn path=/trunk/; revision=26038
* use random color for calendar default.Larry Ewing2004-05-071-1/+17
| | | | | | | | | 2004-05-06 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): use random color for calendar default. svn path=/trunk/; revision=25818
* (calendar_setup_new_task_list): fix the previous fix to work ifLarry Ewing2004-05-051-8/+5
| | | | | | there are sources. svn path=/trunk/; revision=25799
* make sure that we don't crash if there are no sources.Larry Ewing2004-05-051-5/+20
| | | | | | | | | 2004-05-05 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: make sure that we don't crash if there are no sources. svn path=/trunk/; revision=25798
* (source_group_can_add): helper function to fix groupwise case.Larry Ewing2004-05-051-1/+22
| | | | | | I'm still not happy with this but it will work for now. svn path=/trunk/; revision=25793
* fix logic error.Larry Ewing2004-05-051-3/+3
| | | | | | | | 2004-05-04 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: fix logic error. svn path=/trunk/; revision=25792
* convert units. (dialog_to_source): convert time units.Larry Ewing2004-05-051-7/+61
| | | | | | | | | | | 2004-05-04 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): convert units. (dialog_to_source): convert time units. * gui/dialogs/calendar-setup.glade. name the unit option menus. svn path=/trunk/; revision=25791
* hook up the color picker and test buttons in the new task dialog.Larry Ewing2004-04-281-3/+10
| | | | | | | | | | | | 2004-04-27 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: hook up the color picker and test buttons in the new task dialog. * gui/dialogs/calendar-setup.glade: fix visibility and color picker names. svn path=/trunk/; revision=25644
* i2004-04-27 Larry Ewing <lewing@ximian.com>Larry Ewing2004-04-281-1/+53
| | | | | | | | | | | | * gui/dialogs/calendar-setup.c (new_calendar_test_uri): add handler for test button. (calendar_setup_new_calendar): connect test button, fill in color picker member. (source_to_dialog): set the color picker color if the source has one. (dialog_to_source): set the source color. svn path=/trunk/; revision=25643
* ** Fixes #57034.Not Zed2004-04-211-5/+16
| | | | | | | | | | | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> ** Fixes #57034. * gui/dialogs/calendar-setup.c (create_new_source_with_group): NULL out source if we can't open the calendar. (source_group_menu_add_groups): if the group is readonly, then desensitise it. (source_group_menu_add_groups): return the first non-readonly calendar index. (calendar_setup_new_calendar): set the group history to the first non-readonly group. (calendar_setup_new_task_list): same. svn path=/trunk/; revision=25556
* fix missing parameters, wow that was a mess.Larry Ewing2004-04-151-144/+150
| | | | | | | | | | | | | | | | 2004-04-14 Larry Ewing <lewing@ximian.com> * gui/calendar-component.c (selector_tree_drag_motion): fix missing parameters, wow that was a mess. * gui/dialogs/calendar-setup.glade: add the new "new" dialogs, remove the old druids. * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): use the new dialogs, colors are still not functional. (calendar_setup_new_task_list): use the new dialogs, with no colors. svn path=/trunk/; revision=25474
* add remote calendar setup page to task list setup assistant and editWilliam Jon McCann2004-03-311-1/+26
| | | | | | | | | | | | 2004-03-30 William Jon McCann <mccann@jhu.edu> * gui/dialogs/calendar-setup.glade: * gui/dialogs/calendar-setup.c (new_task_list_finish) (calendar_setup_new_task_list, calendar_setup_edit_task_list): add remote calendar setup page to task list setup assistant and edit dialog. Remove separators from dialog. svn path=/trunk/; revision=25244
* CV Fixes #51871Gary Ekker2004-01-301-0/+4
| | | | | | | | | | | CV Fixes #51871 * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar): add activate handler for name_entry (calendar_setup_edit_task_list): ditto : ---------------------------------------------------------------------- svn path=/trunk/; revision=24540
* Fixes #53338Rodrigo Moya2004-01-271-0/+3
| | | | | | | | | | | | | | | | | | | | 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #53338 * gui/dialogs/calendar-setup.c (dialog_to_source): set the relative URI on the source for remote sources. 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #52312 * gui/dialogs/calendar-setup.c (create_new_source_with_group): * gui/migration.c (migrate_ical_folder, create_calendar_sources, create_task_sources): set the relative URI for local calendars and task lists to be the source UID. svn path=/trunk/; revision=24446
* added 'ECalSourceType' argument to be able to create the ECal correctly.Rodrigo Moya2004-01-221-16/+18
| | | | | | | | | | | | | 2004-01-21 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/calendar-setup.c (create_new_source_with_group): added 'ECalSourceType' argument to be able to create the ECal correctly. Added a call to e_cal_open with 'only_if_exists' set to FALSE so that the backend creates the calendar. (new_calendar_finish, new_task_list_finish): pass new argument to create_new_source_with_group. svn path=/trunk/; revision=24352
* just use the convienence function for the default gconf client (fixesJP Rosevear2004-01-211-2/+1
| | | | | | | | | | | | 2004-01-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): just use the convienence function for the default gconf client (fixes leak) (calendar_setup_new_task_list): ditto (new_task_list_finish): we don't support task uri's svn path=/trunk/; revision=24346
* just use the convienence function for the default gconf client (fixesJP Rosevear2004-01-211-8/+2
| | | | | | | | | | | 2004-01-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): just use the convienence function for the default gconf client (fixes leak) (calendar_setup_new_task_list): ditto svn path=/trunk/; revision=24345
* only block widgets that existJP Rosevear2004-01-211-8/+14
| | | | | | | | | 2004-01-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): only block widgets that exist svn path=/trunk/; revision=24344
* Only update dialog widgets if they exist.Hans Petter Jansson2004-01-121-2/+4
| | | | | | | | | 2004-01-12 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): Only update dialog widgets if they exist. svn path=/trunk/; revision=24169
* calendar_config -> calendar_setup. (edit_calendar_cb): Ditto.Hans Petter Jansson2004-01-101-0/+773
2004-01-09 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (new_calendar_cb): calendar_config -> calendar_setup. (edit_calendar_cb): Ditto. (impl_requestCreateItem): Ditto. * gui/tasks-component.c (new_task_list_cb): Use calendar_setup. (edit_task_list_cb): Implement properties callback. (rename_task_list_cb): Remove. (fill_popup_menu_cb): Remove "rename" and add "properties". (impl_requestCreateItem): Use calendar_setup. * gui/dialogs/Makefile.am (libcal_dialogs_la_SOURCES): calendar_config -> calendar_setup. Remove new-task-list.[ch]. (glade_DATA): calendar_config -> calendar_setup. Remove new-task-list.glade. * gui/dialogs/new-task-list.[ch]: Remove. * gui/dialogs/calendar-config.[ch]: Rename to calendar-setup.[ch]. * gui/dialogs/calendar-config.glade: Rename to calendar-setup.glade. svn path=/trunk/; revision=24139