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-17 JP Rosevear <jpr@ximian.com>
* configure.in: use the server.mk file to get rules for building
versioned .server files
* */Makefile.am: use simplified rule subst
svn path=/trunk/; revision=23387
2003-11-17 Charles Zhang <charles.zhang@sun.com>
* e-search-bar.c(add_button): allow new lable with mnemonic
(e_search_bar_construct): alter lable name. [50810]
svn path=/trunk/; revision=23385
2003-11-17 Rodrigo Moya <rodrigo@ximian.com>
* idl/evolution-calendar.idl: remove the AlarmNotify service, no
more need for it, since the alarm daemon will listen for changes
on the GConf key.
* gui/gnome-cal.c (add_alarms): removed function to talk to the
alarm daemon.
(client_cal_opened_cb): don't call add_alarms().
* gui/alarm-notify/alarm-notify.[ch]: made it a basic GObject.
(AlarmNotify_addCalendar, AlarmNotify_removeCalendar): removed
AlarmNotify interface implementation.
(alarm_notify_class_init): no epv to initialize.
(alarm_notify_remove_calendar): new function, copied from the
CORBA method implementation.
(alarm_notify_factory_fn): return NULL, since there is no objects
that can be created via this factory now.
* gui/alarm-notify/notify-main.c (main): now the factory is the alarm
notification service itself.
(load_calendars): no need to use exceptions here.
* gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
now the factory is the alarm notification service itself.
* gui/main.c (launch_alarm_daemon_cb): dont use the AlarmNotify CORBA
types.
svn path=/trunk/; revision=23384
2003-11-17 Harry Lu <harry.lu@sun.com>
* gui/dialogs/recurrence-page.c (make_ending_count_special):
Make ending count of occurrences of Recurrence tab numeric only.
svn path=/trunk/; revision=23379
2003-11-17 Not Zed <NotZed@Ximian.com>
* mail-tools.c (mail_tool_get_local_inbox): thin wrapper on
mail_component_get_local_inbox.
* mail-component.c (mail_component_get_local_inbox): helper to get
the default local inbox.
* mail-ops.c (fetch_mail_fetch): if we can't get the inbox, make
sure we still unref the filter driver here by using hte same exit
code. Fixes a crash.
svn path=/trunk/; revision=23377
2003-11-16 JP Rosevear <jpr@ximian.com>
* gui/e-cal-model.c (e_cal_view_objects_added_cb): emit the added
signal for the correct rows
svn path=/trunk/; revision=23375
2003-11-16 JP Rosevear <jpr@ximian.com>
* gui/tasks-component.c (is_in_uids): copy in here
(update_uris_for_selection): save the selection
(update_selection): update the selection when its changed
somewhere else
(config_selection_changed_cb): update the selection if the
configuration changes
(impl_createControls): store the source selector
* gui/calendar-config.h: add protos
* gui/calendar-config.c (calendar_config_get_tasks_selected): get
the list of task lists selected
(calendar_config_set_tasks_selected): save it
(calendar_config_add_notification_tasks_selected): get notified
about it
svn path=/trunk/; revision=23374
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>
* e-source-selector.c (e_source_selector_set_primary_selection):
use find_source_iter and get the selection from the right spot
(find_source_iter): util function to find the iter given the
source
(e_source_selector_select_source): signal that the model changed
(e_source_selector_unselect_source): ditto
svn path=/trunk/; revision=23372
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 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_popup_new_folder_response): We can't use
a uri to do a lookup of a store-info on the store_hash, we have to
get a CamelStore first.
(row_draggable_cb): validate the iter before using it.
(row_drop_possible_cb): Same.
(drag_data_received_cb): Here too.
(drag_data_get_cb): Same.
(drag_data_delete_cb): Again here.
(tree_store_set_folder_info): Recursively add nodes if fi->child
is non-NULL rather than adding a dummy node.
(folder_renamed_cb): Implemented.
svn path=/trunk/; revision=23367
2003-11-14 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_popup_new_folder_response): We can't use
a uri to do a lookup of a store-info on the store_hash, we have to
get a CamelStore first.
(row_draggable_cb): validate the iter before using it.
(row_drop_possible_cb): Same.
(drag_data_received_cb): Here too.
(drag_data_get_cb): Same.
(drag_data_delete_cb): Again here.
svn path=/trunk/; revision=23363
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
2003-11-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-mt.c (set_stop): Removed most of the code. This is
basically now a nop. Need to somehow get the uic and fix this.
svn path=/trunk/; revision=23361
2003-11-14 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser-factory.[c,h]: Removed.
* mail-component.c (folder_selected_cb): Don't create a new view
anymore, simply set the new folder uri on the folder browser. This
makes the mailer use a lot less memory than in 1.x
(view_control_activate_cb): Moved here from
folder-browser-factory.c
(impl_createControls): Connect to the activate signal on the view
control.
svn path=/trunk/; revision=23360
2003-11-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (folder_selected_cb): Don't create a new view
anymore, simply set the new folder uri on the folder browser. This
makes the mailer use a lot less memory than in 1.x
svn path=/trunk/; revision=23358
2003-11-14 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (get_folder_info): Handle ""
as a request for a full dirscan as well (not just NULL). Makes it
consistant with other stores.
(scan_dir): Set the fi->flags appropriately.
* providers/local/camel-mbox-folder.c
(camel_mbox_folder_get_full_path): Removed temporary hack.
svn path=/trunk/; revision=23356
2003-11-14 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-selection.c (folder_selected_cb): Only set OK to
sensitive if the selected node is not a store node.
* em-folder-tree-model.c: Moved the store_hash and uri_hash from
EMFolderTreePrivate into here instead.
* em-folder-tree.c: Updated for above changes.
svn path=/trunk/; revision=23355
2003-11-14 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-view.c (emfv_popup_move): Updated.
(emfv_popup_copy): Updated.
* em-folder-tree.c (emft_popup_copy): Updated.
(emft_popup_move): Updated.
* em-folder-selection.c (create_dialog): New convenience function
to construct the dialog contents for all three public functions.
(em_folder_selection_run_dialog): Now longer takes a caption arg.
(em_folder_selection_run_dialog_uri): Same.
(em_select_folder): Here too.
svn path=/trunk/; revision=23353
2003-11-14 Andrew Wu <yang.wu@sun.com>
Fixes 45776
* gal/util/e-text-event-processor-emacs-like.c (e_text_event_processor_emacs_like_event):
enable the usage of the "alt".
svn path=/trunk/; revision=23351
2003-11-14 Andrew Wu <yang.wu@sun.com>
Fix for 50800
* gal/e-table/e-cell-combo.c (e_cell_combo_init):
connect "e_cell_combo_list_button_press" to gtklist.
(e_cell_combo_list_button_press):
deal with the "click" event.
(e_cell_combo_selection_changed):
delete the action to selection changed.
svn path=/trunk/; revision=23350
2003-11-12 Andrew Wu <yang.wu@sun.com>
Fix for 50681
* gal/e-table/e-table-item.c (eti_event):
send a event to the right cell to pop up something.
svn path=/trunk/; revision=23349
2003-11-13 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_is_cell_editable): Return TRUE for all cells, for now.
* gui/widgets/e-addressbook-table-adapter.c (card_modified_cb):
Renamed to contact_modified_cb ().
(addressbook_set_value_at): Port to use EContact instead of ECard.
(addressbook_is_cell_editable): Ditto.
(addressbook_append_row): Ditto.
* gui/widgets/e-minicard-label.c (e_minicard_label_set_property):
Make not editable, ever, and add a comment to this effect.
(e_minicard_label_realize): Ditto.
* gui/widgets/e-minicard.c (e_minicard_set_property): Ditto.
(add_field): Ditto.
svn path=/trunk/; revision=23348
2003-11-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (mail_component_get_tree_model): Use
em_folder_tree_get_model() since an emft is not a GtkTreeView.
* em-folder-tree.c (em_folder_tree_get_model): New function to get
the tree model.
svn path=/trunk/; revision=23347
2003-11-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (mail_component_get_tree_model): Use
em_folder_tree_get_model() since an emft is not a GtkTreeView.
* em-folder-tree.c (em_folder_tree_get_model): New function to get
the tree model.
svn path=/trunk/; revision=23346
2003-11-14 Not Zed <NotZed@Ximian.com>
* camel-mime-parser.c (SCAN_BUF): oops, put the mempool stuff
back, we don't use e-memory afterall. Damn plane hacking.
svn path=/trunk/; revision=23344
2003-11-13 Not Zed <NotZed@Ximian.com>
* camel-mime-parser.c: Remove mempool code, we use the stuff in
e-util.
(PRESERVE_HEADERS): new compile option, if on, we preserve headers
and folding exactly rather than unfolding all input. THIS BREAKS
EVERYTHING right now, so don't turn it on.
* camel-gpg-context.c (gpg_decrypt): reset the input memstream
before passing it to the gpg engine.
* tests/smime/pgp-mime.c (main): redirect /dev/null to stdin so it
doesn't hang waiting for input.
(main): removed from build - this tests multipart/signed
explictly, but now the details of this is handled directly by the
cipher context.
* tests/smime/pgp.c (main): fixes for api changes.
(main): redirect /dev/null to stdin so it doesn't hang waiting for
input.
* tests/message/test1.c (main): update for api changes.
* camel-smime-context.c (sm_verify): look at the content object's
mime type, not the container's type.
svn path=/trunk/; revision=23343
2003-11-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-vfolder.c (vfolder_load_storage): Updated for function name
changes in mail-component.c
* mail-offline-handler.c: Updated for function name changes in
mail-component.c
* mail-account-gui.c (add_new_store): Fixed to not use EStorage.
(mail_account_gui_save): Updated for function name changes.
* em-account-prefs.c (account_delete_clicked): Updated for
function name changes.
(account_able_clicked): Same.
(account_able_toggled): Same.
* mail-component.c: Renamed mail_component_*storage*() functions
to mail_component_*store*() since we are no longer dealing with
storages, but instead with CamelStore's.
(create_view_widget): If the user selects a store node, don't try
to open it as a folder.
svn path=/trunk/; revision=23341
2003-11-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-vfolder.c (vfolder_load_storage): Updated for function name
changes in mail-component.c
* mail-offline-handler.c: Updated for function name changes in
mail-component.c
* mail-account-gui.c (add_new_store): Fixed to not use EStorage.
(mail_account_gui_save): Updated for function name changes.
* em-account-prefs.c (account_delete_clicked): Updated for
function name changes.
(account_able_clicked): Same.
(account_able_toggled): Same.
* mail-component.c: Renamed mail_component_*storage*() functions
to mail_component_*store*() since we are no longer dealing with
storages, but instead with CamelStore's.
(create_view_widget): If the user selects a store node, don't try
to open it as a folder.
svn path=/trunk/; revision=23340
2003-11-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (create_view_widget): If the user selects a
store node, don't try to open it as a folder.
svn path=/trunk/; revision=23336