diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/compose.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2012-05-02 + * src/compose.c: compose_attach_append(): fixed Bug #54: Focus problem + when reediting/forwarding emails after attachment deleted + +2012-05-02 + * src/compose.c: when queueing messages or saving to draft folder, disable them while mail checking only if queue or draft folder is on IMAP server. diff --git a/src/compose.c b/src/compose.c index 71c9b7e0..3ea5e586 100644 --- a/src/compose.c +++ b/src/compose.c @@ -2285,10 +2285,12 @@ static void compose_attach_append(Compose *compose, const gchar *file, return; } if (size == 0) { + manage_window_focus_in(compose->window, NULL, NULL); alertpanel_notice(_("File %s is empty."), file); return; } if ((fp = g_fopen(file, "rb")) == NULL) { + manage_window_focus_in(compose->window, NULL, NULL); alertpanel_error(_("Can't read %s."), file); return; } |