Commit Graph

5 Commits

Author SHA1 Message Date
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
a40ab7c842 Fix the license text to make sense.
svn path=/trunk/; revision=14192
2001-10-27 01:09:28 +00:00
067aaf149e Update the licensing information to require version 2 of the GPL
explicitly.

svn path=/trunk/; revision=14186
2001-10-26 23:53:35 +00:00
e3ab855984 New function to try to activate a component when you know it's going to
* evolution-shell-component-utils.c (e_activation_failure_dialog):
	New function to try to activate a component when you know it's
	going to fail, and then pop up a dialog explaining why it failed.

svn path=/trunk/; revision=13657
2001-10-13 17:28:42 +00:00
6eb6e536f9 New file. (e_pixmaps_update): Moved here from e-util to break e-util
* evolution-shell-component-utils.c: New file.
	(e_pixmaps_update): Moved here from e-util to break e-util bonobo
	dependency.

	* e-shell-view-menu.c: #include
	"evolution-shell-component-utils.h" instead of "e-gui-utils.h"

	* Makefile.am (libeshell_la_SOURCES, eshellinclude_HEADERS): Add
	evolution-shell-component-utils.[ch]

svn path=/trunk/; revision=10018
2001-05-27 18:00:52 +00:00