diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-utils.c | 22 | ||||
-rw-r--r-- | shell/e-shell-utils.h | 3 | ||||
-rw-r--r-- | shell/e-shell-window-private.c | 1 |
3 files changed, 0 insertions, 26 deletions
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 */ |