aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-composer-header.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-13 12:32:51 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-13 12:32:51 +0800
commit7986af5369482c4feeaad6880045bf92a4d3f744 (patch)
tree6145dc9d0ca08c545f92f99e9fb973385b6506ec /composer/e-composer-header.c
parent10c3ddb38138f3408044fd46115d5804f057c13a (diff)
downloadgsoc2013-evolution-7986af5369482c4feeaad6880045bf92a4d3f744.tar.gz
gsoc2013-evolution-7986af5369482c4feeaad6880045bf92a4d3f744.tar.zst
gsoc2013-evolution-7986af5369482c4feeaad6880045bf92a4d3f744.zip
Let the mail module handle composer "Post To:" button clicks, since
EMFolderSelector and EMFolderTree are off-limits to the composer. This further weakens the composer's mail module dependency. Add class methods to EComposerHeader for "changed" and "clicked" signals. Allows subclasses to implement them without connecting to their own signals. svn path=/branches/kill-bonobo/; revision=37260
Diffstat (limited to 'composer/e-composer-header.c')
-rw-r--r--composer/e-composer-header.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/composer/e-composer-header.c b/composer/e-composer-header.c
index 8cbcf64f1f..8a6d553921 100644
--- a/composer/e-composer-header.c
+++ b/composer/e-composer-header.c
@@ -240,7 +240,8 @@ composer_header_class_init (EComposerHeaderClass *class)
"changed",
G_TYPE_FROM_CLASS (class),
G_SIGNAL_RUN_LAST,
- 0, NULL, NULL,
+ G_STRUCT_OFFSET (EComposerHeaderClass, changed),
+ NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
@@ -248,7 +249,8 @@ composer_header_class_init (EComposerHeaderClass *class)
"clicked",
G_TYPE_FROM_CLASS (class),
G_SIGNAL_RUN_LAST,
- 0, NULL, NULL,
+ G_STRUCT_OFFSET (EComposerHeaderClass, clicked),
+ NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
}