name change

2000-03-12  bertrand  <bertrand@helixcode.com>

	* shell/e-shell-view.c (get_view): name change

2000-03-12  bertrand  <bertrand@helixcode.com>

	* folder-browser-factory.c (folder_browser_factory_init):
	name change.

	* evolution-mail.gnorba:
	name changes

svn path=/trunk/; revision=2109
This commit is contained in:
bertrand
2000-03-13 01:56:12 +00:00
committed by Bertrand Guiheneuf
parent 4ec9945f05
commit b21cd06a46
5 changed files with 24 additions and 15 deletions

View File

@ -1,5 +1,8 @@
2000-03-12 bertrand <bertrand@helixcode.com>
* shell/e-shell-view.c (get_view): name change
* shell/e-folder.c (e_folder_get_folder_type): added the
get_e_folder_type function.

View File

@ -1,5 +1,11 @@
2000-03-12 bertrand <bertrand@helixcode.com>
* folder-browser-factory.c (folder_browser_factory_init):
name change.
* evolution-mail.gnorba:
name changes
* folder-browser.h: added a reference to an
Evolution::Shell object.

View File

@ -1,13 +1,13 @@
[GOADID:Evolution:FolderBrowserFactory:1.0]
[control-factory:evolution-mail]
type=exe
repo_id=IDL:GNOME/GenericFactory:1.0 IDL:Bonobo/GenericFactory:1.0
repo_id=IDL:GNOME/GenericFactory:1.0
description=Evolution mail folder factory component.
location_info=evolution-mail
[GOADID:Evolution:FolderBrowser:1.0]
[control:evolution-mail]
type=factory
repo_id=IDL:Evolution/Mail:1.0
repo_id=IDL:BonoboControl/evolution-mail:1.0 IDL:GNOME/Control:1.0
description=Evolution mail folder display component.
location_info=GOADID:Evolution:FolderBrowserFactory:1.0
location_info=control-factory:evolution-mail

View File

@ -127,10 +127,9 @@ folder_browser_factory (BonoboGenericFactory *factory, void *closure)
return NULL;
}
if (!warning_result)
bonobo_control_set_property_bag (
control,
FOLDER_BROWSER (folder_browser)->properties);
bonobo_control_set_property_bag (control,
FOLDER_BROWSER (folder_browser)->properties);
/* for the moment, the control has the ability to register
* some services itself, but this should not last.
@ -138,9 +137,9 @@ folder_browser_factory (BonoboGenericFactory *factory, void *closure)
* It's not the way to do it, but we don't have the
* correct infrastructure in the shell now.
*/
folder_browser_control_add_service_repository_interface (control, folder_browser);
folder_browser_control_add_service_repository_interface (control, folder_browser);
return BONOBO_OBJECT (control);
}
@ -149,13 +148,14 @@ void
folder_browser_factory_init (void)
{
static BonoboGenericFactory *bonobo_folder_browser_factory = NULL;
if (bonobo_folder_browser_factory != NULL)
return;
bonobo_folder_browser_factory =
bonobo_generic_factory_new (
"GOADID:Evolution:FolderBrowserFactory:1.0",
"control-factory:evolution-mail",
folder_browser_factory, NULL);
if (bonobo_folder_browser_factory == NULL){

View File

@ -94,7 +94,7 @@ get_view (EFolder *efolder)
switch (e_folder_type) {
case E_FOLDER_MAIL :
w = bonobo_widget_new_control ("GOADID:Evolution:FolderBrowser:1.0",
w = bonobo_widget_new_control ("control:evolution-mail",
NULL);
break;