Commit Graph

18864 Commits

Author SHA1 Message Date
e065bb0549 Install versioned package config files
2003-11-17 JP Rosevear <jpr@ximian.com>

	* Makefile.am: Install versioned package config files

svn path=/trunk/; revision=23386
2003-11-17 14:02:34 +00:00
e86b07cdbb allow new lable with mnemonic (e_search_bar_construct): alter lable name.
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 13:31:52 +00:00
000e2ade56 remove the AlarmNotify service, no more need for it, since the alarm
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 13:13:15 +00:00
6ac2fee6bc #include "em-folder-tree.h"
2003-11-17  Jeffrey Stedfast  <fejj@ximian.com>

	* vfolder-rule.c: #include "em-folder-tree.h"

svn path=/trunk/; revision=23382
2003-11-17 05:58:21 +00:00
5db8b60d2c handle an unparsable url without crashing.
2003-11-17  Not Zed  <NotZed@Ximian.com>

        * em-folder-selection-button.c (set_contents): handle an
        unparsable url without crashing.

svn path=/trunk/; revision=23381
2003-11-17 05:45:05 +00:00
41348bb945 fix for folder selector api changes. (vfr_folder_response): handle the
2003-11-17  Not Zed  <NotZed@Ximian.com>

        * vfolder-rule.c (source_add): fix for folder selector api changes.
        (vfr_folder_response): handle the dialog response.

svn path=/trunk/; revision=23380
2003-11-17 05:43:39 +00:00
603351c060 Make ending count of occurrences of Recurrence tab numeric only.
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 04:23:11 +00:00
f71a064770 thin wrapper on mail_component_get_local_inbox.
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-17 03:32:41 +00:00
4daa7491aa add a uri
2003-11-16  JP Rosevear <jpr@ximian.com>

	* gui/tasks-control.c (tasks_control_set_property): add a uri

	* gui/e-tasks.c: kill e_tasks_open

	* gui/e-tasks.h: remove proto

svn path=/trunk/; revision=23376
2003-11-17 01:20:38 +00:00
2bc14e22e9 emit the added signal for the correct rows
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-17 00:55:33 +00:00
7d9d3e3df8 copy in here (update_uris_for_selection): save the selection
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 23:18:31 +00:00
8b1e261b3e add it via e-tasks (remove_uri_for_source): remove it via e-tasks
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 22:37:13 +00:00
ccdc51ce37 use find_source_iter and get the selection from the right spot
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 17:21:31 +00:00
80b2e4700b set up a event to be edited (impl_requestCreateItem): implement
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-16 16:34:39 +00:00
dccfa1bc63 don't build the e-source stuff anymore, its in e-d-s now
2003-11-14  JP Rosevear <jpr@ximian.com>

	* Makefile.am: don't build the e-source stuff anymore, its in
	e-d-s now

svn path=/trunk/; revision=23370
2003-11-14 22:35:35 +00:00
11e3c8caaa Oops
svn path=/trunk/; revision=23369
2003-11-14 22:34:10 +00:00
aa0d4535bb Oops.
svn path=/trunk/; revision=23368
2003-11-14 22:34:01 +00:00
83c14461d1 We can't use a uri to do a lookup of a store-info on the store_hash, we
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 22:28:34 +00:00
c02fe8b8c2 make source selector flags/libs
2003-11-14  JP Rosevear <jpr@ximian.com>

	* configure.in: make source selector flags/libs

svn path=/trunk/; revision=23366
2003-11-14 22:27:34 +00:00
c9d5c9e425 include e-source from e-d-s
2003-11-14  JP Rosevear <jpr@ximian.com>

	* gui/component/new-addressbook.c: include e-source from e-d-s

