s/Bonobo_UIHandler/Bonobo_UIContainer/

s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/

svn path=/trunk/; revision=5539
This commit is contained in:
Michael Meeks
2000-09-21 14:13:27 +00:00
parent aeb04a3e77
commit 8b2ca26789
16 changed files with 56 additions and 16 deletions

View File

@ -1,3 +1,7 @@
2000-09-21 Michael Meeks <michael@helixcode.com>
* notes/component-factory.c (control_activate): upd.
2000-09-20 Christopher James Lahey <clahey@helixcode.com>
* ui/.cvsignore: Added a cvsignore file here.

View File

@ -1,3 +1,7 @@
2000-09-21 Michael Meeks <michael@helixcode.com>
* gui/component/addressbook.c (control_activate): remove _UIHandler
2000-09-21 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/load-pine-addressbook.c: Added a missing include

View File

@ -325,7 +325,7 @@ static void
control_activate (BonoboControl *control, BonoboUIHandler *uih,
AddressbookView *view)
{
Bonobo_UIHandler remote_uih;
Bonobo_UIContainer remote_uih;
char *fname;
xmlNode *ui;
Bonobo_UIContainer container;

View File

@ -1,3 +1,8 @@
2000-09-21 Michael Meeks <michael@helixcode.com>
* gui/calendar-commands.c (calendar_control_activate): _UIHandler
update.
2000-09-20 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (pre_sync): Don't fail if there

View File

@ -525,7 +525,7 @@ void
calendar_control_activate (BonoboControl *control,
GnomeCalendar *cal)
{
Bonobo_UIHandler remote_uih;
Bonobo_UIContainer remote_uih;
BonoboUIHandler *uih;
uih = bonobo_control_get_ui_handler (control);

View File

@ -164,15 +164,14 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih,
FolderBrowser *fb)
{
GtkWidget *folder_browser;
Bonobo_UIHandler remote_uih;
BonoboUIComponent *component;
Bonobo_UIContainer container;
remote_uih = bonobo_control_get_remote_ui_handler (control);
bonobo_ui_handler_set_container (uih, remote_uih);
bonobo_object_release_unref (remote_uih, NULL);
container = bonobo_control_get_remote_ui_handler (control);
bonobo_ui_handler_set_container (uih, container);
bonobo_object_release_unref (container, NULL);
container = bonobo_ui_compat_get_container (uih);
g_assert (container == bonobo_ui_compat_get_container (uih));
g_return_if_fail (container != CORBA_OBJECT_NIL);
folder_browser = bonobo_control_get_widget (control);

View File

@ -6,7 +6,7 @@
#include "mail-types.h"
#include <bonobo/bonobo-main.h>
#include <bonobo/bonobo-object.h>
#include <bonobo/bonobo-ui-handler.h>
#include <bonobo/bonobo-ui-compat.h>
#include <gal/e-table/e-table-scrolled.h>
#include <gal/e-table/e-table-simple.h>
#include <gal/e-table/e-tree-simple.h>

View File

@ -37,7 +37,7 @@ control_deactivate (BonoboControl *control, BonoboUIHandler *uih)
static void
control_activate (BonoboControl *control, BonoboUIHandler *uih)
{
Bonobo_UIHandler remote_uih;
Bonobo_UIContainer remote_uih;
GtkWidget *toolbar, *toolbar_frame;
BonoboControl *toolbar_control ;

View File

@ -1,3 +1,16 @@
2000-09-21 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (show_existing_view): upd.
* Evolution-ShellComponent.idl: upd.
* evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu):
upd.
2000-09-18 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c (command_xml_dump): add xml dump option.
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and

View File

@ -55,7 +55,7 @@ module Evolution {
in string physical_uri)
raises (Busy);
void populate_folder_context_menu (in Bonobo::UIHandler uih,
void populate_folder_context_menu (in Bonobo::UIContainer uih,
in string physical_uri,
in string type);
};

View File

@ -359,6 +359,20 @@ command_create_folder (BonoboUIHandler *uih,
e_shell_show_folder_creation_dialog (shell, GTK_WINDOW (shell_view), default_folder);
}
static void
command_xml_dump (gpointer dummy,
EShellView *view)
{
BonoboUIHandler *uih;
BonoboWin *win;
uih = e_shell_view_get_bonobo_ui_handler (view);
win = bonobo_ui_handler_get_app (uih);
bonobo_win_dump (win, "On demand");
}
/* Unimplemented commands. */
@ -401,6 +415,7 @@ BonoboUIVerb help_verbs [] = {
BONOBO_UI_VERB_DATA ("HelpUsingMail", command_help, "usage-mail.html"),
BONOBO_UI_VERB_DATA ("HelpUsingCalender", command_help, "usage-calender.html"),
BONOBO_UI_VERB_DATA ("HelpUsingContact", command_help, "usage-contact.html"),
BONOBO_UI_VERB ("DumpXML", command_xml_dump),
BONOBO_UI_VERB_END
};

View File

@ -26,7 +26,7 @@
#ifndef E_SHELL_VIEW_MENU_H
#define E_SHELL_VIEW_MENU_H
#include <bonobo/bonobo-ui-handler.h>
#include <bonobo/bonobo-ui-compat.h>
#include "e-shell-view.h"

View File

@ -1145,7 +1145,7 @@ show_existing_view (EShellView *shell_view,
control is dead; if it's zombie, we have to recreate it. */
if (bonobo_widget_is_dead (BONOBO_WIDGET (control))) {
GtkWidget *parent;
Bonobo_UIHandler uih;
Bonobo_UIContainer uih;
parent = control->parent;
uih = bonobo_object_corba_objref (BONOBO_OBJECT (priv->uih));

View File

@ -426,7 +426,7 @@ evolution_shell_component_client_create_view (EvolutionShellComponentClient *she
if (result != EVOLUTION_SHELL_COMPONENT_OK) {
*control_return = NULL;
} else {
Bonobo_UIHandler corba_uih;
Bonobo_UIContainer corba_uih;
corba_uih = bonobo_object_corba_objref (BONOBO_OBJECT (uih));
*control_return = BONOBO_CONTROL (bonobo_widget_new_control_from_objref (corba_control,
@ -497,7 +497,7 @@ evolution_shell_component_client_populate_folder_context_menu (EvolutionShellCom
const char *physical_uri,
const char *type)
{
Bonobo_UIHandler corba_uih;
Bonobo_UIContainer corba_uih;
EvolutionShellComponentClientPrivate *priv;
Evolution_ShellComponent corba_shell_component;
CORBA_Environment ev;

View File

@ -25,7 +25,7 @@
#define EVOLUTION_SHELL_COMPONENT_CLIENT_H
#include <bonobo/bonobo-object-client.h>
#include <bonobo/bonobo-ui-handler.h>
#include <bonobo/bonobo-ui-compat.h>
#include "evolution-shell-component.h"

View File

@ -267,7 +267,7 @@ impl_ShellComponent_async_remove_folder (PortableServer_Servant servant,
static void
impl_ShellComponent_populate_folder_context_menu (PortableServer_Servant servant,
const Bonobo_UIHandler corba_uih,
const Bonobo_UIContainer corba_uih,
const CORBA_char *physical_uri,
const CORBA_char *type,
CORBA_Environment *ev)