Commit Graph

1052 Commits

Author SHA1 Message Date
bee907db63 New interface SyncFolderProgressListener. (Offline::cancelSyncFolder):
* Evolution-Offline.idl: New interface SyncFolderProgressListener.
(Offline::cancelSyncFolder): New.
(Offline::syncFolder): New.

svn path=/trunk/; revision=16713
2002-05-07 20:49:34 +00:00
2017b2dcec add every folder to the sequence except the root folder
2002-05-07  JP Rosevear  <jpr@ximian.com>

	* evolution-storage.c (get_folder_list_foreach): add every folder
	to the sequence except the root folder
	(impl_Storage_get_folder_list): implement corba method
	(evolution_storage_get_epv): set new method implementation

	* evolution-folder-selector-button.h: fix signal prototype

	* e-folder-tree.h: new proto

	* e-folder-tree.c (e_folder_tree_get_count): count nodes
	(count_nodes): bump count foreach path

	* e-corba-storage-registry.c
	(impl_StorageRegistry_getStorageList): implement idl method
	(corba_class_init): set epv method

	* Evolution-Storage.idl: add getStorageList and getFolderList
	methods

svn path=/trunk/; revision=16708
2002-05-07 19:53:35 +00:00
03e2a84eda Use the new evolution_shell_client_create_storage_set_view() call.
* evolution-test-component.c (create_new_folder_selector): Use the
new evolution_shell_client_create_storage_set_view() call.

* evolution-shell-client.c
(evolution_shell_client_create_storage_set_view): New.

svn path=/trunk/; revision=16707
2002-05-07 18:53:10 +00:00
ee4d8e5cb0 Put the EStorageSetView in an EScrollFrame.
* evolution-storage-set-view-factory.c
(evolution_storage_set_view_factory_new_view): Put the
EStorageSetView in an EScrollFrame.

* e-shell.c (impl_Shell_createStorageSetView):
CORBA_Object_duplicate the object before returning.

* evolution-test-component.c
(create_new_folder_selector): New function to create a simple test
environment for the new checkbox-enabled StorageSetView.
(register_component): Add user-creatable type FolderSelector.
(user_create_new_item_callback): Handle FolderSelector.
(dialog_clicked_callback): Print out the checked items in the
folder selector.
(main): Print out a message before going into bonobo_main().

* evolution-storage-set-view.c
(impl_StorageSetView__get_showFolders): Renamed from
impl_StorageSetView__get_show_folders.
(impl_StorageSetView__set_showFolders): Renamed from
impl_StorageSetView__set_show_folders.
(impl_StorageSetView__set_showCheckboxes): New, write the
showCheckboxes CORBA attribute.
(impl_StorageSetView__get_showCheckboxes): New, read the
showCheckboxes CORBA attribute.
(impl_StorageSetView__get_checkedFolders): New, read the
checkedFolders CORBA attribute.
(corba_class_init): Install the new CORBA methods methods.

* e-storage-set-view.c (essv_add_to_list): strdup() the path.
(e_storage_set_view_get_storage_set): New.

* e-folder.c (e_folder_to_corba): New.

* Evolution-StorageSetView.idl: Add showCheckboxes and
checkedFolders attributes.

* Evolution-common.idl: Add typedef for FolderList.

svn path=/trunk/; revision=16704
2002-05-07 16:57:45 +00:00
905a5cfca0 Use bonobo_object_client_(un)?ref instead of gtk_object_(un)?ref.
2002-05-03  Christopher James Lahey  <clahey@ximian.com>

	* e-folder-list.c: Use bonobo_object_client_(un)?ref instead of
	gtk_object_(un)?ref.
	(add_clicked): Don't pass NULL to
	evolution_shell_client_user_select_folder.

	* glade/Makefile.am: Added e-folder-list.glade

	* glade/e-folder-list.glade: The glade file for e-folder-list.

svn path=/trunk/; revision=16678
2002-05-03 20:40:20 +00:00
85d3d3acd8 Added e-folder-list.h. (libeshell_la_SOURCES): Added e-folder-list.c.
2002-05-03  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (eshellinclude_HEADERS): Added e-folder-list.h.
	(libeshell_la_SOURCES): Added e-folder-list.c.

	* e-folder-list.c, e-folder-list.h: New widget for editing a list
	of folder uris.