svn path=/trunk/; revision=23365
2003-11-14 22:24:00 +00:00
e34d1462b6 include e-source* from e-d-s
2003-11-14  JP Rosevear <jpr@ximian.com>

	* gui/*.[hc]: include e-source* from e-d-s

svn path=/trunk/; revision=23364
2003-11-14 22:23:21 +00:00
c0a24a282e We can't use a uri to do a lookup of a store-info on the store_hash, we
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 21:25:06 +00:00
50a2665bff config accessor (calendar_config_set_calendars_selected): ditto
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 20:49:01 +00:00
40711386d6 Removed most of the code. This is basically now a nop. Need to somehow get
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 20:01:50 +00:00
151829030a Removed.
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 19:54:48 +00:00
9e4e84a941 oops, fixed for when path is a store node
svn path=/trunk/; revision=23359
2003-11-14 19:40:25 +00:00
13f904ee3c Don't create a new view anymore, simply set the new folder uri on the
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 19:33:55 +00:00
5fcb5903d8 set flags in another place too
svn path=/trunk/; revision=23357
2003-11-14 18:17:20 +00:00
d182d3473e Handle "" as a request for a full dirscan as well (not just NULL). Makes
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 18:11:11 +00:00
d9a3bd550f Only set OK to sensitive if the selected node is not a store node.
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 17:29:06 +00:00
02031fc95a Update
2003-11-14  JP Rosevear <jpr@ximian.com>

	* MAINTAINERS: Update

svn path=/trunk/; revision=23354
2003-11-14 16:32:52 +00:00
0217b6c0dd Updated. (emfv_popup_copy): Updated.
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 16:20:17 +00:00
8b11b6d449 Fixes 45776 enable the usage of the "alt".
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 10:17:23 +00:00
edf5fa2abb Fix for 50800 connect "e_cell_combo_list_button_press" to gtklist.
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-14 10:12:31 +00:00
724be060d1 Fix for 50681 send a event to the right cell to pop up something.
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-14 10:07:26 +00:00
6cf20bbeba Return TRUE for all cells, for now.
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-14 00:38:47 +00:00
dbf9e56e63 Use em_folder_tree_get_model() since an emft is not a GtkTreeView.
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 23:42:49 +00:00
f67ed4d34c Use em_folder_tree_get_model() since an emft is not a GtkTreeView.
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-13 23:42:38 +00:00
2ab12b5d87 Rewritten to use EMFolderTRee.
2003-11-13  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-selection.c: Rewritten to use EMFolderTRee.

svn path=/trunk/; revision=23345
2003-11-13 23:32:37 +00:00
b4d89f6bbc oops, put the mempool stuff back, we don't use e-memory afterall. Damn
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 23:20:50 +00:00
2699c4c41f Remove mempool code, we use the stuff in e-util. (PRESERVE_HEADERS): new
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 23:17:31 +00:00
cac6efa61f Remove spurious puts()s.
svn path=/trunk/; revision=23342
2003-11-13 22:47:02 +00:00
c4652e9705 Updated for function name changes in mail-component.c
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 22:33:14 +00:00
f3fe0dd7a3 Updated for function name changes in mail-component.c
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 22:33:02 +00:00
5c8d360c98 Remove type="toggle" from the "ToggleOffline"
verb; I'm not sure why it was there in the first place and it was
causing BonoboUI to spew warnings.

svn path=/trunk/; revision=23339
2003-11-13 22:19:12 +00:00
28f389fbf0 Ooops, add missing closing </popups> tag.
svn path=/trunk/; revision=23338
2003-11-13 22:05:32 +00:00
3a3ad909d7 (DEVELOPMENT_WARNING): Define.
svn path=/trunk/; revision=23337
2003-11-13 21:51:00 +00:00
36528e37e9 If the user selects a store node, don't try to open it as a folder.
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
2003-11-13 21:46:05 +00:00
0f99b321bc (impl_sendAndReceive): New, implementation for
Evolution.Component.sendAndReceive.
(mail_component_class_init): Install.

svn path=/trunk/; revision=23335
2003-11-13 21:35:13 +00:00
5880c00dd2 New.
* e-shell.c (e_shell_send_receive): New.

* Evolution-Component.idl (Component.sendAndReceive): New.

* evolution.xml: Add back send/receive command and toolbar button.

svn path=/trunk/; revision=23334
2003-11-13 21:32:39 +00:00