From 8b2ca2678997eee8b2b50206f51c72fbe242f972 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 21 Sep 2000 14:13:27 +0000 Subject: s/Bonobo_UIHandler/Bonobo_UIContainer/ s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/ svn path=/trunk/; revision=5539 --- shell/ChangeLog | 13 +++++++++++++ shell/Evolution-ShellComponent.idl | 2 +- shell/e-shell-view-menu.c | 15 +++++++++++++++ shell/e-shell-view-menu.h | 2 +- shell/e-shell-view.c | 2 +- shell/evolution-shell-component-client.c | 4 ++-- shell/evolution-shell-component-client.h | 2 +- shell/evolution-shell-component.c | 2 +- 8 files changed, 35 insertions(+), 7 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index e592ffac5f..6c4f9487b9 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,16 @@ +2000-09-21 Michael Meeks + + * 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 + + * e-shell-view-menu.c (command_xml_dump): add xml dump option. + 2000-09-18 Christopher James Lahey * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and diff --git a/shell/Evolution-ShellComponent.idl b/shell/Evolution-ShellComponent.idl index f907cca72b..106ec0d571 100644 --- a/shell/Evolution-ShellComponent.idl +++ b/shell/Evolution-ShellComponent.idl @@ -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); }; diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 0d7c992292..7cf14307c0 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -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 }; diff --git a/shell/e-shell-view-menu.h b/shell/e-shell-view-menu.h index fb86cb9e98..948a2aa6a3 100644 --- a/shell/e-shell-view-menu.h +++ b/shell/e-shell-view-menu.h @@ -26,7 +26,7 @@ #ifndef E_SHELL_VIEW_MENU_H #define E_SHELL_VIEW_MENU_H -#include +#include #include "e-shell-view.h" diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 1b8a84e603..a7a0a766e5 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -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)); diff --git a/shell/evolution-shell-component-client.c b/shell/evolution-shell-component-client.c index 318554a826..4a456040fa 100644 --- a/shell/evolution-shell-component-client.c +++ b/shell/evolution-shell-component-client.c @@ -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; diff --git a/shell/evolution-shell-component-client.h b/shell/evolution-shell-component-client.h index fa066cb27d..70423c9056 100644 --- a/shell/evolution-shell-component-client.h +++ b/shell/evolution-shell-component-client.h @@ -25,7 +25,7 @@ #define EVOLUTION_SHELL_COMPONENT_CLIENT_H #include -#include +#include #include "evolution-shell-component.h" diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index 6361272714..7dbb07e3fc 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -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) -- cgit v1.2.3