svn path=/trunk/; revision=16677
2002-05-03 18:46:18 +00:00
b096d8f5c3 Added these functions. Implemented checkboxes in the ETreeModel here.
2002-04-29  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c (e_storage_set_view_set_checkboxes_list,
	e_storage_set_view_get_checkboxes_list): Added these functions.
	Implemented checkboxes in the ETreeModel here.

svn path=/trunk/; revision=16637
2002-04-29 21:34:13 +00:00
562c2676e0 Minor label tweaks; changed "Default folders" to "Default Folders", and
2002-04-19  Anna Marie Dirks  <anna@ximian.com>

	* glade/e-shell-config-default-folders.glade: Minor label tweaks;
	changed "Default folders" to "Default Folders", and added accelerators.

svn path=/trunk/; revision=16535
2002-04-19 15:41:34 +00:00
bd6359c660 emit show_settings signal (corba_class_init): assign epv method
2002-04-18  JP Rosevear  <jpr@ximian.com>

	* evolution-shell-view.c (impl_ShellView_show_settings): emit
	show_settings signal
	(corba_class_init): assign epv method
	(class_init): add signal

	* evolution-shell-view.h: new signal

	* e-shell.c (init): init settings_dialog private member
	(settings_dialog_destroy_cb): reset dialog pointer
	(e_shell_show_settings): show the settings dialog, bring it to the
	front if one already exists for this shell

	* e-shell.h: new proto

	* e-shell-view.c (corba_interface_show_settings): implement
	showSettings method
	(setup_corba_interface): listen for show_settings signal
	(e_shell_view_show_settings): show the settings dialog

	* e-shell-view.h: new proto

	* e-shell-view-menu.c (command_settings): call
	e_shell_view_show_settings instead

	* Evolution-ShellView.idl: add showSettings method

svn path=/trunk/; revision=16510
2002-04-18 18:57:45 +00:00
a3f94ff6ad New, override for EShortcutBar::shortcut_drag_motion.
* e-shortcuts-view.c (impl_shortcut_drag_motion): New, override
for EShortcutBar::shortcut_drag_motion.
(impl_shortcut_drag_data_received): New, override for
EShortcutBar::shortcut_drag_data_received.
(class_init): Install the method overrides.

svn path=/trunk/; revision=16502
2002-04-18 02:19:27 +00:00
c2ee47d180 Bumped required gal version number to 0.19.99.11.
2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped required gal version number to 0.19.99.11.

From addressbook/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names.c
	(e_select_names_create_categories): Changed this to use
	ECategoriesMasterListOptionMenu.

	* gui/component/select-names/e-select-names.c
	(section_right_click_cb),
	gui/widgets/e-addressbook-reflow-adapter.c,
	gui/widgets/e-addressbook-view.c: Updated these to match the new
	EPopupMenu.

From calendar/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c,
	gui/dialogs/meeting-page.c: Updated these to match the new
	EPopupMenu.

From mail/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* folder-browser.c, mail-display.c: Updated these to match the new
	EPopupMenu.

From shell/ChangeLog:

2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* e-activity-handler.c: Updated this to match the new EPopupMenu.

svn path=/trunk/; revision=16498
2002-04-17 22:29:56 +00:00
ea772d632d Removed. (impl_tree_drag_motion): Rewritten to use
* e-storage-set-view.c (handle_evolution_path_drag_motion):
Removed.
(impl_tree_drag_motion): Rewritten to use
`e_folder_dnd_bridge_motion()'.
(impl_tree_drag_data_received): Rewritten to use
`e_folder_dnd_bridge_data_received()'.
(convert_gdk_drag_action_to_corba): Removed.
(convert_corba_drag_action_to_gdk): Removed.
(find_matching_target_for_drag_context): Removed.

* e-folder-dnd-bridge.c: New.
* e-folder-dnd-bridge.h: New.

svn path=/trunk/; revision=16491
2002-04-17 15:22:25 +00:00
8ded5c9c10 Shell config page routines. Right now handles the default folders page.
* e-shell-config.c: Shell config page routines. Right now
	handles the default folders page.

	* glade/e-shell-config-default-folders.glade: New.

	* GNOME_Evolution_Shell.oaf.in: Add info for the default folders
	config page.

	* main.c (idle_cb): If we successfully registered the shell,
	register the config factory.

	* evolution-shell-client.c (evolution_shell_client_new): Note the
	fact that it frees the corba_shell when it is destroyed.

	* evolution-folder-selector-button.c
	(evolution_folder_selector_button_construct, destroy): Use
	bonobo_object_ref/unref on the shell client, not gtk.

	* e-shell.c (e_shell_construct): Pass local_directory to
	e_setup_check_db.
	(handle_default_uri): Fix the config db paths here to match the
	other routines.

	* e-setup.c (e_setup_check_db): Make this take the evolution
	directory path as well so we can properly set up file: URIs for
	the default folders.

