aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/reference/libeshell/libeshell-sections.txt1
-rw-r--r--mail/e-mail-browser.c1
-rw-r--r--shell/e-shell-utils.c22
-rw-r--r--shell/e-shell-utils.h3
-rw-r--r--shell/e-shell-window-private.c1
5 files changed, 0 insertions, 28 deletions
diff --git a/doc/reference/libeshell/libeshell-sections.txt b/doc/reference/libeshell/libeshell-sections.txt
index f8b1f14200..ecf19d446a 100644
--- a/doc/reference/libeshell/libeshell-sections.txt
+++ b/doc/reference/libeshell/libeshell-sections.txt
@@ -220,7 +220,6 @@ EShellTaskbarPrivate
<SECTION>
<FILE>e-shell-utils</FILE>
<TITLE>Shell Utilities</TITLE>
-e_shell_configure_ui_manager
e_shell_run_open_dialog
e_shell_run_save_dialog
e_shell_utils_import_uris
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c
index 36489fbcdf..8556fb2d3e 100644
--- a/mail/e-mail-browser.c
+++ b/mail/e-mail-browser.c
@@ -554,7 +554,6 @@ mail_browser_constructed (GObject *object)
shell = e_shell_backend_get_shell (shell_backend);
ui_manager = e_ui_manager_new ();
- e_shell_configure_ui_manager (shell, E_UI_MANAGER (ui_manager));
browser->priv->ui_manager = ui_manager;
domain = GETTEXT_PACKAGE;
diff --git a/shell/e-shell-utils.c b/shell/e-shell-utils.c
index 1bdc82913d..f289b36e01 100644
--- a/shell/e-shell-utils.c
+++ b/shell/e-shell-utils.c
@@ -36,28 +36,6 @@
#include <libedataserver/libedataserver.h>
/**
- * e_shell_configure_ui_manager:
- * @shell: an #EShell
- * @ui_manager: an #EUIManager
- *
- * Adds shell integration to @ui_manager. In particular, it keeps
- * @ui_manager's EUIManager:express-mode property synchronized with
- * @shell's EShell:express-mode property.
- **/
-void
-e_shell_configure_ui_manager (EShell *shell,
- EUIManager *ui_manager)
-{
- g_return_if_fail (E_IS_SHELL (shell));
- g_return_if_fail (E_IS_UI_MANAGER (ui_manager));
-
- g_object_bind_property (
- shell, "express-mode",
- ui_manager, "express-mode",
- G_BINDING_SYNC_CREATE);
-}
-
-/**
* e_shell_run_open_dialog:
* @shell: an #EShell
* @title: file chooser dialog title
diff --git a/shell/e-shell-utils.h b/shell/e-shell-utils.h
index fb33c3c33b..be0f4b48c2 100644
--- a/shell/e-shell-utils.h
+++ b/shell/e-shell-utils.h
@@ -26,9 +26,6 @@
G_BEGIN_DECLS
-void e_shell_configure_ui_manager (EShell *shell,
- EUIManager *ui_manager);
-
GFile * e_shell_run_open_dialog (EShell *shell,
const gchar *title,
GtkCallback customize_func,
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 6bea8686b9..69e3ff24ad 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -272,7 +272,6 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
shell = e_shell_window_get_shell (shell_window);
ui_manager = e_shell_window_get_ui_manager (shell_window);
- e_shell_configure_ui_manager (shell, E_UI_MANAGER (ui_manager));
/* Defer actions and menu merging until we have set express mode */