Commit Graph

3 Commits

Author SHA1 Message Date
cc6dbb8f3c add storage_selected behavior - loop over the listeners calling
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* evolution-storage-set-view.c: add storage_selected behavior -
	loop over the listeners calling _storage_selected.

	* Evolution-StorageSetView.idl: add storage_selected to the
	Listener interface.

	* e-storage-set-view.c add storage_selected signal.
	(on_cursor_change): if the depth is less than 2, emit
	"storage_selected", otherwise emit "folder_selected".

	* e-storage-set-view.h: add storage_selected signal.

	* evolution-storage-set-view-listener.h: add storage_selected
	signal.

	* evolution-storage-set-view-listener.c: add storage_selected
	signal.

svn path=/trunk/; revision=5686
2000-10-03 02:53:08 +00:00
1ad5f19df9 fix typo. (impl_StorageSetView_remove_listener): same.
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* evolution-storage-set-view.c (impl_StorageSetView_add_listener): fix typo.
	(impl_StorageSetView_remove_listener): same.
	(impl_StorageSetView__get_show_folders): implementation of getter for show_folders.
	(impl_StorageSetView__set_show_folders): implementation of setter for show_folders.
	(corba_class_init): install _set_show_folders and _get_show_folders.

	* Evolution-StorageSetView.idl: add show_folders attribute to
	StorageSetView.

	* e-storage-set-view.h: add prototypes for
	e_storage_set_view_{get,set}_show_folders.

	* e-storage-set-view.c (insert_storages): split this code out from
	e_storage_set_view_construct so we can call it when "show_folders"
	has been changed.
	(e_storage_set_view_construct): remove the code to insert
	storages.
	(e_storage_set_view_set_show_folders): new function.  tears down
	existing tree and node/path hashtable and calls insert_storages.
	(e_storage_set_view_get_show_folders): new function, retrieves
	current show_folders state.

svn path=/trunk/; revision=5684
2000-10-03 01:29:43 +00:00
e062edf573 Added the ability for the shell to export the storage set view as a
Bonobo::Control (untested, and needed by Toshok's subscription
dialog).  Also, added a custom interface for this control so that the
container can get notification when a folder gets selected.

svn path=/trunk/; revision=5657
2000-10-02 14:22:11 +00:00