aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMichael Meeks <mmeeks@src.gnome.org>2000-09-21 22:13:27 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-09-21 22:13:27 +0800
commit8b2ca2678997eee8b2b50206f51c72fbe242f972 (patch)
tree34ae292b73a29d3c5ea0b32a8cf8595b2984a528 /shell
parentaeb04a3e77564db46b25a31351dad66384ffa238 (diff)
downloadgsoc2013-evolution-8b2ca2678997eee8b2b50206f51c72fbe242f972.tar.gz
gsoc2013-evolution-8b2ca2678997eee8b2b50206f51c72fbe242f972.tar.zst
gsoc2013-evolution-8b2ca2678997eee8b2b50206f51c72fbe242f972.zip
s/Bonobo_UIHandler/Bonobo_UIContainer/
s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/ svn path=/trunk/; revision=5539
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog13
-rw-r--r--shell/Evolution-ShellComponent.idl2
-rw-r--r--shell/e-shell-view-menu.c15
-rw-r--r--shell/e-shell-view-menu.h2
-rw-r--r--shell/e-shell-view.c2
-rw-r--r--shell/evolution-shell-component-client.c4
-rw-r--r--shell/evolution-shell-component-client.h2
-rw-r--r--shell/evolution-shell-component.c2
8 files changed, 35 insertions, 7 deletions
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 <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
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 <bonobo/bonobo-ui-handler.h>
+#include <bonobo/bonobo-ui-compat.h>
#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 <bonobo/bonobo-object-client.h>
-#include <bonobo/bonobo-ui-handler.h>
+#include <bonobo/bonobo-ui-compat.h>
#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)