aboutsummaryrefslogtreecommitdiffstats
path: root/shell/es-event.h
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-03 12:45:33 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-03 12:45:33 +0800
commit25597a3be248ce035c6efaedfa02fc911e9962b6 (patch)
treeb403b30c9ac17d8eb0d888f361a8bf69888a4135 /shell/es-event.h
parentfd4ae8279b8efacc3ad9d92ad556e57e5d56c5d5 (diff)
downloadgsoc2013-evolution-25597a3be248ce035c6efaedfa02fc911e9962b6.tar
gsoc2013-evolution-25597a3be248ce035c6efaedfa02fc911e9962b6.tar.gz
gsoc2013-evolution-25597a3be248ce035c6efaedfa02fc911e9962b6.tar.bz2
gsoc2013-evolution-25597a3be248ce035c6efaedfa02fc911e9962b6.tar.lz
gsoc2013-evolution-25597a3be248ce035c6efaedfa02fc911e9962b6.tar.xz
gsoc2013-evolution-25597a3be248ce035c6efaedfa02fc911e9962b6.tar.zst
gsoc2013-evolution-25597a3be248ce035c6efaedfa02fc911e9962b6.zip
** Added a hook event after the shell is started.
svn path=/trunk/; revision=33742
Diffstat (limited to 'shell/es-event.h')
-rw-r--r--shell/es-event.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/shell/es-event.h b/shell/es-event.h
index e857b97c1a..ef3cb2c618 100644
--- a/shell/es-event.h
+++ b/shell/es-event.h
@@ -26,6 +26,7 @@
#include <glib-object.h>
#include "e-util/e-event.h"
+#include "e-shell.h"
#ifdef __cplusplus
extern "C" {
@@ -38,7 +39,8 @@ typedef struct _ESEventClass ESEventClass;
/* Current target description */
enum _es_event_target_t {
ES_EVENT_TARGET_STATE,
- ES_EVENT_TARGET_UPGRADE
+ ES_EVENT_TARGET_UPGRADE,
+ ES_EVENT_TARGET_SHELL
};
/* Flags that qualify TARGET_STATE */
@@ -49,6 +51,13 @@ enum {
typedef struct _ESEventTargetState ESEventTargetState;
typedef struct _ESEventTargetUpgrade ESEventTargetUpgrade;
+typedef struct _ESEventTargetShell ESEventTargetShell;
+
+struct _ESEventTargetShell {
+ EEventTarget target;
+
+ EShell *shell;
+};
struct _ESEventTargetState {
EEventTarget target;