Commit Graph

6 Commits

Author SHA1 Message Date
c788ba0faf Disable DnD on the EStorageSetView to avoid strange behaviors.
* e-shell-view.c (pop_up_folder_bar): Disable DnD on the
EStorageSetView to avoid strange behaviors.
(reparent_storage_set_view_box_and_destroy_popup): Re-enable DnD
here.
(popdown_transient_folder_bar): And here as well.

* evolution-storage-set-view-factory.c
(evolution_storage_set_view_factory_new_view): Disable DnD on the
EStorageSetView.

* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Disable DnD on the
EStorageSetView.

* e-shell-folder-creation-dialog.c (add_storage_set_view): Disable
DnD on the EStorageSetView.

* e-storage-set-view.c: New member `allow_dnd' in
`EStorageSetViewPrivate'.
(init): Init to `allow_dnd' %TRUE.
(tree_start_drag): If `allow_dnd' is false, don't start the drag
and return %FALSE.
(tree_drag_motion): If `allow_dnd' is false, return %FALSE.
(e_storage_set_view_get_allow_dnd): New.
(e_storage_set_view_set_allow_dnd): New.

svn path=/trunk/; revision=12810
2001-09-13 21:11:22 +00:00
91cc026904 Update the copyrights, replacing Helix Code with Ximian and
helixcode.com with ximian.com all over the place.

svn path=/trunk/; revision=10440
2001-06-23 08:52:02 +00:00
7da5a58462 the only problematic area - pass NULL for now in as the BonoboUIContainer.
2001-05-11  Chris Toshok  <toshok@ximian.com>

	* evolution-storage-set-view-factory.c
	(evolution_storage_set_view_factory_new_view): the only
	problematic area - pass NULL for now in as the BonoboUIContainer.
	how do we pass this container to the control?

	* e-storage-set-view.c (folder_context_menu_activate): un-#if 0
	this function.
	(populate_folder_context_menu_with_common_items): build our popup
	using the new xml bonobo stuffs.
	(popup_folder_menu): convert to using the new xml bonobo stuffs.
	(right_click): only do the popup menu if we have a
	BonoboUIContainer.
	(e_storage_set_view_new): add BonoboUIContainer* arg.
	(e_storage_set_view_construct): same.

	* e-storage-set-view.h: add BonoboUIContainer* args to
	e_storage_set_view_new and e_storage_set_view_construct.

	* e-shell-folder-creation-dialog.c (add_storage_set_view): pass
	NULL for the BonoboUIContainer, since we shouldn't (?) have a
	popup in this dialog.

	* e-shell-folder-selection-dialog.c
	(e_shell_folder_selection_dialog_construct): pass NULL for the
	BonoboUIContainer, since we shouldn't (?) have a popup in this
	dialog.

	* e-storage-set.h: add BonoboUIContainer* arg to
	e_storage_set_new_view.

	* e-storage-set.c (e_storage_set_new_view): add arg, and track
	change to e_storage_set_view_new.

	* e-shell-view.h: add prototype for
	e_shell_view_get_bonobo_ui_container.

	* e-shell-view.c (setup_storage_set_subwindow): track change to
	e_storage_set_view_new.
	(e_shell_view_construct): the BonoboUIContainer is now part of our
	private structure.
	(e_shell_view_get_bonobo_ui_container): new function.

svn path=/trunk/; revision=9756
2001-05-11 11:14:45 +00:00
f31425818b Add a typecast.
* evolution-storage-set-view-factory.c
	(evolution_storage_set_view_factory_new_view): Add a typecast.

	* e-storage-set-view.c (popup_folder_menu): Move variable
	declarations into the #if 0 to kill warnings.
	(populate_folder_context_menu_with_common_items,
	folder_context_menu_activate_cb): Move these into #if 0 too.

	* e-shell.c: Add prototype.

	* e-shell-view.c (storage_set_view_box_map_cb):
	* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
	Remove unused variables.

	* e-setup.c: Fix warning caused by e-util -> gal migration.

svn path=/trunk/; revision=5945
2000-10-16 21:10:34 +00:00
29b9fbe51b pass storage_set_view_interface as second argument to
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* evolution-storage-set-view-factory.c
	(evolution_storage_set_view_factory_new_view): pass
	storage_set_view_interface as second argument to
	bonobo_object_add_interface, and call gtk_widget_show on the
	storage_set_view widget.

svn path=/trunk/; revision=5680
2000-10-02 23:57:41 +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