diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-07-06 03:34:00 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-07-06 03:34:00 +0800 |
commit | 903545fb9be7003a81ac207f17221a38b16439d2 (patch) | |
tree | ee47ce2591e95c8d3e7991c000170f4795e39dae /composer/evolution-composer.c | |
parent | 917940d6e851589bfa19953555c9551bd1e81b7f (diff) | |
download | gsoc2013-evolution-903545fb9be7003a81ac207f17221a38b16439d2.tar.gz gsoc2013-evolution-903545fb9be7003a81ac207f17221a38b16439d2.tar.zst gsoc2013-evolution-903545fb9be7003a81ac207f17221a38b16439d2.zip |
Don't connect to the postpone signal, but do connect to the save-draft
2002-07-05 Jeffrey Stedfast <fejj@ximian.com>
* evolution-composer.c (init): Don't connect to the postpone
signal, but do connect to the save-draft signal.
(evolution_composer_factory_init): No longer takes a postpone_cb
argument, but does now take a save_draft_cb argument.
* e-msg-composer.c (menu_file_send_later_cb): Removed.
(class_init): Removed the POSTPONE signal.
(setup_ui): Don't need to swap the Send/SendLater tooltips and
accels anymore, since SendLater no longer exists.
svn path=/trunk/; revision=17377
Diffstat (limited to 'composer/evolution-composer.c')
-rw-r--r-- | composer/evolution-composer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/composer/evolution-composer.c b/composer/evolution-composer.c index b6aec0af29..df301a5517 100644 --- a/composer/evolution-composer.c +++ b/composer/evolution-composer.c @@ -39,7 +39,7 @@ static BonoboObjectClass *parent_class = NULL; static void (*send_cb) (EMsgComposer *, gpointer); -static void (*postpone_cb) (EMsgComposer *, gpointer); +static void (*save_draft_cb) (EMsgComposer *, int, gpointer); /* CORBA interface implementation. */ @@ -280,8 +280,8 @@ init (EvolutionComposer *composer) gtk_signal_connect (GTK_OBJECT (composer->composer), "send", GTK_SIGNAL_FUNC (send_cb), NULL); - gtk_signal_connect (GTK_OBJECT (composer->composer), "postpone", - GTK_SIGNAL_FUNC (postpone_cb), NULL); + gtk_signal_connect (GTK_OBJECT (composer->composer), "save-draft", + GTK_SIGNAL_FUNC (save_draft_cb), NULL); } #if 0 @@ -383,7 +383,7 @@ factory_fn (BonoboGenericFactory *factory, void *closure) void evolution_composer_factory_init (void (*send) (EMsgComposer *, gpointer), - void (*postpone) (EMsgComposer *, gpointer)) + void (*save_draft) (EMsgComposer *, int, gpointer)) { if (bonobo_generic_factory_new (GNOME_EVOLUTION_MAIL_COMPOSER_FACTORY_ID, factory_fn, NULL) == NULL) { @@ -393,5 +393,5 @@ evolution_composer_factory_init (void (*send) (EMsgComposer *, gpointer), } send_cb = send; - postpone_cb = postpone; + save_draft_cb = save_draft; } |