aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-31 07:59:22 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-31 07:59:22 +0800
commitfad1048c1bc7c92496df1d580064cd3a5e716840 (patch)
treedea19331bd28b02528274583f6fd7e82d191b734 /shell/e-shell-view.h
parent2e24bc8d331395afa0b74fb39ef4cd49ad7be78d (diff)
downloadgsoc2013-evolution-fad1048c1bc7c92496df1d580064cd3a5e716840.tar
gsoc2013-evolution-fad1048c1bc7c92496df1d580064cd3a5e716840.tar.gz
gsoc2013-evolution-fad1048c1bc7c92496df1d580064cd3a5e716840.tar.bz2
gsoc2013-evolution-fad1048c1bc7c92496df1d580064cd3a5e716840.tar.lz
gsoc2013-evolution-fad1048c1bc7c92496df1d580064cd3a5e716840.tar.xz
gsoc2013-evolution-fad1048c1bc7c92496df1d580064cd3a5e716840.tar.zst
gsoc2013-evolution-fad1048c1bc7c92496df1d580064cd3a5e716840.zip
Make quit work again by implementing a CORBA method to unregister
components in ShellComponent. Implemented toggle menu items to hide/show the shortcut bar and the folder bar (but they don't work, apparently because of some BonoboUIHandler bogosity). Implemented a CORBA method in Shell to allow a client to get the component that handles a certain folder type. svn path=/trunk/; revision=3303
Diffstat (limited to 'shell/e-shell-view.h')
-rw-r--r--shell/e-shell-view.h41
1 files changed, 23 insertions, 18 deletions
diff --git a/shell/e-shell-view.h b/shell/e-shell-view.h
index d0ac824a96..fa38ff695c 100644
--- a/shell/e-shell-view.h
+++ b/shell/e-shell-view.h
@@ -28,7 +28,8 @@
#include <config.h>
#endif
-#include <gnome.h>
+#include <libgnomeui/gnome-app.h>
+#include <bonobo/bonobo-ui-handler.h>
#include "e-shell.h"
@@ -48,13 +49,12 @@ typedef struct _EShellView EShellView;
typedef struct _EShellViewPrivate EShellViewPrivate;
typedef struct _EShellViewClass EShellViewClass;
-enum _EShellViewShowFoldersMode {
- E_SHELL_VIEW_SHOW_FOLDERS_HIDDEN,
- E_SHELL_VIEW_SHOW_FOLDERS_TRANSIENT,
- E_SHELL_VIEW_SHOW_FOLDERS_STICKY
+enum _EShellViewSubwindowMode {
+ E_SHELL_VIEW_SUBWINDOW_HIDDEN,
+ E_SHELL_VIEW_SUBWINDOW_TRANSIENT,
+ E_SHELL_VIEW_SUBWINDOW_STICKY
};
-typedef enum _EShellViewShowFoldersMode EShellViewShowFoldersMode;
-
+typedef enum _EShellViewSubwindowMode EShellViewSubwindowMode;
struct _EShellView {
GnomeApp parent;
@@ -64,23 +64,28 @@ struct _EShellView {
struct _EShellViewClass {
GnomeAppClass parent_class;
+
+ /* Signals. */
+ void (* shortcut_bar_mode_changed) (EShellView *shell_view, EShellViewSubwindowMode new_mode);
+ void (* folder_bar_mode_changed) (EShellView *shell_view, EShellViewSubwindowMode mode);
};
-GtkType e_shell_view_get_type (void);
-void e_shell_view_construct (EShellView *shell_view,
- EShell *shell);
-GtkWidget *e_shell_view_new (EShell *shell);
+GtkType e_shell_view_get_type (void);
+void e_shell_view_construct (EShellView *shell_view,
+ EShell *shell);
+GtkWidget *e_shell_view_new (EShell *shell);
-gboolean e_shell_view_display_uri (EShellView *shell_view,
- const char *uri);
+gboolean e_shell_view_display_uri (EShellView *shell_view,
+ const char *uri);
-void e_shell_view_show_shortcuts (EShellView *shell_view,
- gboolean show);
-void e_shell_view_show_folders (EShellView *shell_view,
- gboolean show);
+void e_shell_view_set_shortcut_bar_mode (EShellView *shell_view,
+ EShellViewSubwindowMode mode);
+void e_shell_view_set_folder_bar_mode (EShellView *shell_view,
+ EShellViewSubwindowMode mode);
-EShell *e_shell_view_get_shell (EShellView *shell_view);
+EShell *e_shell_view_get_shell (EShellView *shell_view);
+BonoboUIHandler *e_shell_view_get_bonobo_ui_handler (EShellView *shell_view);
#ifdef __cplusplus
}