svn path=/trunk/; revision=16423
2002-04-10 19:01:14 +00:00
35d0d166f8 Change the logic for displaying a default window, so we don't end up with
* main.c (idle_cb): Change the logic for displaying a default
window, so we don't end up with two windows all the time.

svn path=/trunk/; revision=16416
2002-04-09 21:57:10 +00:00
92d85ea01a Move <dirent.h> down the #include list so it compiles on Darwin.
* e-local-storage.c: Move <dirent.h> down the #include list so it
compiles on Darwin.

svn path=/trunk/; revision=16407
2002-04-09 16:30:53 +00:00
a1720426f1 New. Check that things that need to be in the config db are. Right now it
* e-setup.c (e_setup_check_db): New. Check that things that need
	to be in the config db are. Right now it sets up the default
	folders.

	* e-shell.c (e_shell_construct): Call e_setup_check_db after
	getting the config db.

	* e-shell-constants.h: Add E_SUMMARY_URI, E_LOCAL_INBOX_URI, etc.

	* e-shortcuts.c (e_shortcuts_add_default_group): Use
	E_LOCAL_INBOX_URI, etc.

	* e-shell-view.c: #define FALLBACK_URI to E_SUMMARY_URI

svn path=/trunk/; revision=16405
2002-04-09 15:54:24 +00:00
c10d63c7c2 If the shell fails to display all of the requested URIs, fall back to
the default URI (Summary).

svn path=/trunk/; revision=16404
2002-04-09 15:33:45 +00:00
f61f9beaaf Oops. Add ChangeLog entries for some changes that accidentally escaped
into my last commit.

	* main.c (idle_cb): Check for "default:" URIs and treat them the
	same way as "evolution:" URIs.

	* e-shell.c (impl_Shell_handleURI): Handle "default:" URIs by
	looking up the default folders in the config db.

svn path=/trunk/; revision=16403
2002-04-09 15:11:24 +00:00
2a3a53e9cf Add a "view_info" argument.
* Evolution-ShellComponent.idl (createView): Add a "view_info"
	argument.

	* e-shell-view.c (get_view_for_uri): if the URI contains a '#',
	split it into a URI and a "view_info" at that point. (Otherwise,
	pass "" for the view_info to ShellComponent_createView.) This can
	be used for things like specifying day/month/week view to the
	calendar.

	* e-shell.c (create_view): Ignore e_shell_view_display_uri's
	return code: it's possible/likely that the requested URL is remote
	and hasn't been filled in yet.
	(impl_Shell_handleURI): Don't use Shell_createNewView directly,
	call e_shell_create_view_from_uri_and_settings. (For the above fix
	and some others.)

	* evolution-shell-component.c (impl_createView): Add view_info.

	* evolution-shell-component-client.c
	(evolution_shell_component_client_create_view): Add view_info.

	* evolution-test-component.c (create_view_fn): add view_data.

	* e-corba-storage-registry.c
	(impl_StorageRegistry_getFolderByUri): kill a warning

svn path=/trunk/; revision=16397
2002-04-09 14:59:26 +00:00
c357c63804 Fix "evolution evolution:/path/to/folder" to use default view
prefs.

	* e-shell.c (impl_Shell_createNewView): Use
	e_shell_create_view_from_uri_and_settings to create the new view
	based on saved view 0 instead of always using the initial
	evolution defaults.
	(e_shell_create_view_from_uri_and_settings): Renamed and
	simplified; the template_view argument was useless and
	settings_found would always be set to TRUE in the context it was
	being used it.
	(e_shell_restore_from_settings): Simplify for
	e_shell_create_view_from_uri_and_settings changes.

	* e-shell-view.c (e_shell_view_load_settings): Only load the
	DisplayedURI if the view isn't already displaying a URI. Also,
	pass an &ev to the first bonobo_config_get_long so we can tell if
	it failed and bail out.

	* e-shell-view.h: Remove a prototype for a non-existent function
	(e_shell_view_remove_control_for_uri).

	* main.c (idle_cb): Add some comments here and remove some dead
	code.

