diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-06-23 14:46:13 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-06-23 14:46:13 +0800 |
commit | b106b13525048195d99bcbde31e0e535972cbab4 (patch) | |
tree | 87b999777762c5bcea16a9430fbb94cc560de8c0 /shell/e-shell-view.h | |
parent | 72ca61d74b9942040638b628a6f1358e02d23d42 (diff) | |
download | gsoc2013-evolution-b106b13525048195d99bcbde31e0e535972cbab4.tar.gz gsoc2013-evolution-b106b13525048195d99bcbde31e0e535972cbab4.tar.zst gsoc2013-evolution-b106b13525048195d99bcbde31e0e535972cbab4.zip |
Implemented an Evolution::Activity interface for keeping track of
background tasks. The Activity interface is added to the shell, and
the status of the various tasks is now displayed in a task bar widget
at the bottom of the EShellView.
I also implemented a simple test component to test all this stuff.
svn path=/trunk/; revision=10434
Diffstat (limited to 'shell/e-shell-view.h')
-rw-r--r-- | shell/e-shell-view.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/shell/e-shell-view.h b/shell/e-shell-view.h index c7ee7fa4af..d22e875b0d 100644 --- a/shell/e-shell-view.h +++ b/shell/e-shell-view.h @@ -24,9 +24,9 @@ #ifndef _E_SHELL_VIEW_H_ #define _E_SHELL_VIEW_H_ -#include <bonobo/bonobo-win.h> +#include "e-task-bar.h" -#include "e-shell.h" +#include <bonobo/bonobo-win.h> #ifdef __cplusplus extern "C" { @@ -44,6 +44,8 @@ typedef struct _EShellView EShellView; typedef struct _EShellViewPrivate EShellViewPrivate; typedef struct _EShellViewClass EShellViewClass; +#include "e-shell.h" + enum _EShellViewSubwindowMode { E_SHELL_VIEW_SUBWINDOW_HIDDEN, E_SHELL_VIEW_SUBWINDOW_TRANSIENT, @@ -66,6 +68,12 @@ struct _EShellViewClass { }; +/* WARNING: Don't use `e_shell_view_new()' to create new views for the shell + unless you know what you are doing; this is just the standard GTK+ + constructor thing and it won't allow the shell to do the required + bookkeeping for the created views. Instead, the right way to create a new + view is calling `e_shell_new_view()'. */ + GtkType e_shell_view_get_type (void); EShellView *e_shell_view_construct (EShellView *shell_view, EShell *shell); @@ -84,7 +92,7 @@ void e_shell_view_set_folder_bar_mode (EShellView EShellViewSubwindowMode mode); EShellViewSubwindowMode e_shell_view_get_folder_bar_mode (EShellView *shell_view); - +ETaskBar *e_shell_view_get_task_bar (EShellView *shell_view); EShell *e_shell_view_get_shell (EShellView *shell_view); BonoboUIComponent *e_shell_view_get_bonobo_ui_component (EShellView *shell_view); BonoboUIContainer *e_shell_view_get_bonobo_ui_container (EShellView *shell_view); |