diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-11-20 06:03:51 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-11-20 06:03:51 +0800 |
commit | b9a14234743f054653ffffa5fe1f3c5847d70751 (patch) | |
tree | 8d46a8e2d36d46fa3df746149c26068ed99a08f8 | |
parent | 9b0ffde9c0478e5f175ca085318db8ea68d32fe7 (diff) | |
download | gsoc2013-evolution-b9a14234743f054653ffffa5fe1f3c5847d70751.tar gsoc2013-evolution-b9a14234743f054653ffffa5fe1f3c5847d70751.tar.gz gsoc2013-evolution-b9a14234743f054653ffffa5fe1f3c5847d70751.tar.bz2 gsoc2013-evolution-b9a14234743f054653ffffa5fe1f3c5847d70751.tar.lz gsoc2013-evolution-b9a14234743f054653ffffa5fe1f3c5847d70751.tar.xz gsoc2013-evolution-b9a14234743f054653ffffa5fe1f3c5847d70751.tar.zst gsoc2013-evolution-b9a14234743f054653ffffa5fe1f3c5847d70751.zip |
If we come back online, switch the Send accelerator back to the Send
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.
svn path=/trunk/; revision=14752
-rw-r--r-- | composer/ChangeLog | 6 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 8 |
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 */ |