aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c8
2 files changed, 14 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 24be915c07..d0cb5220fb 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2001-11-19 Jeffrey Stedfast <fejj@ximian.com>
+
+ * 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.
+
2001-11-11 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (drag_data_received): Allow drag & drop for
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 */