svn path=/trunk/; revision=16389
2002-04-08 15:30:02 +00:00
fc85f0ce45 set type (load_pages): get the oaf property for type and track the page
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* e-shell-settings-dialog.c (page_new): set type
	(load_pages): get the oaf property for type and track the page
	number of the highest priority for each type
	(destroy_type_entry): destroy hash func
	(impl_destroy): destroy the hash table
	(init): create private struct and hash table
	(e_shell_settings_dialog_show_type): show the page of the given
	type

	* e-shell-view-menu.c (command_settings): show the page for the
	current folder type by default

	* e-shell-settings-dialog.h: new proto

svn path=/trunk/; revision=16376
2002-04-06 20:00:51 +00:00
d235696811 Set the title of the dialog.
* e-shell-settings-dialog.c (init): Set the title of the dialog.

svn path=/trunk/; revision=16370
2002-04-06 12:05:08 +00:00
02dee9478c Fix a memory mixup.
* evolution-shell-client.c
	(evolution_shell_client_get_pixbuf_for_type): Fix a memory mixup.

svn path=/trunk/; revision=16359
2002-04-04 22:32:12 +00:00
54ddaa6e48 New widget for a button that displays a folder selection in a standard
* evolution-folder-selector-button.c: New widget for a button that
	displays a folder selection in a standard form, and when clicked
	lets the user select a new folder.

	* Evolution-Shell.idl (FolderSelectionListener:notifySelected):
	Make this take an Evolution:Folder instead of a pair of uris.
	(Shell:getIconByType): New method to get the icon for a type from
	the folder type registry.

	* Evolution-common.idl (Folder): add "evolutionUri" to the folder
	structure.

	* Evolution-Storage.idl (StorageRegistry:getFolderByUri): get an
	Evolution:Folder for a given uri.

	* evolution-shell-client.c
	(evolution_shell_client_user_select_folder): Update this to
	reflect the IDL change: return a GNOME_Evolution_Folder instead of
	a pair of URIs. Make sure it always sets *@folder_return to %NULL
	if it fails (even if it's a g_return_if_fail).
	(evolution_shell_client_get_storage_registry_interface): New.
	(evolution_shell_client_get_pixbuf_for_type): New. Uses
	Shell_getIconByType, but caches results.

	* e-shell.c (folder_selection_dialog_folder_selected_cb): Update
	for API change. (Return a GNOME_Evolution_Folder.)
	(impl_Shell_getIconByType): Implement.

	* e-corba-storage-registry.c
	(impl_StorageRegistry_getFolderByUri): Implement.

	* evolution-storage.c (evolution_storage_new_folder): Add a
	(dummy) evolutionUri to the folder.

	* Makefile.am (libeshell_la_SOURCES): add
	evolution-folder-selector-button.c
	(eshellinclude_HEADERS): and .h

svn path=/trunk/; revision=16352
2002-04-04 20:01:31 +00:00
f9b9c12b3b Change type of parent_class to BonoboXObjectClass.
* evolution-shell-component.c: Change type of parent_class to
BonoboXObjectClass.

* e-shell.c (pop_up_activation_error_dialog): New helper function
to pop up a dialog if one of the components couldn't be activated,
getting the description for the error from
e_get_activation_failure_msg().
(setup_components): Use this function in case of activation error.
(set_owner_on_components): Likewise, when the component gets
restarted.  Also get a @splash arg so we can set the parent for
this dialog correctly.

* e-component-registry.c (register_component): New arg @ev.
(e_component_registry_register_component): Likewise.
(e_component_registry_restart_component): Likewise.  Also, remove
some bogus code that was #if'ed out.

* evolution-shell-component-client.c
(evolution_shell_component_client_new): New arg @ev.

* evolution-shell-component-utils.c
(e_get_activation_failure_msg): New.

svn path=/trunk/; revision=16342
2002-04-04 13:35:26 +00:00
b599862306 Deal with folders with no physical_uri.
* e-storage.c (get_path_for_physical_uri_foreach): Deal with
	folders with no physical_uri.

svn path=/trunk/; revision=16335
2002-04-03 23:00:29 +00:00
22fe7e4d3a Set the show_checkboxes field here instead of the show_folders field.
2002-04-02  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c (e_storage_set_view_set_show_checkboxes):
	Set the show_checkboxes field here instead of the show_folders
	field.

svn path=/trunk/; revision=16326
2002-04-02 21:37:00 +00:00
0998e3317a If folder is NULL, return the correct type of data.
2002-04-02  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c (etree_value_at): If folder is NULL, return
	the correct type of data.

svn path=/trunk/; revision=16325
2002-04-02 21:26:39 +00:00
4431711f55 Added e-storage-set-view-checkboxes.etstate and
2002-04-02  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (etspec_DATA): Added
	e-storage-set-view-checkboxes.etstate and
	e-storage-set-view-no-checkboxes.etstate here.

	* e-storage-set-view-checkboxes.etstate,
	e-storage-set-view-no-checkboxes.etstate: The two possible states
	of the EStorageSetView.

	* e-storage-set-view.c, e-storage-set-view.h
	(e_storage_set_view_set_show_checkboxes,
	e_storage_set_view_get_show_checkboxes): Added this functionality.
	Added a model column to the underlying table for the checkbox
	data.

	* e-storage-set-view.etspec: Added a view column for the
	checkboxes.

svn path=/trunk/; revision=16324
2002-04-02 21:24:33 +00:00
639900dfc7 Add type "Page". (page_new): New helper function. (page_free): New helper
* e-shell-settings-dialog.c: Add type "Page".
(page_new): New helper function.
(page_free): New helper function.
(compare_page_func): Callback for sorting a GList of pages.
(sort_page_list): New helper function.
(load_pages): Create the pages, sort them, add them sorted.  Now
we have a priority field that overrides alphabetical sorting.

svn path=/trunk/; revision=16291
2002-03-29 22:47:20 +00:00
81e7580909 New. New.
* e-component-info.c: New.
* e-component-info.h: New.

svn path=/trunk/; revision=16256
2002-03-26 21:00:15 +00:00
901c4571ad g_warning if the control cannot be activated.
* e-shell-settings-dialog.c (load_pages): g_warning if the control
cannot be activated.

svn path=/trunk/; revision=16254
2002-03-26 20:32:33 +00:00
8e70cce274 Register a "working" folder type with the hourglass icon. (Would
* e-shell.c (e_shell_construct): Register a "working" folder type
	with the hourglass icon. (Would eventually like an animated gif,
	when ETable supports that.)

	* e-storage.c (e_storage_has_subfolders): Use "working" rather
	than "noselect" as the folder type.

	* e-shell-view.c (get_view_for_uri): Simplify a bit.

svn path=/trunk/; revision=16244
2002-03-25 15:40:15 +00:00
c2baedba52 Removed. (load_pages): Use e_get_language_list() here instead. Also, free
* e-shell-settings-dialog.c (get_language_list): Removed.
(load_pages): Use e_get_language_list() here instead.  Also, free
using e_free_language_list().

svn path=/trunk/; revision=16232
2002-03-22 20:48:05 +00:00
8c9e640194 *** empty log message ***
svn path=/trunk/; revision=16230
2002-03-22 18:09:06 +00:00
65193c5db2 (evolution_storage_removed_folder): Oops. Fix here too.
(evolution_storage_has_subfolders): And here. When cut and paste
	goes bad...

svn path=/trunk/; revision=16229
2002-03-22 18:08:58 +00:00
5f0988d34e Fix a "how can this ever have worked" bug to make unread message counts
* evolution-storage.c (evolution_storage_update_folder): Fix a
	"how can this ever have worked" bug to make unread message counts
	start working again. (#22293 etc)

svn path=/trunk/; revision=16228
2002-03-22 18:03:29 +00:00
dfbbbf2baf Use e_folder_get_name. Don't assume it's the same as the last path
* e-shell-folder-commands.c (e_shell_command_rename_folder): Use
	e_folder_get_name. Don't assume it's the same as the last path
	element.

svn path=/trunk/; revision=16227
2002-03-22 16:44:23 +00:00
cd1ef6be6d Set the wmclass to "evolution-splash" so sawfish knows it's not the same
* e-splash.c (e_splash_construct): Set the wmclass to
	"evolution-splash" so sawfish knows it's not the same kind of
	window as the main window.

svn path=/trunk/; revision=16222
2002-03-21 14:48:08 +00:00
06cb9c4e95 Make all the verb/menu arrays appropriately static.
* e-shell-view-menu.c: Make all the verb/menu arrays appropriately
static.

svn path=/trunk/; revision=16221
2002-03-21 00:09:34 +00:00
364cb04c2b Move the ComponentActionsPlaceholder into the Actions menu, instead of the
* evolution.xml: Move the ComponentActionsPlaceholder into the
Actions menu, instead of the Actions menu being in the
ComponentActionsPlaceholder.
* evolution-addressbook.xml: Updated accordingly.
* evolution-calendar.xml: Updated accordingly.
* evolution-mail-global.xml: Updated accordingly.
* evolution-mail-list.xml: Updated accordingly.
* evolution-mail-message.xml: Updated accordingly.
* evolution-mail-messagedisplay.xml: Updated accordingly.
* evolution-tasks.xml: Updated accordingly.

* evolution.xml: Add "SendReceive" verb, menu item and toolbar
button.

* evolution-mail-global.xml: Remove "MailGetSend" verb and menu
item.

* e-shell-view-menu.c (command_send_receive): New, implementation
for the "SendReceive" verb.

* e-shell.c (e_shell_send_receive): New.

* evolution-shell-component.c (impl_sendReceive): Implementation
of ShellComponent::sendReceive.
(class_init): Add the "send_receive" signal.

* evolution-shell-component.h: Added `send_receive' signal.

* Evolution-ShellComponent.idl: Added ShellComponent::sendReceive.

* component-factory.c (send_receive_cb): New, callback for the
"send_receive" signal on the EvolutionShellComponent.
(create_component): Connect.

* folder-browser-ui.c: Remove verb "MailGetSend".

* mail-callbacks.c (send_receive_mail): Removed.

* mail-send-recv.c: Remove member current_folder from struct
_send_data.
(free_send_data): No need to unref here.
(build_dialogue): Removed arg @current_folder.
(mail_send_receive): Likewise.

svn path=/trunk/; revision=16220
2002-03-21 00:07:49 +00:00
3c2af0d4d8 Add `search="string"' for the keyboard navigability search thingy.
* e-storage-set-view.etspec: Add `search="string"' for the
keyboard navigability search thingy.

svn path=/trunk/; revision=16195
2002-03-18 20:06:34 +00:00
eaaa45115f Updated to use new EPopupMenu API.
2002-03-15  Jeffrey Stedfast  <fejj@ximian.com>

	* e-activity-handler.c (show_cancellation_popup): Updated to use
	new EPopupMenu API.

svn path=/trunk/; revision=16185
2002-03-16 02:20:31 +00:00
86b700d089 Support for delayed filling-in of storages/folders.
* Evolution-Storage.idl (StorageListener): add
	notifyHasSubfolders, to announce that a folder has currently-
	unknown subfolders.
	(Storage): add asyncOpenFolder, to request that previously-
	announced subfolders be filled in.

	* evolution-storage.c (impl_Storage_async_open_folder): emit
	OPEN_FOLDER.
	(evolution_storage_has_subfolders): Implement by calling
	notifyHasSubfolders on all of its listeners.

	* evolution-storage-listener.c
	(impl_GNOME_Evolution_StorageListener_notifyHasSubfolders): emit
	HAS_SUBFOLDERS.

	* e-corba-storage.c (impl_StorageListener_notifyHasSubfolders):
	Implement by calling e_storage_has_subfolders.
	(async_open_folder): Implement by calling asyncOpenFolder on the
	CORBA storage.

	* e-storage.c (EStoragePrivate, init, destroy): Keep a list of
	pseudofolders representing un-filled-in subtrees.
	(impl_async_open_folder): No-op default implementation
	(e_storage_async_open_folder): New function to request that
	un-filled-in subtrees be filled in.
	(e_storage_new_folder): If the new folder's parent has an
	"un-filled-in children" pseudofolder, remove it.
	(e_storage_has_subfolders): New function to note that a folder has
	unknown children. If the folder previously was marked as having
	real children, remove them, and emit CLOSE_FOLDER to reset it back
	to an a "unknown subfolders" state.

	* e-storage-set.c (make_full_path): Make this deal with path being
	"/", since that case gets used from storage_close_folder_cb
	sometimes.
	(storage_close_folder_cb): Proxy EStorage's CLOSE_FOLDER signal.
	(storage_set_view_folder_opened): Handle EStorageSetView's
	FOLDER_OPENED signal by calling e_storage_async_open_folder.

	* e-storage-set-view.c (etree_fill_in_children): If the given node
	is its parent's first child, emit FOLDER_OPENED for the parent.
	(close_folder_cb): Handler for EStorageSet's CLOSE_FOLDER signal.
	Ask the model to close that node.
	(e_storage_set_view_construct): Set the default expanded state for
	the tree to FALSE rather than TRUE, to prevent unwanted expansion
	of delayed nodes. (This only affects the very first time the tree
	is displayed anyway: after that its state is loaded off disk.)

	* e-shell.c (e_shell_construct): Register the "noselect" type with
	the folder type registry, so icon lookups on placeholder folders
	will work.

svn path=/trunk/; revision=16169
2002-03-14 22:22:35 +00:00
3aafbac9ee Use `evolution:config_item:icon_name' instead of
* e-shell-settings-dialog.c (load_pages): Use
`evolution:config_item:icon_name' instead of
`evolution:config_item:icon_path'.  If it's not an absolute path,
load from the IMAGESDIR.  Also, no need to specify the language
list for this one, as the icon name shouldn't be translated.

svn path=/trunk/; revision=16140
2002-03-13 17:00:35 +00:00
9a3b0141da Update to create an EvolutionConfigControl instead of just a
* evolution-test-component.c (create_configuration_page): Update
to create an EvolutionConfigControl instead of just a
BonoboControl.

* e-corba-config-page.c (e_corba_config_page_construct): Get a
GNOME_Evolution_ConfigControl instead of a CORBA_Object.  Retrieve
the control from it using ::_get_control instead of just assuming
it's a control.  Also return a boolen indicating success or
failure.
(e_corba_config_page_new): Likewise, get a
GNOME_Evolution_ConfigControl.
(setup_listener): Renamed from `setup_config_control_interface'.
Get a ::ConfigControl instead of a CORBA::Object.  Thus, no need
to queryInterface here anymore.

* evolution-config-control.c, evolution-config-control.h: New,
implementation for the Evolution::ConfigControl interface.

* Evolution-ConfigControl.idl: New attribute `control'.

svn path=/trunk/; revision=16134
2002-03-13 04:50:30 +00:00
4be61235ce Make old_name_locale non-const to placate a compiler warning.
* e-shell-folder-commands.c (e_shell_command_rename_folder): Make
old_name_locale non-const to placate a compiler warning.
(get_corba_null_value): Likewise.

* e-activity-handler.c (report_task_event): `#if 0' out.

svn path=/trunk/; revision=16008
2002-03-10 03:16:46 +00:00
1fc604a650 Use ECorbaConfigPages.
* e-shell-settings-dialog.c (load_pages): Use ECorbaConfigPages.

* e-corba-config-page.c: New.
* e-corba-config-page.h: New.

* Evolution.idl: #include <Evolution-ConfigControl.idl>.

* Evolution-ConfigControl.idl: New IDL for configuration Controls
that will be displayed in the global config dialog.

svn path=/trunk/; revision=16007
2002-03-10 03:05:52 +00:00
a9b3a1b2e2 Note that e_storage_set_view_new shouldn't be used directly.
* e-storage-set-view.[ch]: Note that e_storage_set_view_new
	shouldn't be used directly.

	* e-shell-view.c (setup_storage_set_subwindow): Use
	e_storage_set_new_view instead of e_storage_set_view_new.

	* evolution-storage-set-view-factory.c
	(evolution_storage_set_view_factory_new_view): Likewise.

svn path=/trunk/; revision=15993
2002-03-08 22:34:19 +00:00
0a7abd8b7f New function to create a test configuration page for the test component.
* evolution-test-component.c (create_configuration_page): New
function to create a test configuration page for the test
component.
(configuration_control_factory_fn): Factory function for the
configuration controls.
(register_configuration_control_factory): New function to register
the factory.
(main): Call it.

* e-shell-view-menu.c: Add verb "Settings".
(command_settings): Implementation for the "Settings" verb.

* GNOME_Evolution_TestComponent.oaf: Add a configuration control.

* e-shell-settings-dialog.c: New.
* e-shell-settings-dialog.h: New.

svn path=/trunk/; revision=15977
2002-03-07 22:23:40 +00:00