diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-31 21:41:36 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-04-01 00:10:54 +0800 |
commit | 440ea8e3a0b6689d49efae2e9be3471327cb782d (patch) | |
tree | f039f09054b4adf79cbcf02b04d5891b4591f9a4 | |
parent | 15fbc1654e16f3d2a4c6b55b01dc2a76596b07ba (diff) | |
download | gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar.gz gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar.bz2 gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar.lz gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar.xz gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.tar.zst gsoc2013-evolution-440ea8e3a0b6689d49efae2e9be3471327cb782d.zip |
Remove e_shell_configure_ui_manager().
No longer needed.
-rw-r--r-- | doc/reference/libeshell/libeshell-sections.txt | 1 | ||||
-rw-r--r-- | mail/e-mail-browser.c | 1 | ||||
-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 |
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 */ |