diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-23 07:59:54 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-23 07:59:54 +0800 |
commit | 5125a8f870ed07b8bf477bda27a9a9fc814ebfad (patch) | |
tree | aa0b180ee678e362cd9a3b9b8fd321366ad10645 /shell/e-shell.h | |
parent | 93c01a6835f973afefba9de36823951717a868ed (diff) | |
download | gsoc2013-evolution-5125a8f870ed07b8bf477bda27a9a9fc814ebfad.tar.gz gsoc2013-evolution-5125a8f870ed07b8bf477bda27a9a9fc814ebfad.tar.zst gsoc2013-evolution-5125a8f870ed07b8bf477bda27a9a9fc814ebfad.zip |
No need to gtk_widget_show() the view anymore.
* e-shell-view-menu.c (command_open_folder_in_new_window): No need
to gtk_widget_show() the view anymore.
* e-shell-view.c (activate_shortcut_cb): No need to
gtk_widget_show() the view anymore.
* e-shell.c (impl_Shell_createNewView): Don't explicitly show the
new view.
(e_shell_create_view): gtk_widget_show() the new view and flush
the GTK+ event loop before sending the ::interactive notification.
(create_view): New helper function.
(e_shell_create_view): Use it.
(e_shell_create_view_from_settings): New.
(e_shell_restore_from_settings): Use
`e_shell_create_view_from_settings()'.
svn path=/trunk/; revision=13918
Diffstat (limited to 'shell/e-shell.h')
-rw-r--r-- | shell/e-shell.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/shell/e-shell.h b/shell/e-shell.h index 8f413902bf..e3e9c929ba 100644 --- a/shell/e-shell.h +++ b/shell/e-shell.h @@ -100,9 +100,14 @@ EShell *e_shell_new (const char *local_director gboolean show_splash, EShellConstructResult *construct_result_return); -EShellView *e_shell_create_view (EShell *shell, - const char *uri, - EShellView *template_view); +EShellView *e_shell_create_view (EShell *shell, + const char *uri, + EShellView *template_view); +EShellView *e_shell_create_view_from_settings (EShell *shell, + const char *uri, + EShellView *template_view, + int view_num, + gboolean *settings_found); const char *e_shell_get_local_directory (EShell *shell); EShortcuts *e_shell_get_shortcuts (EShell *shell); |