From b9a14234743f054653ffffa5fe1f3c5847d70751 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 19 Nov 2001 22:03:51 +0000 Subject: If we come back online, switch the Send accelerator back to the Send 2001-11-19 Jeffrey Stedfast * e-msg-composer.c (setup_ui): If we come back online, switch the Send accelerator back to the Send button from the Send Later button. svn path=/trunk/; revision=14752 --- composer/e-msg-composer.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'composer/e-msg-composer.c') diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index b545877d42..220adddb7f 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1778,6 +1778,14 @@ setup_ui (EMsgComposer *composer) bonobo_ui_component_set_prop ( composer->uic, "/commands/FileSendLater", "accel", "*Ctrl*Return", NULL); + } else { + /* Switch the accelerator back to the Send item */ + bonobo_ui_component_set_prop ( + composer->uic, "/commands/FileSend", + "accel", "*Ctrl*Return", NULL); + bonobo_ui_component_set_prop ( + composer->uic, "/commands/FileSendLater", + "accel", NULL, NULL); } /* Format -> HTML */ -- cgit v1.2.3