aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-09-24 05:30:57 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-09-24 05:30:57 +0800
commit92ec933b198f15789e028cd3c3dc144ba00bb862 (patch)
tree5de5c8405635b2f7f38fbaf358cd130e14ba10f2 /shell/e-shell.h
parent944861b19874e2066c412d1dabf09ce00cc35586 (diff)
downloadgsoc2013-evolution-92ec933b198f15789e028cd3c3dc144ba00bb862.tar
gsoc2013-evolution-92ec933b198f15789e028cd3c3dc144ba00bb862.tar.gz
gsoc2013-evolution-92ec933b198f15789e028cd3c3dc144ba00bb862.tar.bz2
gsoc2013-evolution-92ec933b198f15789e028cd3c3dc144ba00bb862.tar.lz
gsoc2013-evolution-92ec933b198f15789e028cd3c3dc144ba00bb862.tar.xz
gsoc2013-evolution-92ec933b198f15789e028cd3c3dc144ba00bb862.tar.zst
gsoc2013-evolution-92ec933b198f15789e028cd3c3dc144ba00bb862.zip
Use e_shell_request_close_view().
* e-shell-view-menu.c (command_close): Use e_shell_request_close_view(). * e-shell.c (e_shell_request_close_view): New, code moved out of view_delete_event_cb(). (view_delete_event_cb): Use it. svn path=/trunk/; revision=18183
Diffstat (limited to 'shell/e-shell.h')
-rw-r--r--shell/e-shell.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/shell/e-shell.h b/shell/e-shell.h
index 8713a0b06e..5e1cb6590e 100644
--- a/shell/e-shell.h
+++ b/shell/e-shell.h
@@ -111,12 +111,15 @@ EShell *e_shell_new (const char *local_director
EShellStartupLineMode startup_line_mode,
EShellConstructResult *construct_result_return);
-EShellView *e_shell_create_view (EShell *shell,
- const char *uri,
- EShellView *template_view);
-EShellView *e_shell_create_view_from_uri_and_settings (EShell *shell,
- const char *uri,
- int view_num);
+EShellView *e_shell_create_view (EShell *shell,
+ const char *uri,
+ EShellView *template_view);
+EShellView *e_shell_create_view_from_uri_and_settings (EShell *shell,
+ const char *uri,
+ int view_num);
+gboolean e_shell_request_close_view (EShell *shell,
+ EShellView *view);
+
const char *e_shell_get_local_directory (EShell *shell);
EShortcuts *e_shell_get_shortcuts (EShell *shell);
@@ -145,6 +148,9 @@ void e_shell_go_offline (EShell *shell,
void e_shell_go_online (EShell *shell,
EShellView *action_view);
+void e_shell_set_interactive (EShell *shell,
+ gboolean interactive);
+
void e_shell_send_receive (EShell *shell);
void e_shell_show_settings (EShell *shell,
const char *type,