update for new UI handler.
2000-10-18 Michael Meeks <michael@helixcode.com> * evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu): update for new UI handler. svn path=/trunk/; revision=6022
This commit is contained in:

committed by
Michael Meeks

parent
3c075e5ac8
commit
f3533f595d
@ -1,3 +1,8 @@
|
|||||||
|
2000-10-18 Michael Meeks <michael@helixcode.com>
|
||||||
|
|
||||||
|
* notes/component-factory.c (control_activate, control_deactivate),
|
||||||
|
(create_view): cripple, not worth updating to new UI code.
|
||||||
|
|
||||||
2000-10-17 Tuomas Kuosmanen <tigert@helixcode.com>
|
2000-10-17 Tuomas Kuosmanen <tigert@helixcode.com>
|
||||||
|
|
||||||
* art/splash.png: This looks happier than the dark piece of rusty
|
* art/splash.png: This looks happier than the dark piece of rusty
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2000-10-18 Michael Meeks <michael@helixcode.com>
|
||||||
|
|
||||||
|
* evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu):
|
||||||
|
update for new UI handler.
|
||||||
|
|
||||||
2000-10-18 Iain Holmes <iain@helixcode.com>
|
2000-10-18 Iain Holmes <iain@helixcode.com>
|
||||||
|
|
||||||
* e-shell-view.c (start_progress_bar): If the widget is not realized
|
* e-shell-view.c (start_progress_bar): If the widget is not realized
|
||||||
|
@ -275,7 +275,7 @@ impl_ShellComponent_populate_folder_context_menu (PortableServer_Servant servant
|
|||||||
BonoboObject *bonobo_object;
|
BonoboObject *bonobo_object;
|
||||||
EvolutionShellComponent *shell_component;
|
EvolutionShellComponent *shell_component;
|
||||||
EvolutionShellComponentPrivate *priv;
|
EvolutionShellComponentPrivate *priv;
|
||||||
BonoboUIHandler *uih;
|
BonoboUIComponent *uic;
|
||||||
|
|
||||||
bonobo_object = bonobo_object_from_servant (servant);
|
bonobo_object = bonobo_object_from_servant (servant);
|
||||||
shell_component = EVOLUTION_SHELL_COMPONENT (bonobo_object);
|
shell_component = EVOLUTION_SHELL_COMPONENT (bonobo_object);
|
||||||
@ -284,13 +284,13 @@ impl_ShellComponent_populate_folder_context_menu (PortableServer_Servant servant
|
|||||||
if (priv->populate_folder_context_menu_fn == NULL)
|
if (priv->populate_folder_context_menu_fn == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
uih = bonobo_ui_handler_new ();
|
uic = bonobo_ui_component_new_default ();
|
||||||
bonobo_ui_handler_set_container (uih, corba_uih);
|
bonobo_ui_component_set_container (uic, corba_uih);
|
||||||
bonobo_object_release_unref (corba_uih, NULL);
|
bonobo_object_release_unref (corba_uih, NULL);
|
||||||
|
|
||||||
(* priv->populate_folder_context_menu_fn) (shell_component, uih, physical_uri, type, priv->closure);
|
(* priv->populate_folder_context_menu_fn) (shell_component, uic, physical_uri, type, priv->closure);
|
||||||
|
|
||||||
bonobo_object_unref (BONOBO_OBJECT (uih));
|
bonobo_object_unref (BONOBO_OBJECT (uic));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ typedef void (* EvolutionShellComponentRemoveFolderFn) (EvolutionShellComponent
|
|||||||
const Evolution_ShellComponentListener listener,
|
const Evolution_ShellComponentListener listener,
|
||||||
void *closure);
|
void *closure);
|
||||||
typedef void (* EvolutionShellComponentPopulateFolderContextMenu) (EvolutionShellComponent *shell_component,
|
typedef void (* EvolutionShellComponentPopulateFolderContextMenu) (EvolutionShellComponent *shell_component,
|
||||||
BonoboUIHandler *uih,
|
BonoboUIComponent *uic,
|
||||||
const char *physical_uri,
|
const char *physical_uri,
|
||||||
const char *type,
|
const char *type,
|
||||||
void *closure);
|
void *closure);
|
||||||
|
Reference in New Issue
Block a user