| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-06 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (impl_upgradeFromVersion): new
method's implementation.
(calendar_component_class_init): initialize new epv's member.
(calendar_component_init): moved migration code to
impl_upgradeFromVersion.
(update_uri_for_primary_selection): fixed warning.
* gui/tasks-component.c (impl_upgradeFromVersion): new
method's implementation.
(tasks_component_class_init): initialize new epv's member.
(tasks_component_init): moved migration code to
impl_upgradeFromVersion.
svn path=/trunk/; revision=24074
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (add_uri_for_source,
remove_uri_for_source): removed redundant functions.
(update_uris_for_selection): dont call above functions, use
gnome_calendar_* directly.
svn path=/trunk/; revision=24041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-22 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.[ch] (gnome_calendar_add_event_source,
gnome_calendar_remove_event_source): renamed from *_uri, to work with
ESource's rather than with plain URIs.
(gnome_calendar_set_default_source): ditto.
* gui/control-factory.c (set_prop):
* gui/calendar-component.c (add_uri_for_source, remove_uri_for_source,
update_uri_for_primary_selection):
use sources instead of uris with the GnomeCalendar widget.
svn path=/trunk/; revision=24005
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-22 Rodrigo Moya <rodrigo@ximian.com>
* common/authentication.[ch]: new files for managing interactive
authentication with backends.
* common/Makefile.am: build new private library.
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar):
* gui/dialogs/event-page.c (source_changed_cb):
* gui/dialogs/task-page.c (source_changed_cb):
* gui/dialogs/copy-source-dialog.c (copy_source):
* gui/calendar-component.c (setup_create_ecal):
* gui/calendar-offline-handler.c (backend_go_offline,
backend_go_online, calendar_offline_handler_init):
* gui/comp-editor-factory.c (open_client):
* gui/e-itip-control.c (start_calendar_server):
* gui/e-tasks.c (e_tasks_add_todo_uri):
* gui/gnome-cal.c (gnome_calendar_construct,
gnome_calendar_add_event_uri):
* gui/tasks-component.c (setup_create_ecal):
* importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn,
gnome_calendar_import_data_fn): create the ECal's via the
auth_new_cal_from* functions in the authentication module.
* gui/alarm-notify/Makefile.am:
* gui/Makefile.am:
* importers/Makefile.am: link new private library.
* Makefile.am: added new directory to the build.
svn path=/trunk/; revision=23999
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-21 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.[hc]: rewrite for new ecal api, cache all
ecal's by type and minimize loading. Switch to using the source
option menu
* conduits/todo/todo-conduit.c (start_calendar_server): ditto
* conduits/calendar/calendar-conduit.c (start_calendar_server):
use ECalSourceType
* importers/icalendar-importer.c (load_file_fn): ditto
(vcal_load_file_fn): ditto
(gnome_calendar_import_data_fn): ditto
* gui/dialogs/task-page.c (source_changed_cb): ditto
* gui/dialogs/event-page.c (source_changed_cb): ditto
* gui/dialogs/copy-source-dialog.h: update proto
* gui/dialogs/copy-source-dialog.c (copy_source_dialog): ditto
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): ditto
* gui/tasks-component.c (copy_task_list_cb): ditto
(setup_create_ecal): ditto
* gui/gnome-cal.c (gnome_calendar_construct): ditto
(gnome_calendar_add_event_uri): ditto
* gui/e-tasks.c (e_tasks_add_todo_uri): ditto
* gui/comp-editor-factory.c (open_client): ditto
* gui/calendar-offline-handler.c (backend_go_offline): ditto
(backend_go_online): ditto
(calendar_offline_handler_init): ditto
* gui/calendar-component.c (copy_calendar_cb): ditto
(setup_create_ecal): ditto
* gui/print.c (print_month_small): don't pass type to
e_cal_generate_instances
(print_day_details): ditto
(print_week_summary): ditto
* gui/tag-calendar.c (tag_calendar_by_client): ditto
svn path=/trunk/; revision=23994
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-19 JP Rosevear <jpr@ximian.com>
* gui/tasks-control.c (tasks_control_sensitize_commands): make
sure there is a ui container
* gui/calendar-commands.c (calendar_control_sensitize_calendar_commands): ditto
* gui/tasks-component.c (impl_createControls): update after the
signals are connected so that the ecal's are actually loaded
* gui/calendar-component.c: ditto
svn path=/trunk/; revision=23990
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-19 William Jon McCann <mccann@jhu.edu>
* gui/dialogs/task-page.c (source_changed_cb):
* gui/dialogs/send-comp.c (send_component_dialog):
* gui/dialogs/save-comp.c (save_component_dialog):
* gui/dialogs/recur-comp.c (recur_component_dialog):
* gui/dialogs/event-page.c (source_changed_cb):
* gui/dialogs/delete-error.c (delete_error_dialog):
* gui/dialogs/delete-comp.c (delete_component_dialog):
* gui/dialogs/changed-comp.c (changed_component_dialog):
* gui/dialogs/cancel-comp.c (cancel_component_dialog):
* gui/dialogs/alarm-options.glade:
* gui/dialogs/alarm-page.glade:
* gui/dialogs/cal-prefs-dialog.glade:
* gui/dialogs/e-delegate-dialog.glade:
* gui/dialogs/event-page.glade:
* gui/dialogs/new-calendar.glade:
* gui/dialogs/new-task-list.glade:
* gui/dialogs/recurrence-page.glade:
* gui/dialogs/task-details-page.glade:
* gui/dialogs/task-page.glade:
* gui/tasks-control.c (confirm_purge):
* gui/tasks-component.c (delete_task_list_cb)
(rename_task_list_cb, setup_create_ecal):
* gui/goto-dialog.glade:
* gui/e-cal-model-tasks.c (show_geo_warning):
* gui/comp-editor-factory.c (cal_opened_cb):
* gui/calendar-component.c (delete_calendar_cb)
(rename_calendar_cb, setup_create_ecal, delete_calendar_cb):
* gui/calendar-commands.c (purge_cmd):
Remove separators from dialogs. Use frame style recommended
by the HIG.
svn path=/trunk/; revision=23989
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-18 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (impl_createControls): make sure we
connect to the "changed" signals after setting the initial selections
on the ESourceSelector. Fixes some nasty warnings because of
calendar_control_sensitize_calendar_commands being called with
no container yet for the control.
svn path=/trunk/; revision=23979
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/tasks-component.c (add_popup_menu_item):
* gui/calendar-component.c (add_popup_menu_item): use g_file_test
to check if the 'pixmap' argument is a file. If so, get the pixmap
from it, or gtk_image_new_from_stock will return an empty pixmap.
svn path=/trunk/; revision=23969
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (client_cal_opened_cb): set a correct status
message.
* gui/tasks-component.c (fill_popup_menu_cb):
* gui/calendar-component.c (fill_popup_menu_cb): use the folder*.png
icons for folder operations.
* gui/Makefile.am: removed cal-client directory from $INCLUDES.
svn path=/trunk/; revision=23968
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-commands.c: removed the 'NewCalendar' verb.
(file_new_calendar_cb): removed callback for 'NewCalendar' verb.
(impl__get_userCreatableItems): added 'New Calendar' to the list
of user creatable items.
(impl_requestCreateItem): implemented 'New Calendar'.
* gui/tasks-component.c (impl__get_userCreatableItems): added
'New Task List' to the list of user creatable items.
(impl_requestCreateItem): implemented 'New Task List'.
svn path=/trunk/; revision=23965
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (update_uri_for_primary_selection): call
calendar_control_sensitize_calendar_commands when the primary selection
changes.
(impl_createControls): keep the view_control in the private structure and
use control_factory_new_control() to create the control.
(control_activate_cb): removed unneeded function.
* gui/tasks-component.c (impl_createControls): use tasks_control_new to
create the tasks view control.
(control_activate_cb): removed unneeded function.
svn path=/trunk/; revision=23962
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-14 JP Rosevear <jpr@ximian.com>
* gui/calendar-component.c (impl_requestCreateItem): set a proper
exception if we fail
2003-12-14 JP Rosevear <jpr@ximian.com>
* gui/calendar-config.c
(calendar_config_get_hide_completed_tasks_units): make sure the
string is non-null before strcmp'ing it
Fixes #52033
svn path=/trunk/; revision=23938
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-03 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_destroy): free the notification
list
* gui/tasks-component.c (impl_dispose): ditto
* gui/calendar-component.c (impl_dispose): ditto
svn path=/trunk/; revision=23610
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-03 JP Rosevear <jpr@ximian.com>
* gui/calendar-component.c (rename_calendar_cb): cast the parent
(config_primary_selection_changed_cb): handle the primary
selection changing elsewhere
(impl_dispose): remove the list of notifications
(impl_createControls): add primary calendar notification
(config_create_ecal_changed_cb): clear create_ecal if the primary
key changes
(setup_create_ecal): find an ecal to use for creation
(impl_requestCreateItem): use above
svn path=/trunk/; revision=23600
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/e-calendar-table.h (struct _ECalendarTable): Replace member
"activity" with an "activity_id".
* gui/e-cal-view.c (struct _ECalendarViewPrivate): Replace member
"activity" with "activity_id".
(e_calendar_view_destroy): Don't unref activity here anymore.
(e_calendar_view_set_status_message): Report progress using the
EActivityHandler off the CalendarComponent.
* gui/calendar-component.c
(struct _CalendarComponentPrivate): New member activity_handler.
(calendar_component_init): Init.
(calendar_component_peek_activity_handler): New.
(impl_dispose): Unref.
(impl_createControls): Return an ETaskBar for the statusbar
control.
svn path=/trunk/; revision=23565
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (impl_createControls):
Pass a label for the status bar control for now.
* gui/calendar-component.c (impl_createControls): Pass a label for
the status bar control for now.
* gui/tasks-component.c (impl_createControls): Pass a label for
the status bar control for now.
* mail-component.c (impl_createControls): Pass a label for the
status bar control for now.
* e-shell.c (struct _EShellPrivate): Remove member
activity_handler.
(setup_activity_interface): Remove.
(e_shell_init): Don't call.
(create_window): Don't attach the task bar to the activity
handler.
* e-shell-window.c (struct _ComponentView): New member
statusbar_widget.
(struct _EShellWindowPrivate): Remove member task_bar.
(init_view): Get the status bar control from createControls and
put it in the ComponentView struct.
(setup_task_bar): New.
(setup_statusbar_notebook): New.
(switch_view): Switch the statusbar notebook too.
(impl_dispose): Add missing GTK_OBJECT() cast.
(e_shell_window_peek_task_bar): Remove.
* Evolution-Component.idl (Component::createControls): New out arg
"statusbar_control"; this way components can provide their own
status bar.
* e-activity-handler.c, e-activity-handler.h: Turn into a plain
GObject; translate all the CORBA methods into plain C methods.
* Makefile.am: Move e-activity-handler to libeshell instead of it
being in the shell.
svn path=/trunk/; revision=23555
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-23 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/new-calendar.[ch]: fixed copyright notices.
* gui/dialogs/copy-source-dialog.[ch]: implementation of the
Copy command for sources.
* gui/dialogs/Makefile.am: added new files.
* gui/calendar-component.c (fill_popup_menu_cb, copy_calendar_cb):
added Copy command.
* gui/tasks-component.c (fill_popup_menu_cb, copy_task_list_cb):
added Copy command.
svn path=/trunk/; revision=23471
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-18 <jpr@ximian.com>
* gui/calendar-config.h: add protos
* gui/calendar-config.c (calendar_config_get_primary_calendar):
get the primary calendar
(calendar_config_set_primary_calendar): set it
(calendar_config_add_notification_primary_calendar): set
notifications for it
(calendar_config_get_primary_tasks): get the primary task list
(calendar_config_set_primary_tasks): set it
(calendar_config_add_notification_primary_tasks): set
notifications for it
* gui/calendar-config-keys.h: add primary keys
* gui/calendar-component.c (find_first_source): find any source
(update_uri_for_primary_selection): set the default uri and save
the source uid
(update_primary_selection): set the primary selection
(primary_source_selection_changed_cb): use above
(impl_createControls): set the primary selection
* gui/tasks-component.c: as above
svn path=/trunk/; revision=23434
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-18 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-commands.c
(calendar_control_sensitize_calendar_commands,
sensitize_taskpad_commands): removed the 'New...' menu items
from the UI, it's now implemented in the shell.
svn path=/trunk/; revision=23421
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-18 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (add_popup_menu_item): added 'sensitive'
argument.
(fill_popup_menu_cb): disable/enable menu items depending on whether
there is a selection or not.
* gui/tasks-component.c (add_popup_menu_item, fill_popup_menu_cb):
ditto.
svn path=/trunk/; revision=23419
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-18 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (add_popup_menu_item): added 'sensitive'
argument.
(fill_popup_menu_cb): disable/enable menu items depending on whether
there is a selection or not.
* gui/tasks-component.c (add_popup_menu_item, fill_popup_menu_cb):
ditto.
svn path=/trunk/; revision=23416
|
|
|
|
|
|
|
|
|
|
| |
2003-11-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (delete_calendar_cb, rename_calendar_cb):
* gui/tasks-component.c (delete_task_list_cb, rename_task_list_cb):
peek the primary selection.
svn path=/trunk/; revision=23392
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (add_popup_menu_item): try first to
create the icon from the stock, and then from a file.
(fill_popup_menu_cb): set callback for 'Rename' menu item.
(rename_calendar_cb): callback for 'Rename' menu item.
(new_calendar_cb): fixed arguments.
* gui/tasks-component.c (impl_createControls): connect to
"fill_popup_menu" signal on the source selector.
(fill_popup_menu_cb): callback to create our menu items.
svn path=/trunk/; revision=23388
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-16 JP Rosevear <jpr@ximian.com>
* gui/tasks-component.c (add_uri_for_source): add it via e-tasks
(remove_uri_for_source): remove it via e-tasks
(get_default_task): provide a default for editing
(impl_createControls): create the control directly
(impl_requestCreateItem): implement
* gui/gnome-cal.c (gnome_calendar_purge): don't let the two list
iterators clobber each other
* gui/e-tasks.h: add protos
* gui/e-tasks.c (e_tasks_destroy): free the client list and the
hash, disconnect signals
(e_tasks_new_task): use the default client
(e_tasks_add_todo_uri): add a uri
(e_tasks_remove_todo_uri): remove a uri
(e_tasks_set_default_uri): set default uri
(e_tasks_get_default_client): get default client
(e_tasks_delete_completed): expunge from all clients
(e_tasks_setup_view_menus): use default client uri
* gui/e-tasks.c (set_timezone): set the timezone for all clients
(e_tasks_init): set up the clients has table
* gui/e-calendar-table.etspec: yank some useless display columns
* gui/e-cal-model.c (remove_client): remove objects in reverse
order so we don't clobber ourselves
* gui/calendar-component.c: add FIXME
svn path=/trunk/; revision=23373
|
|
|
|
|
|
|
|
|
|
| |
2003-11-16 JP Rosevear <jpr@ximian.com>
* gui/calendar-component.c (get_default_event): set up a event to
be edited
(impl_requestCreateItem): implement
svn path=/trunk/; revision=23371
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-14 JP Rosevear <jpr@ximian.com>
* gui/calendar-config.c (calendar_config_get_calendars_selected):
config accessor
(calendar_config_set_calendars_selected): ditto
(calendar_config_add_notification_calendars_selected): config
notification
* gui/calendar-config.h: add protos
* gui/calendar-config-keys.h: add new key
* gui/calendar-component.c (is_in_uids): util function
(update_uris_for_selection): save the selection in the
configuration
(update_selection): update the selection from the config info
(source_selection_changed_cb): only pass one param
(config_selection_changed_cb): listen for config changes
(impl_dispose): remove config notification
(impl_createControls): use bonobo_exception_set; add a config
notification
2003-11-14 JP Rosevear <jpr@ximian.com>
* test-source-list.c (on_idle_do_stuff): we only need the uid to
remove and peek at stuff
* e-source-list.h: update proto types
* e-source-list.c (e_source_list_peek_source_by_uid): allow peek
by uid only
(e_source_list_remove_source_by_uid): allow removal by uid only
svn path=/trunk/; revision=23362
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/tasks-component.c (impl__get_userCreatableItems): New.
(impl_requestCreateItem): New.
(tasks_component_class_init): Install.
* gui/calendar-component.c (impl__get_userCreatableItems): New.
(impl_requestCreateItem): New, for now just a stub.
(calendar_component_class_init): Install into the EPV.
svn path=/trunk/; revision=23327
|
|
|
|
|
|
|
| |
(impl_requestCreateItem): New, for now just a stub.
(calendar_component_class_init): Install into the EPV.
svn path=/trunk/; revision=23320
|
|
|
|
|
|
|
|
|
| |
2003-11-12 Hans Petter Jansson <hpj@ximian.com>
* gui/calendar-component.c (add_popup_menu_item): Use non-deprecated
gtk_menu_shell_append ().
svn path=/trunk/; revision=23306
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (fill_popup_menu_callback): added more
menu items.
(delete_calendar_cb): callbacks for new popup menu items.
(impl_createControls): add the source selector widget to the
CalendarComponentPrivate structure.
* gui/migration.[ch] (migrate_old_tasks): new function to migrate
old tasks setups.
(process_old_dir): renamed and added a "filename" argument, so that
the same function can be used for tasks and calendar directories.
(migrate_old_calendars): added new argument when calling
process_old_dir().
* gui/tasks-component.c (tasks_component_init): call
migrate_old_tasks() if there are no groups defined.
svn path=/trunk/; revision=23181
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-31 Hans Petter Jansson <hpj@ximian.com>
* gui/calendar-component.c (calendar_component_init): Add the webcal
source group.
* gui/dialogs/new-calendar.c (print_uri_noproto): Implement.
(group_is_remote): Implement.
(create_new_source_with_group): Implement webcal case.
(new_calendar_dialog): Get optional location from dialog.
* gui/dialogs/new-calendar.glade: Add location entry.
* pcs/Makefile.am: Build http backend.
* pcs/cal-backend-http.[ch]: Add skeleton based on cal-backend-file.
svn path=/trunk/; revision=23153
|
|
|
|
|
|
|
| |
* gui/calendar-component.c (impl_createControls): set an exception
if we fail, so evo won't crash.
svn path=/trunk/; revision=23121
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-29 JP Rosevear <jpr@ximian.com>
* gui/dialogs/cal-prefs-dialog.c (update_config): no need to
update config settings everywhere explicitly
* gui/tasks-component.c (update_uris_for_selection): cast the
widget
* gui/gnome-cal.h: remove proto
* gui/gnome-cal.c (setup_widgets): don't update config settings
explicitly
(gnome_calendar_update_config_settings): kill
* gui/e-week-view.c: remove null chars
* gui/e-tasks.h: remove proto
* gui/e-tasks.c (set_timezone): set the timezone on the client
(timezone_changed_cb): changed timezone callback
(setup_config): setup config stuff
(e_tasks_init): setup config and widgets here
(e_tasks_new): construct is dead, no need to track all widgets
(cal_opened_cb): set the timezone upon opening
(e_tasks_update_all_config_settings): kill
* gui/control-factory.c (control_factory_new_control): create the
calendar ourselves
* gui/calendar-config.c (on_timezone_set): don't update the
settings everywhere here, we have config managers now
* gui/calendar-component.c (impl_createControls): create the
calendar ourselves
* gui/calendar-commands.h: remove protos
* gui/calendar-commands.c: remove dead functions
svn path=/trunk/; revision=23117
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-29 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (fill_popup_menu_callback): fixed
typo in menu item label.
* gui/e-cal-model.[ch] (e_cal_model_get_use_24_hour_format): new
function.
* gui/e-cal-view.[ch]: no need to keep the 'use_24_hour' setting,
it's already in the model.
(e_cal_view_get_use_24_hour_format,
e_cal_view_set_use_24_hour_format): new functions.
* gui/e-day-view.[ch] (e_day_view_get_24_hour_format,
(e_day_view_set_24_hour_format): removed.
(e_day_view_convert_time_to_display, e_day_view_update_event_label,
e_day_view_get_time_string_width): use the ECalView's function to
get the 24 hour format.
* gui/e-week-view.[ch] (e_week_view_get_24_hour_format,
e_week_view_set_24_hour_format): removed.
(e_week_view_convert_time_to_display,
e_week_view_get_time_string_width): use the ECalView's function
to get the 24 hour format.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view-time-item.c (e_day_view_time_item_draw):
* gui/e-week-view-event-item.c (e_week_view_draw_time):
don't use the view's use_24_hour_format, but the ECalView method.
svn path=/trunk/; revision=23113
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-28 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (impl_createControls): connect to
"fill_popup_menu" on the ESourceSelector.
(fill_popup_menu_callback): add popup menu items here.
(add_popup_menu_item): new function to add items to the
popup menu.
(new_calendar_cb): callbacks for the popup menu items.
svn path=/trunk/; revision=23108
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-28 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (impl_createControls): connect to
"fill_popup_menu" on the ESourceSelector.
(fill_popup_menu_callback): add popup menu items here.
(add_popup_menu_item): new function to add items to the
popup menu.
svn path=/trunk/; revision=23107
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (calendar_component_class_init): removed
repeated initialization.
(calendar_component_peek): use G_STRLOC for g_warning's.
* gui/tsaks-control.[ch] (tasks_control_activate,
tasks_control_deactivate): made these 2 functions public.
* gui/tasks-component.[ch]: implementation of the tasks component.
* gui/Makefile.am:
* gui/GNOME_Evolution_Calendar.server.in.in: added tasks component.
* gui/main.c: ditto.
(factory): added code to create the tasks component when requested.
svn path=/trunk/; revision=23065
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-24 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.h: update protos
* gui/gnome-cal.c (gnome_calendar_set_default_uri): set the
default client based on uri
* gui/calendar-component.c (add_uri_for_source): rename from
load_uri_for_source and take a calendar
(remove_uri_for_source): utility routine to remove the source's
uri from the calendar
(is_in_selection): checks to see if the uid of the given source
matches any of those in the given selection
(update_uris_for_selection): remove any uris no longer in the
selection, add those that still exist
(source_selection_changed_callback): call above
(primary_source_selection_changed_callback): we have the calendar
easily now; set the default by uri
(control_activate_cb): handle activation and de-activation
(impl_createControls): create the calendar control ourselves so we
have access to the calendar
(impl_dispose): release the source selection
svn path=/trunk/; revision=23057
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-23 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_get_current_view_widget): just
uses the views array and the current view type
(setup_widgets): ditto
(set_view): ditto
(backend_died_cb): ditto
(gnome_calendar_get_calendar_model): ditto
(gnome_calendar_update_config_settings): ditto
svn path=/trunk/; revision=23054
|
|
|
|
|
|
|
|
| |
* gui/calendar-component.c (impl_createControls): Make the
scrolled window have a GTK_SHADOW_IN shadow.
* gui/dialogs/meeting-page.c (meeting_page_construct): Likewise.
svn path=/trunk/; revision=22994
|
|
|
|
|
|
|
| |
scrollbar policy to "automatic" for both the horizontal and
vertical scrollbars around the source selector.
svn path=/trunk/; revision=22991
|
|
|
|
| |
svn path=/trunk/; revision=22965
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-27 Rodney Dawes <dobey@ximian.com>
Fixes #35814
* calendar/gui/calendar-component.c: Change mnemonic/keybinding for
New Meeting to not conflict with other items in the File->New menu
* ui/evolution.xml: Changed the New Folder keybinding to C-S-f
svn path=/trunk/; revision=20984
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-15 Hans Petter Jansson <hpj@ximian.com>
* gui/calendar-component.c (owner_set_cb): If we already have an
evolution_dir, free the old one before setting it anew.
* gui/e-day-view-time-item.c (e_day_view_time_item_draw): Unref the
metrics.
* gui/e-day-view.c (e_day_view_style_set): Unref the metrics.
(e_day_view_recalc_cell_sizes): We don't need font metrics here.
(e_day_view_reshape_long_event): Ditto.
* gui/e-meeting-model.c (init): Don't dup the string passed to
e_table_without_hide().
* gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set):
Unref the metrics.
(e_meeting_time_selector_recalc_date_form): Doesn't need metrics.
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
Unref the metrics.
* gui/e-week-view.c (e_week_view_style_set): Unref metrics.
(e_week_view_recalc_cell_sizes): Ditto.
(e_week_view_reshape_event_span): Move Pango stuff to where it
can't be leaked due to an early return. Unref metrics.
* gui/weekday-picker.c (weekday_picker_style_set): Unref metrics.
* gui/dialogs/meeting-page.c (meeting_page_finalize): Free default
address.
svn path=/trunk/; revision=20857
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
Fixes #39740
* gui/e-meeting-model.c (is_cell_editable): check row number is valid
before using it as index for the GPtrArray.
2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
Fixes #39356
* gui/Makefile.am:
* gui/tasks-migrate.[ch]: removed tasks migration obsolete stuff.
* gui/calendar-component.c (owner_set_cb): don't call tasks_migrate.
svn path=/trunk/; revision=20301
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/Makefile.am (INCLUDES): Remove cruft. Rename ICONSDIR to
IMAGESDIR.
(gladedir, etspecdir, serverdir): Remove definitions
(libevolution_calendar_la_LDFLAGS): Remove -export-dynamic, add
-module.
* gui/calendar-config.c: #include <string.h>
* gui/calendar-component.c (add_creatable_item):
s/ICONSDIR/IMAGESDIR/
* gui/comp-util.c: #include <string.h>
* gui/e-alarm-list.c: #include e-time-utils.h
(row_deleted): Remove unused variable.
(e_alarm_list_append): Likewise.
* gui/e-date-time-list.c: #include e-time-utils.h, timeutil.h,
calendar-config.h
(row_deleted): Remove unused variable
(e_date_time_list_append): Likewise.
* gui/e-day-view.c (e_day_view_unrealize): Remove unused var
(e_day_view_style_set): Likewise.
(e_day_view_set_event_font_cb): Likewise.
* gui/e-day-view-time-item.c: #include <string.h>
(e_day_view_time_item_get_column_width): Remove unused variable.
* gui/e-itip-control.c: #include <unistd.h>
(url_requested_cb): s/ICONSDIR/IMAGESDIR/
* gui/e-week-view.c (e_week_view_unrealize): Remove unused variable
(e_week_view_style_set): Likewise
* gui/e-week-view-titles-item.c: #include string.h
* gui/itip-bonobo-control.c: Likewise
* gui/print.c: Likewise
svn path=/trunk/; revision=19794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/config-control-factory.h: Removed.
* gui/config-control-factory.c: Removed.
* gui/itip-bonobo-control.c: Renamed from itip-control-factory.c.
(itip_bonobo_control_new): New.
(itip_control_factory_init): Removed.
* gui/itip-bonobo-control.h: Renamed from itip-control-factory.h.
* gui/tasks-control-factory.c: Removed.
* gui/tasks-control-factory.h: Removed.
* gui/control-factory.c (control_factory_init): Removed.
* gui/Makefile.am: Updated to build everything as
libevolution-calendar.so and install in the COMPONENTDIR.
* gui/GNOME_Evolution_Calendar.server.in.in: Updated to build the
component as a shared library.
* gui/main.c (main): Removed.
* gui/calendar-component.c (calendar_component_get_object): New.
(owner_set_cb): Do not store the shell pointer in shells.
(owner_unset_cb): Do not remove the shell pointer from shells;
instead, just set global_shell_client to NULL.
* gui/calendar-component.h: Renamed from component-factory.h.
* gui/calendar-component.c: Renamed from component-factory.c.
svn path=/trunk/; revision=19430
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-06 Hans Petter Jansson <hpj@ximian.com>
* gui/component-factory.c (): Pass the env argument to
bonobo_control_set_property ().
* gui/e-meeting-model.c (class_init): We're no longer derived from
GtkObject, so use GObject class methods instead. destroy->finalize.
(destroy): Zapped.
(finalize): Implement based on old destroy ().
svn path=/trunk/; revision=19048
|
|
|
|
|
|
|
|
|
| |
2002-11-21 Not Zed <NotZed@Ximian.com>
* gui/component-factory.c (create_view): pass type to
bonobo_control_set_property.
svn path=/trunk/; revision=18872
|
|
|
|
|
|
| |
* gui/component-factory.c: Use bonobo_main_quit instead of gtk
svn path=/trunk/; revision=18787
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* calendar-commands.c: Use g_object_ref()/g_object_unref() instead
of gtk_object_ref/gtk_object_unref().
* calendar-config.c: Likewise.
* calendar-model.c: Likewise.
* comp-editor-factory.c: Likewise.
* comp-util.c: Likewise.
* e-calendar-table.c: Likewise.
* e-day-view.c: Likewise.
* e-itip-control.c: Likewise.
* e-meeting-model.c: Likewise.
* e-meeting-time-sel.c: Likewise.
* e-tasks.c: Likewise.
* e-timezone-entry.c: Likewise.
* e-week-view.c: Likewise.
* gnome-cal.c: Likewise.
* goto.c: Likewise.
* itip-utils.c: Likewise.
* print.c: Likewise.
* tasks-control.c: Likewise.
* tasks-migrate.c: Likewise.
* gui/cal-search-bar.c: Use g_object_new() instead of
gtk_type_new().
* gui/calendar-model.c: Likewise.
* gui/calendar-view-factory.c: Likewise.
* gui/calendar-view.c: Likewise.
* gui/calendar-view.c: Likewise.
* gui/comp-editor-factory.c: Likewise.
* gui/e-calendar-table.c: Likewise.
* gui/e-cell-date-edit-text.c: Likewise.
* gui/e-comp-editor-registry.c: Likewise.
* gui/e-day-view.c: Likewise.
* gui/e-itip-control.c: Likewise.
* gui/e-meeting-attendee.c: Likewise.
* gui/e-meeting-attendee.c: Likewise.
* gui/e-meeting-model.c: Likewise.
* gui/e-meeting-time-sel.c: Likewise.
* gui/e-tasks.c: Likewise.
* gui/e-timezone-entry.c: Likewise.
* gui/e-week-view.c: Likewise.
* gui/gnome-cal.c: Likewise.
* gui/weekday-picker.c: Likewise.
* gui/e-itip-control.c (get_servers): g_object_unref the
shell_client instead of using bonobo_object_unref().
* gui/component-factory.c (owner_set_cb): Use
evolution_shell_client_corba_objref() instead of
bonobo_object_corba_objref().
svn path=/trunk/; revision=18673
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/calendar-commands.c: Use g_signal_connect() instead of
gtk_signal_connect().
* calendar-commands.c: Likewise.
* calendar-config.c: Likewise.
* calendar-model.c: Likewise.
* comp-editor-factory.c: Likewise.
* component-factory.c: Likewise.
* control-factory.c: Likewise.
* e-calendar-table.c: Likewise.
* e-comp-editor-registry.c: Likewise.
* e-day-view-time-item.c: Likewise.
* e-day-view.c: Likewise.
* e-itip-control.c: Likewise.
* e-meeting-model.c: Likewise.
* e-meeting-time-sel.c: Likewise.
* e-tasks.c: Likewise.
* e-timezone-entry.c: Likewise.
* e-week-view.c: Likewise.
* gnome-cal.c: Likewise.
* goto.c: Likewise.
* tasks-control.c: Likewise.
* tasks-migrate.c: Likewise.
* weekday-picker.c: Likewise.
svn path=/trunk/; revision=18672
|
|
|
|
|
|
|
|
| |
2002-11-07 JP Rosevear <jpr@ximian.com>
* Initial port of gui/ subdir to GNOME 2
svn path=/trunk/; revision=18648
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-23 Rodrigo Moya <rodrigo@ximian.com>
Fixes #32613
* gui/component-factory.c (sc_user_create_new_item_cb): use the
default calendar/tasks folder to activate the component editor.
(get_data_uri): deal correctly with the URIs being used.
svn path=/trunk/; revision=18415
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component-factory.c (folder_types): Add "calendar/public"
and "tasks/public".
(type_is_calendar, type_is_tasks): New utility functions
(create_view, create_folder, remove_folder, xfer_folder,
sc_user_create_new_item_cb): Use type_is_calendar/type_is_tasks
* importers/icalendar-importer.c (get_uri_from_folder_path): allow
importing into public calendar/task folders too.
* gui/e-itip-control.c: Note that it's intentional that we use
"calendar" and "tasks" here instead of "calendar/*" and "tasks/*".
(31032)
svn path=/trunk/; revision=18222
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (create_component): Pass
NULL as @unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* gui/component-factory.c (create_object): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* mail-account-gui.c (mail_account_gui_save): Remove unused
variable.
* component-factory.c (unpopulate_folder_context_menu): New.
(create_component): Pass it to evolution_shell_component_new().
* component-factory.c (create_component): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* e-storage-set-view.c (popup_folder_menu): Remove the context
menu items using
evolution_shell_component_client_unpopulate_folder_context_menu()
instead of doing it ourself, since BonoboUI sucks.
* evolution-shell-component-client.c
(evolution_shell_component_client_unpopulate_folder_context_menu):
New.
* evolution-test-component.c (register_component): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* evolution-shell-component.c: New member
unpopulate_folder_context_menu_fn in
EvolutionShellComponentPrivate. New member uic in
EvolutionShellComponentPrivate.
(init): Init new members to NULL.
(destroy): bonobo_object_unref() priv->uic if not NULL.
(evolution_shell_component_new): New arg
@unpopulate_folder_context_menu_fn.
(evolution_shell_component_construct): Likewise.
(impl_populateFolderContextMenu): Set priv->uic to the newly
created UIComponent.
(impl_unpopulateFolderContextMenu): New, implementation for the
::unpopulateFolderContextMenu CORBA method.
(class_init): Install.
* Evolution-ShellComponent.idl (unpopulateFolderContextMenu): New
method.
(AlreadyPopulated): New exception.
(populateFolderContextMenu): Can raise it.
(NotPopulated): New exception.
svn path=/trunk/; revision=17963
|
|
|
|
|
|
|
|
|
|
| |
* gui/component-factory.c (create_object): Use
meeting-request-16.png instead of meeting-request.png.
* gui/calendar-commands.c (pixmaps): Remove pixmaps in
/menu/File/New/NewFirstItem/.
svn path=/trunk/; revision=17676
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (create_component): Change
the order so that "New Contact" is first and "New Contact List" is
next.
* gui/component-factory.c (create_object): Change the order of the
user creatable items a bit so that "New Appointment" and "New
Meeting" are at the top when in a calendar folder.
* component-factory.c (create_component): Put "New Mail Message"
before "New Message Post" instead of vice versa.
* evolution-mail-global.xml: Remove "New Mail Message" and "Post
Message" items.
svn path=/trunk/; revision=17661
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (add_creatable_item): Pass
"contacts" as the @folder_type to
evolution_shell_component_add_user_creatable_item().
* gui/component-factory.c (add_creatable_item): New arg
@folder_type, pass it to
evolution_shell_component_add_user_creatable_item().
(create_object): Set the right folder types for the various
user-creatable items.
* component-factory.c (create_component): Pass "mail" as
@folder_type to
evolution_shell_component_add_user_creatable_item().
* evolution-test-component.c (register_component): Pass NULL for
@folder_type to
evolution_shell_component_add_user_creatable_item().
* e-shell-user-creatable-items-handler.c: New member folder_type
in struct MenuItem.
(ensure_menu_items): Initialize ->folder_type.
(item_is_default): New helper function.
(create_menu_xml): New arg @folder_type. Put the items on the top
using item_is_default().
(shell_view_view_changed_callback): Pass the folder type to
create_menu_xml().
* evolution-shell-component.c: New member folder_type in
UserCreatableItemType.
(user_creatable_item_type_new): New arg @folder_type.
(user_creatable_item_type_free): Free ->folder_type.
(evolution_shell_component_add_user_creatable_item): New arg
@folder_type.
(impl__get_userCreatableItemTypes): Set ->folderType in the
returned CORBA structs.
* Evolution-ShellComponent.idl: New member folderType in struct
UserCreatableItemType.
* e-shell-user-creatable-items-handler.c: New member component_id
in struct MenuItem. Removed member menu_xml from
EShellUserCreatableItemsHandlerPrivate.
(init): No need to initialize menu_xml here anymore.
(impl_destroy): ...And no need to free here, either.
(setup_menu_xml): New, derived from ensure_menu_xml(). This
orders the menu so that the items for the current component go at
the top.
(create_menu_xml): Removed.
(e_shell_user_creatable_items_handler_attach_menus): Set up
properly for the current component ID, using setup_menu_xml().
svn path=/trunk/; revision=17658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (add_creatable_item): New
arg @tooltip; pass it to
evolution_shell_component_add_user_creatable_item() [which now has
a @tooltip arg].
* gui/component-factory.c (add_creatable_item): New arg @tooltip.
Pass it to evolution_shell_component_add_user_creatable_item(),
which now has a @tooltip arg.
(create_object): Added tooltips.
* component-factory.c (create_component): Pass a tooltip to
evolution_shell_component_add_user_creatable_item.
* e-shell-user-creatable-items-handler.c: New member tooltip in
struct MenuItem.
(ensure_menu_items): Initialize the tooltip member.
(shell_view_view_changed_callback): Set the tooltip for the "New"
button.
(ensure_menu_xml): Set up the tooltip here as well.
* evolution-shell-component.c: Add tooltip member to struct
UserCreatableItemType.
(user_creatable_item_type_new): New arg @tooltip.
(evolution_shell_component_add_user_creatable_item): New arg
@tooltip.
(impl__get_userCreatableItemTypes): Put the tooltip in the struct
as well.
* e-shell-user-creatable-items-handler.c (setup_toolbar_button):
Create a GtkTooltips object and attach it to the combo_button
using gtk_object_set_data().
(shell_view_view_changed_callback): Set up a tooltip for the
button, according to the default.
* Evolution-ShellComponent.idl: Add a tooltip member to struct
UserCreatableItemType.
svn path=/trunk/; revision=17343
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-26 JP Rosevear <jpr@ximian.com>
* gui/e-comp-editor-registry.c (e_comp_editor_registry_close_all):
if there are remaining items, return false
(foreach_close_cb): don't remove the item if it couldn't be closed
* gui/e-comp-editor-registry.h: update proto
* gui/component-factory.c (request_quit): return a boolean
indicating if everything was closed
* gui/dialogs/comp-editor.h: update proto
* gui/dialogs/comp-editor.c (comp_editor_close): return true if
the editor was closed, false otherwise
svn path=/trunk/; revision=17019
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-26 JP Rosevear <jpr@ximian.com>
* gui/e-comp-editor-registry.[hc]: a registry of comp editors so
we can close them all centrally
* gui/gnome-cal.c (gnome_calendar_init): there is no editor hash
now
(gnome_calendar_destroy): ditto
(gnome_calendar_edit_object): look for the event editor in the
registry, if it isn't there, create it and add it to the registry
* gui/e-calendar-table.c (open_task): look for the task editor in
the registry, if it isn't there, create it and add it to the
registry
* gui/component-factory.c (request_quit): close all open editors
(create_object): add a request_quit function to the shell
component
* gui/comp-editor-factory.c (free_client): there is no
uid_comp_hash to free any more
(editor_destroy_cb): we get an OpenClient as callback data now,
reduce the editor count and destroy it if it is 0
(edit_existing): don't create the Component, add the new editor to
the registry, increase the editor count
(edit_new): ditto
(open_client): set the editor count to 0
(impl_editExisting): look in the registry for the editor
* gui/Makefile.am: Build new sources
* gui/main.c (main): create the registry
* gui/dialogs/comp-editor.c (comp_editor_close): prompt to save
and then close dialog
* gui/dialogs/comp-editor.h: new proto
* gui/GNOME_Evolution_Calendar.oaf.in: remove dead summary stuff
svn path=/trunk/; revision=17018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-shell-view-menu.c (command_quit): Check with
e_shell_prepare_for_quit() before quitting.
* e-shell.c (e_shell_prepare_for_quit): New.
* evolution-test-component.c (request_quit_fn): New function
asking for confirmation to quit.
* evolution-shell-component.c (evolution_shell_component_new): New
arg @request_quit_fn.
(impl_requestQuit): New, implementation for
EvolutionShellComponent::requestQuit.
(evolution_shell_component_result_to_string): Handle
EVOLUTION_SHELL_COMPONENT_CANCEL.
(evolution_shell_component_client_request_quit): New.
* Evolution-ShellComponent.idl (requestQuit): New.
* component-factory.c (create_component): Pass NULL as
@request_quit_fn.
* component-factory.c (create_component): Pass NULL as
@request_quit_fn.
* gui/component-factory.c (create_object): Pass NULL as
@request_quit_fn.
* gui/component/addressbook-component.c (create_component): Pass
NULL as @request_quit_fn.
svn path=/trunk/; revision=16925
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cal-client/cal-client.c (get_default_uri): Use new-and-improved
default folder URI config paths.
* gui/calendar-config.c (calendar_config_{get,set}_default_uri,
calendar_config_{get,set}_default_tasks_uri): Remove these. The
shell owns this information now. (Weren't being used anyway.)
* gui/component-factory.c (get_data_uri): Fix another place that
hardcoded tacking foo.ics on to the end of URLs.
svn path=/trunk/; revision=16421
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component-factory.c (create_view): Add view_info arg. If the
view_info is non-empty and this is a calendar folder, set the
"view" property on the control's propertybag.
* gui/control-factory.c (calendar_properties_init): Set up the
"view" property.
(get_prop, set_prop): handle the "view" property by
getting/setting the GnomeCalendar's view. Unfortunately, this
doesn't actually work. See #23208.
* gui/calendar-commands.c (calendar_control_activate): Set the UI
component's container before calling
gnome_calendar_set_ui_component so that the search bar
initialization will work.
svn path=/trunk/; revision=16400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-14 JP Rosevear <jpr@ximian.com>
* idl/evolution-calendar.idl: add all day event editor mode
* gui/component-factory.c: clean up exception handling
(sc_user_create_new_item_cb): support the all day event id
(create_object): add a user creatable all day appointment item
* gui/comp-editor-factory.c (get_default_event): get a default
event either all day or starting at the top of the hour
(get_default_task): get a default task
(edit_new): support the all day event mode
* gui/calendar-commands.c: remove unused functions/verbs
svn path=/trunk/; revision=16157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/dialogs/cal-prefs-dialog.glade: Add <visible>False</visible>
to cal-prefs-dialog so it doesn't get shown when we load the Glade
file with libglade.
* gui/component-factory.c (owner_set_cb): Register the
ConfigControl factory.
* gui/tasks-control.c: Removed verb "TaskSettings".
(tasks_control_settings_cmd): Removed.
* gui/calendar-commands.c: Removed verb "CalendarSettings".
(settings_cmd): Removed.
* gui/dialogs/cal-prefs-dialog.c: Renamed `CalPrefsDialogPrivate'
to `DialogData'. Replace `dialog' member with a `page' member.
Remove `toplevel_notebook' member.
(init_widgets): Renamed from `cal_prefs_dialog_init_widgets'.
Just get a DialogData.
(get_widgets): Get a DialogData pointer.
(cal_prefs_dialog_destroy): Removed.
(config_control_destroy_callback): New, signal handler for
::destroy for ConfigControl.
(cal_prefs_dialog_new): Create a new DialogData, connect all the
signal handlers.
(create_time_edit): Renamed from
`cal_prefs_dialog_create_time_edit'.
(cal_prefs_dialog_show): Removed.
(cal_prefs_dialog_button_clicked): Removed.
(show_task_list_config): Get a DialogData.
(show_config): Renamed from `cal_prefs_dialog_show_config'.
Likewise.
(update_task_list_config): Likewise.
(update_config): Renamed from
`cal_prefs_dialog_update_config'. Likewise.
(color_set_callback): New callback, makes the dialog report
changes when the setting in any of the color widgets is changed.
(widget_changed_callback): New callback, makes the dialog report
changes when any of the widgets changes status.
(connect_changed): New utility function to connect this callback
to all the widgets.
(setup_widgets): Connect all the widgets.
(cal_prefs_dialog_new): Call `setup_widgets'.
* gui/config-control-factory.c: New.
* gui/config-control-factory.h: New.
* gui/GNOME_Evolution_Calendar.oaf.in: Add
OAFIID:GNOME_Evolution_Calendar_ConfigControl and
OAFIID:GNOME_Evolution_Calendar_ConfigControlFactory.
svn path=/trunk/; revision=16135
|
|
|
|
|
|
|
|
| |
* gui/component-factory.c (add_creatable_item): New helper
function.
(create_object): Add icons for the various user creatable items.
svn path=/trunk/; revision=15790
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-07 JP Rosevear <jpr@ximian.com>
* gui/e-day-view.c: pass meeting boolean for
gnome_calendar_edit_object and gnome_calendar_new_appointment_for
* gui/e-week-view-event-item.c: ditto
* gui/e-week-view.c: ditto
* gui/tasks-control.c (confirm_expunge): kill warning
* gui/calendar-commands.c (new_meeting_cb): show a new meeting
dialog
(new_event_cb): pass new param
* gui/gnome-cal.c (gnome_calendar_edit_object): take meeting
boolean and show meeting page if true
(gnome_calendar_new_appointment_for): takeing meeting param and
pass to above
(gnome_calendar_new_appointment): add new param
* gui/gnome-cal.h: update proto
* gui/component-factory.c (create_component): take a comp editor
mode, determine vtype
(sc_user_create_new_item_cb): check for meeting user creatable
item
(create_object): add meeting as user creatable item
* gui/comp-editor-factory.c (edit_new): get a comp editor mode
now, determine vtype and show meeting page if required
(queue_edit_new): get comp editor mode
(impl_editNew): ditto, plus queue the mode directly instead of
determining the vtype
* gui/dialogs/event-editor.c (show_meeting): new internal util
function to show meeting page
(event_editor_show_meeting): show the meeting
(schedule_meeting_cmd): use show_meeting
* gui/dialogs/event-editor.h: new proto
* idl/evolution-calendar.idl: editNew takes a mode rather than a
type now
* cal-util/Makefile.am: fix includes
svn path=/trunk/; revision=15595
|
|
|
|
|
|
|
| |
* gui/component-factory.c (create_object): Pass a NULL @icon to
`evolution_shell_component_add_user_creatable_item()'.
svn path=/trunk/; revision=15440
|
|
|
|
| |
svn path=/trunk/; revision=14211
|
|
|
|
|
|
| |
(instead of version 2 or any later version).
svn path=/trunk/; revision=14190
|
|
|
|
|
|
|
|
|
| |
2001-10-25 Federico Mena Quintero <federico@ximian.com>
* gui/component-factory.c (xfer_folder): Handle tasks folders as
well; was always using "calendar.ics" as the filename.
svn path=/trunk/; revision=14087
|
|
|
|
|
|
|
| |
* gui/component-factory.c (xfer_folder): Fixed to only copy the
`calendar.ics' and `calendar.ics~' files.
svn path=/trunk/; revision=14070
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-19 Rodrigo Moya <rodrigo@ximian.com>
* gui/component-factory.c (owner_set_cb): keep a reference to the
EvolutionShellClient component
* gui/e-week-view.c (e_week_view_set_status_message): new function
(update_query): call e_week_view_set_status_message
(query_query_done_cb):
(query_eval_error_cb): clean up status bar messages
* gui/e-day-view.c (e_day_view_set_status_message): new function
(update_query): call e_day_view_set_status_message
(query_query_done_cb):
(query_eval_error_cb): clean up status bar messages
* gui/Makefile.am: added EVOLUTION_IMAGESDIR to CFLAGS
svn path=/trunk/; revision=13793
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-18 Federico Mena Quintero <federico@ximian.com>
Adds session management for the alarm daemon. Also makes it store
a list of calendars to be monitored. Those calendars will all be
loaded when the alarm daemon starts up.
* idl/evolution-calendar.idl (AlarmNotify): Removed the ::die()
method. The alarm daemon now handles termination via the session
manager's commands.
* gui/alarm-notify/notify-main.c (set_session_parameters): New
function, sets some parameters so that the session manager can
restart the daemon via the evolution-alarm-client program. Also,
sets up the "die" signal so that the daemon can terminate when the
session ends.
(load_calendars): New function to load the calendars on startup.
(main): Set the session parameters. Load the calendars on startup.
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): New
function, moved over from the impl_ function. Added a
load_afterwards argument to indicate whether the calendar should
just be loaded or if it should also be added to the list of
calendars to load on startup.
(AlarmNotify_addCalendar): Use alarm_notify_add_calendar().
(AlarmNotify_removeCalendar): Remove the calendar from the list of
calendars to load on startup.
* gui/alarm-notify/save.c (save_calendars_to_load): New function,
saves a sequence of the URIs to load.
(get_calendars_to_load): New function, loads a sequence of
calendars to load.
* gui/alarm-notify/alarm.h: Removed stale prototype for alarm_init().
* gui/component-factory.c (remove_folder): Ask the alarm daemon to
stop monitoring alarms for the folder that is being deleted.
svn path=/trunk/; revision=13763
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-25 JP Rosevear <jpr@ximian.com>
* pcs/cal.c: use bonobo-exception stuff to clean code
* pcs/cal-factory.c (add_uri): add uri to the list if the type
matches
(impl_CalFactory_uriList): implement uriList method
* pcs/cal-backend.h: new virtual function member
* pcs/cal-backend.c (cal_backend_is_remote): call virtual function
* pcs/cal-backend-file.c (cal_backend_file_class_init): override
virtual function
(cal_backend_file_is_remote): new virtual function, always return
FALSE
* idl/evolution-calendar.idl: uriList factory call, with flags for
types to get
* gui/dialogs/comp-editor.c (comp_editor_destroy): cast to remove
warning
* gui/e-itip-control.c (write_label_piece): kill warnings by take
const char *
* gui/component-factory.c (create_object): aggregate offline
interface
* gui/Makefile.am: compile new files
* calobj.[hc]: Remove obsolete files
* cal-util/cal-util.h: enum URI types for uriList call
* cal-client/cal-client.c (build_uri_list): build list from string
sequence
(cal_client_uri_list): factory call to get uri list
* cal-client/cal-client.h: new proto
* cal-client/cal-client.c: use bonobo exception stuff to clean
code
* gui/calendar-offline-handler.[hc]: Start some skeleton routines
for online/offline handling
* pcs/cal-factory.c (launch_backend_for_uri): use accessor and
remove FIXME
svn path=/trunk/; revision=13110
|
|
|
|
|
|
|
|
|
| |
2001-09-20 Rodrigo Moya <rodrigo@ximian.com>
* gui/component-factory.c: don't use gnome_vfs_uri_new_private
(fixes Ximian #10544)
svn path=/trunk/; revision=13048
|
|
|
|
|
|
|
|
|
| |
2001-09-20 Federico Mena Quintero <federico@ximian.com>
* gui/component-factory.c: #include a few files we were missing
from libgnomevfs.
svn path=/trunk/; revision=13031
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-18 Federico Mena Quintero <federico@ximian.com>
Fixes bug #6350.
* gui/component-factory.c (remove_folder): Use a simplified method
for removing our folder data; we just need to remove calendar.ics
or tasks.ics and the corresponding backup files.
svn path=/trunk/; revision=12966
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-18 Rodrigo Moya <rodrigo@ximian.com>
* cal-client/cal-client-multi.[ch]: new class for managing multiple
calendars, with an API very similar to the CalClient one,
for ease of transition from one to the other
* gui/component-factory.c (xfer_folder, remove_folder, create_folder):
reworked to be able to manage folders for any calendar backend, and
not only the file: one
2001-09-18 Rodrigo Moya <rodrigo@ximian.com>
* idl/evolution-calendar.idl: changed signature for the getFreeBusy
method, to return a sequence of CalObj's, and added sequence of users
as a new parameter to that method
* cal-client/cal-client.c (cal_client_get_free_busy): adapted to new
IDL method signature, by adding a new "GList *users" parameter, for
callers to be able to specify a list of users
* pcs/cal-backend.[ch] (cal_backend_get_free_busy):
* pcs/cal-backend-file.c (cal_backend_file_get_free_busy): add the
"GList *users" parameter. In cal_backend_file_get_free_busy, call
lookup_component to get the CalComponent for each uid, instead
of calling cal_backend_get_object, which meant converting the
component to a string and then parsing it again.
* cal-client/client-test.c (cal_opened_cb):
* gui/e-itip-control.c (send_freebusy):
* gui/calendar-commands.c (publish_freebusy_cmd): adapted to
new getFreeBusy method signature
svn path=/trunk/; revision=12951
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Federico Mena Quintero <federico@ximian.com>
* gui/component-factory.c (owner_set_cb): Do not call
calendar_config_init() here.
* gui/main.c (main): Call calendar_config_init() here.
svn path=/trunk/; revision=12916
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the calendar.]
* gui/GNOME_Evolution_Calendar.oaf.in: Remove the
ShellComponentFactory.
* gui/component-factory.c (create_object): Renamed from
`component_fn'. Don't get any args.
(component_factory_init): Create the component using
`create_object()' and register it into OAF.
(COMPONENT_FACTORY_ID): Removed.
(COMPONENT_ID): New.
svn path=/trunk/; revision=12645
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-04 Federico Mena Quintero <federico@ximian.com>
* gui/component-factory.c (sc_user_create_new_item_cb):
Implemented.
* gui/main.c (component_editor_factory_init): New function to
create the factory for the comp_editor_factory.
* gui/comp-editor-factory.c: Finished implementation.
* gui/alarm-notify/alarm-queue.c (edit_component): Implemented the
Edit command.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
comp-editor-factory.[ch] to the list of sources.
svn path=/trunk/; revision=12619
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* evolution-test-component.c: Added display_name and description
to the type.
* evolution-shell-component.c (impl__get_supported_types): Pass
`display_name' and `description' here.
(evolution_shell_component_construct): Likewise.
* evolution-shell-component.h: New members `display_name',
`description' in `EvolutionShellComponentFolderType'.
* e-component-registry.c (register_type): New args @description
and @display_name. Pass to
`e_folder_type_registry_register_type()'.
(register_component): Pass the values returned in the sequence
from __get_supported_types.
* e-folder-type-registry.c: New members `display_name' and
`description' in `struct _FolderType'.
(folder_type_new): New args @description and @display_name.
Initialize the respective fields in the `FolderType' accordingly.
(folder_type_free): Free `display_name' and `description'.
(register_folder_type): New args @display_name, @description.
(e_folder_type_registry_register_type): New args @display_name,
@description.
(e_folder_type_registry_get_description_for_type): New.
(e_folder_type_registry_get_display_name_for_type): New.
* Evolution-ShellComponent.idl: Added `display_name' and
`description' fields to the `FolderType' struct.
svn path=/trunk/; revision=12245
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-15 Federico Mena Quintero <federico@ximian.com>
* gui/component-factory.c (factory_fn): Add the user creatable
items. The callback is not actually implemented yet; this is just
to finalize the GUI.
* gui/dialogs/cal-prefs-dialog.glade: Added an option to ask for
confirmation when deleting items. Added underlined shortcuts
(they may not all work currently).
svn path=/trunk/; revision=12047
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Federico Mena Quintero <federico@ximian.com>
* gui/cal-search-bar.c (get_current_category): Handle an array of
categories in the CalSearchBar instead of our own menu items.
(notify_query_contains): Fetch the text from the search bar here
instead of in regen_query().
(regen_query): Handle category searches.
(notify_category_is): New function.
(cal_search_bar_construct): Do not create an option menu.
(make_suboptions): New function to create the suboption items from
the list of categories.
(notify_query_contains): Do not include a category sexp here.
svn path=/trunk/; revision=12016
|
|
|
|
|
|
|
|
| |
the ShellComponent interface. Updated the EvolutionShellComponent
GTK+ wrapper and all the component accordingly. Get the calendar to
use this so it can delete both tasks and calendar folders.
svn path=/trunk/; revision=11300
|
|
|
|
|
|
|
| |
use it, so that e.g. you cannot create a folder of type "mailstorage"
or "vtrash".
svn path=/trunk/; revision=11298
|
|
|
|
|
|
|
|
|
|
| |
2001-07-11 JP Rosevear <jpr@ximian.com>
* gui/component-factory.c: fix the calendar not exiting with a
gross hack because i don't have time to fix the ref counting right
now
svn path=/trunk/; revision=11022
|
|
|
|
| |
svn path=/trunk/; revision=10559
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-28 Rodrigo Moya <rodrigo@ximian.com>
* gui/component-factory.c: removed not-uses-anymore parameter in
call to evolution_shell_component_new
* gui/gnome-cal.[ch] (gnome_calendar_cut_clipboard),
(gnome_calendar_copy_clipboard), (gnome_calendar_paste_clipboard):
new functions for allowing execution of clipboard-related commands
* gui/e-day-view.[ch] (e_day_view_cut_clipboard),
(e_day_view_copy_clipboard), (e_day_view_paste_clipboard): ditto
* gui/e-week-view.[ch] (e_week_view_cut_clipboard),
(e_week_view_copy_clipboard), (e_week_view_paste_clipboard): ditto
2001-06-27 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-commands.c (cut_event_cmd),
(copy_event_cmd), (paste_event_cmd): added callbacks for the new
clipboard-related menu entries
svn path=/trunk/; revision=10557
|
|
|
|
|
|
|
|
|
| |
`external_uri_schemas' attribute. Update the EvolutionShellComponent
GTK+ wrapper accordingly. Update all the components to pass a NULL
`external_uri_schemas' list when initializing themselves as
EvolutionShellComponents.
svn path=/trunk/; revision=10548
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-19 JP Rosevear <jpr@ximian.com>
* gui/control-factory.c (control_factory_init): add auto exit unref
* gui/component-factory.c (destroy_cb): destroy our selves if we
have no more shells
(component_factory_init): add auto exit unref
svn path=/trunk/; revision=10312
|
|
|
|
| |
svn path=/trunk/; revision=10163
|
|
|
|
|
|
|
|
|
|
| |
2001-05-27 Rodrigo Moya <rodrigo@ximian.com>
* gui/component-factory.c (remove_folder): implemented the
'remove_folder' function for the calendar shell component
(xfer_folder): ditto for 'xfer_folder'
svn path=/trunk/; revision=10027
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-26 Kjartan Maraas <kmaraas@gnome.org>
* cal-client/client-test.c: Replace includes of <gnome.h>, <bonobo.h>
and <gtk/gtk.h> with the needed headers to speed up compile.
* cal-util/test-recur.c: Same here for <gtk/gtk.h>
* gui/calendar-commands.c: Replace <bonobo.h> and remove
<libgnorba/gnorba.h>
* gui/calendar-summary.c: Replace <gnome.h> and <bonobo.h>
* gui/calendar-summary.h: Added <bonobo/bonobo-generic-factory.h>
* gui/component-factory.c: Remove <bonobo.h>
* gui/control-factory.c: Replace <bonobo.h>
* gui/e-calendar-table.c: Remove <gnome.h>
* gui/e-itip-control.c: Replace <gnome.h> and <bonobo.h>
* gui/e-meeting-edit.c: Replace <bonobo.h>
* gui/e-tasks.c: Replace <gnome.h>
* gui/e-tasks.h: Replace <bonobo.h>
* gui/gnome-cal.h: Remove <bonobo.h>
* gui/main.c: Replace <bonobo.h> and <glade/glade.h>
* gui/tasks-control-factory.c: Replace <bonobo.h>
* gui/tasks-control.c: Replace <gnome.h> and <bonobo.h>
* gui/weekday-picker.c: Add <string.h> and <libgnome/gnome-defs.h>
* gui/alarm-notify/client-main.c: Remove <gnome.h> and <bonobo.h>
* gui/alarm-notify/notify-main.c: Replace <gnome.h> and <bonobo.h>
* gui/dialogs/alarm-notify-dialog.c: Replace <gnome.h>
* pcs/cal-backend.c: Replace <gtk/gtk.h>
svn path=/trunk/; revision=8937
|
|
|
|
|
|
| |
drop and support for it in the shell. Untested.
svn path=/trunk/; revision=8594
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-18 Federico Mena Quintero <federico@ximian.com>
* gui/tasks-migrate.[ch]: New files with a simple sequence to
migrate the task components from the old calendar folder into the
new tasks folder.
* gui/component-factory.c (owner_set_cb): Call tasks_migrate()
once evolution_dir is set. It sucks to have to do this here.
* cal-client/cal-client.c (cal_client_get_uids): In the inline
docs, indicate how to free the return value.
(cal_opened_cb): Ahem, moved assertion to the right place. Also,
ref() and unref() around our own signal emission because we are
not inside a signal handler, rather a simple callback from the
listener object; we want to have a chance to clean up even if the
client is unrefed during the emission.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
tasks-migrate.[ch] to the list of sources.
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* gui/event-editor.c (init_widgets): Use
e_calendar_item_set_max_days_sel() instead of setting GTK+ object
arguments.
* gui/e-day-view.c (e_day_view_set_cal_client): Oops, we had a
reversed test for the client being loaded.
* gui/tag-calendar.c (tag_calendar_by_client): Fixed similarly
reversed test.
svn path=/trunk/; revision=7622
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* */*: Ximianified email addresses and copyrights.
* idl/evolution-calendar.idl (CalFactory::open): Renamed from
::load(), and added an only_if_exists argument.
(CalFactory::create): Removed method.
(Listener::OpenStatus): Removed the IN_USE error and replaced it
with a NOT_FOUND one; renamed the enum from LoadStatus.
(Listener::notifyCalOpened): Renamed from notifyCalLoaded().
* pcs/cal-backend.h (CalBackend): Removed the uri field.
(CalBackendOpenStatus): Renamed from CalBackendLoadStatus and
added a NOT_FOUND value.
(CalBackendClass::open): Put in a slot for the open method.
* pcs/cal-backend.c (cal_backend_create): Removed function.
* pcs/cal-backend-file.c (cal_backend_file_open): Return the
appropriate value when only_if_exists is TRUE.
(create_cal): We are Ximian now, so set the PRODID property to
the appropriate foo.
* pcs/cal-factory.c (CalFactory_open): implemented, replacing
CalFactory_load() and CalFactory_create().
(CalFactory_open): Moved the queue_load_create_job() stuff to
here, since we now only need to contemplate the open case instead
of load/create ones.
(open_backend): Do everything here; replaces load_backend() and
create_backend().
* cal-client/cal-listener.h (CalListenerClass::cal_opened):
Renamed from cal_loaded.
(CalListenerClass): Replaced the silly signals, which are
gratuitous abstraction, by a set of function pointers in the
instance structure.
* cal-client/cal-listener.c (cal_listener_get_calendar): Removed
unused function.
(cal_listener_construct): Added the listener notification functions.
(cal_listener_new): Ditto.
(Listener_notifyCalOpened): Renamed to our new naming convention
for servant implementations.
(Listener_notifyObjUpdated): Ditto.
(Listener_notifyObjRemoved): Ditto.
* cal-client/cal-client.h (CalClientOpenStatus): Renamed from
CalClientLoadStatus.
(CalClientClass::cal_opened): Renamed from ::cal_loaded().
(CalClientLoadState): New enum; basically make LoadState public so
that users of this code do not have to maintain their own states.
* cal-client/cal-client.c (cal_client_create_calendar): Removed
function.
(cal_client_open_calendar): Moved the functionality over from
load_or_create(); now we do everything here.
(*): Use the CalClientLoadState enum values instead of the old
LoadState values.
(cal_client_get_load_state): Renamed from cal_client_is_loaded(),
and return the appropriate value.
(CalClientPrivate): Added an uri field.
(cal_client_init): Initialize priv->uri.
(cal_client_destroy): Free the priv->uri.
(cal_opened_cb): Maintain the priv->uri.
(cal_client_open_calendar): Fill in the priv->uri.
(cal_client_get_uri): New function.
* gui/calendar-model.c (calendar_model_set_new_comp_vtype): New
function to configure the type of calendar components to create
when doing click-to-add. This makes the model usable for
something other than task lists.
(calendar_model_get_new_comp_vtype): New function.
* gui/e-calendar-table.c (e_calendar_table_get_model): New function.
(e_calendar_table_destroy): Unref the subset_model.
* gui/gnome-cal.h (GnomeCalendarOpenMode): Removed enum.
* gui/gnome-cal.c (LoadState): Removed enum; we now use the
CalClientLoadState from the client objects.
(GnomeCalendarPrivate): Removed the loading_uri and
task_pad_loading_uri fields as well as the load_state and
task_pad_load_state fields, as we can now query them directly from
the CalClient.
(open_error): Renamed from load_error().
(create_error): Removed function.
(gnome_calendar_open): Do not take in the mode parameter.
(cal_opened_cb): Get rid of our beautifully-crafted state machine
and replace it with simple code; all the loading smarts are in the
Wombat now.
(setup_widgets): Set the new component vtype of the table model to
CAL_COMPONENT_TODO.
* gui/Makefile.am (evolution_calendar_SOURCES): Removed
gnome-month-item.[ch] from the list of sources.
* gui/calendar-summary.c (CalSummary): Removed unused cal_loaded
field.
(create_summary_view): Do not check if the file exists; this is
the job of the Wombat.
(generate_html_summary): Fixed prototype.
(alarm_fn): Fixed prototype.
(property_dialog): Fixed prototype. Wonder if/how this ever
worked.
(create_summary_view): Cast the component and view as
appropriate. Removed unused html variable.
[Iain dude, are you compiling with -Wall?]
* gui/e-itip-control.c (cal_opened_cb): Sigh, this function
signature was *very* wrong. It was using CalClientGetStatus
instead of CalClientOpenStatus.
* gui/e-tasks.h (ETasksOpenMode): Removed enum.
* gui/e-tasks.c (setup_widgets): Set the new component vtype of
the table model to CAL_COMPONENT_TODO.
(LoadState): Removed the state machine foo.
(e_tasks_open): Removed the mode parameter.
(initial_load): Removed function.
(create_error): Removed function.
(ETasksPrivate): Removed folder_uri field.
(cal_opened_cb): Remove the state machine.
* gui/component-factory.c: #include "tasks-control.h"
* conduits/calendar/calendar-conduit.h (ECalConduitContext):
Removed calendar_load_tried field.
* conduits/calendar/calendar-conduit.c (start_calendar_server_cb):
Sigh, fixed function prototype.
* conduits/todo/todo-conduit.h (EToDoConduitContext): Removed
calendar_load_tried field.
* conduits/todo/todo-conduit.c (start_calendar_server_cb): Fixed
function prototype.
svn path=/trunk/; revision=7571
|
|
|
|
|
|
| |
all the message hiding options to the View menu.
svn path=/trunk/; revision=7456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-08 Damon Chaplin <damon@helixcode.com>
* gui/Makefile.am: added new source files for the Tasks folders.
* gui/e-tasks.[hc]: new widget to encapsulate the Tasks view.
* gui/tasks-control.[hc]: new files to implement the Tasks control.
* gui/tasks-control-factory.[hc]: new files to implement the factory
for the Tasks controls. (I think the way I've split the code up is a
lot cleaner than the GnomeCal implementation - the factory file just
contains the factory functions and the control file contains all the
control functions. Maybe we should make GnomeCal like this.)
* gui/main.c: initialize the Tasks control factory.
* gui/component-factory.c: added support for the Tasks control.
Also added a "create_folder" function so we can now create new Tasks
and Calendar folders within Evolution.
I'm not a Bonobo expert so someone might want to check these over.
* gui/calendar-config.[hc]: added convenience functions to configure
the common settings of ECalendar and EDateEdit widgets.
* gui/dialogs/task-editor.c (task_editor_create_date_edit):
* gui/gnome-cal.c (gnome_calendar_update_config_settings):
* gui/event-editor.c: used function to configure the ECalendars
and EDateEdits.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
fixed minor bug in format strings.
svn path=/trunk/; revision=7297
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-03 Federico Mena Quintero <federico@helixcode.com>
* gui/calendar-commands.c (new_calendar): Handle the case where
the calendar view cannot be created; present a warning dialog box.
(new_calendar): Do not show the widget here, since we already show
it in control-factory.c.
* gui/control-factory.c (control_factory_new_control): Handle the
case where the calendar view cannot be created.
* gui/component-factory.c (create_view): Ditto.
* gui/calendar-summary.h: Added prototype for
calendar_summary_factory_init().
svn path=/trunk/; revision=7233
|
|
|
|
|
|
| |
Smile.
svn path=/trunk/; revision=7123
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-13 Christopher James Lahey <clahey@helixcode.com>
* cal-util/cal-recur.c: #if 0ed cal_obj_date_only_compare_func.
(cal_object_get_rdate_end): Changed this function to get rid of a
possible uninitialized error on the rdate function.
* gui/calendar-model.c: Fixed some warnings involving the #define
_XOPEN_SOURCE lines here.
* gui/component-factory.c: #ifdef WANT_THE_EXECUTIVE_SUMMARYed out
the summary_factory object since it's unused if
WANT_THE_EXCUTIVE_SUMMARY is not defined.
* gui/e-day-view.c: #if 0ed out e_day_view_remove_event_cb.
(obj_updated_cb): #ifndef NO_WARNINGSed out a #warning.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw): Made
it so that
* gui/e-week-view.c (obj_updated_cb): #ifndef NO_WARNINGSed out a
#warning.
svn path=/trunk/; revision=6982
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-04 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (get_control_for_uri): return NULL if we can't
create a view.
(setup_evolution_shell_view_interface): add precondition.
+
lots of cleans.
svn path=/trunk/; revision=6778
|
|
|
|
| |
svn path=/trunk/; revision=5875
|
|
|
|
| |
svn path=/trunk/; revision=5874
|
|
|
|
|
|
|
|
|
| |
2000-10-11 Damon Chaplin <damon@helixcode.com>
* gui/component-factory.c (owner_unset_cb): don't free evolution_dir
as we need it to save the config settings.
svn path=/trunk/; revision=5858
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-11 Damon Chaplin <damon@helixcode.com>
* gui/main.c (main): call calendar_config_write_on_exit() to write
out some special config settings (as the mail component does).
* gui/calendar-commands.c (properties_cmd): changed to use the new
preferences dialog.
(update_all_config_settings): new function to iterate over all the
calendars and update the config settings.
* gui/dialogs/cal-prefs-dialog.glade: preferences dialog.
* gui/dialogs/cal-prefs-dialog.[hc]: new files for the preferences
dialog.
* gui/calendar-config.[hc]: new files to handle loading/saving config
settings.
* cal-util/cal-recur.c: fixed bug in YEARLY when no filters were set,
plus minor changes.
* cal-util/test-recur.c: updated.
* gui/e-day-view-time-item.c:
* gui/popup-menu.c: update to #include <gal/widgets/e-gui-utils.h>
* gui/component-factory.c (owner_set_cb): called calendar_config_init.
(owner_set_cb):
(owner_unset_cb): updated the prototypes.
* gui/main.c (main): added call to calendar_config_write_on_exit().
* gui/component-factory.h:
* gui/component-factory.c (owner_set_cb): added global evolution_dir
just like the mail component, so we know we to store config stuff.
svn path=/trunk/; revision=5856
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-09 Iain Holmes <iain@helixcode.com>
* Makefile.am: Added the executive-summary library and cflags
* evolution-calendar.oafinfo: Added oaf servers for the
executive summary and executive summary factory.
* calendar-summary.[ch]: New files to create the summary.
* component-factory.c (summary_fn): Create the executive
summary component.
(component_factory_init): Start the summary factory as well.
svn path=/trunk/; revision=5807
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-26 JP Rosevear <jpr@helixcode.com>
* gui/Makefile.am: Remove gnorba stuff
* gui/main.c: ditto
* gui/component-factory.c: ditto
* gui/control-factory.c: ditto
* gui/*.gnorba: ditto
svn path=/trunk/; revision=5048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-11 Federico Mena Quintero <federico@helixcode.com>
* cal-util/cal-component.c (scan_property): Handle the
PERCENT-COMPLETE property.
(free_icalcomponent): Likewise.
(cal_component_get_percent): Likewise.
(cal_component_set_percent): Likewise.
(cal_component_free_percent): Likewise.
(scan_property): Handle the PRIORITY property.
(free_icalcomponent): Likewise.
(cal_component_get_priority): Likewise.
(cal_component_set_priority): Likewise.
(cal_component_free_priority): Likewise.
* cal-util/cal-component.h (CalComponentField): New enumeration
with the list of fields we support for ETable.
svn path=/trunk/; revision=4745
|
|
|
|
|
|
| |
* gui/component-factory.c (owner_set_cb): Update prototype.
svn path=/trunk/; revision=4714
|
|
|
|
| |
svn path=/trunk/; revision=4242
|
|
|
|
| |
svn path=/trunk/; revision=3824
|
|
|
|
|
|
|
|
| |
2000-06-29 Christopher James Lahey <clahey@helixcode.com>
* gui/component-factory.c: Make calendar die when evolution quits.
svn path=/trunk/; revision=3822
|
|
|
|
| |
svn path=/trunk/; revision=3820
|
|
|
|
|
|
|
|
| |
IDL methods and new functions to implement on the component side. I
have also added a simple folder creation dialog in the shell. It's
quite unfinished and untested.
svn path=/trunk/; revision=3491
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-25 Federico Mena Quintero <federico@helixcode.com>
* gui/main.c (init_bonobo): Do not initialize libglade twice.
* gui/component-factory.c (create_view): Set the folder_uri
property, otherwise the calendar will not get loaded into the
view.
svn path=/trunk/; revision=3203
|
|
folder types, and changed all the components to work with the new
setup.
svn path=/trunk/; revision=3199
|