2005-06-03 [paul] 1.9.11cvs39
authorPaul Mangan <paul@claws-mail.org>
Fri, 3 Jun 2005 22:27:40 +0000 (22:27 +0000)
committerPaul Mangan <paul@claws-mail.org>
Fri, 3 Jun 2005 22:27:40 +0000 (22:27 +0000)
* src/compose.c
don't allow editing of mail while sending.
patch by Colin

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/compose.c

index 53eb7102c9a01b3673ec1042cfcfbe544863db8d..2294ae39d8b56b0ced8f80d10f894153f13fb94a 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-03 [paul]      1.9.11cvs39
+
+       * src/compose.c
+               don't allow editing of mail while sending.
+               patch by Colin
+
 2005-06-03 [paul]      1.9.11cvs38
 
        * src/folderview.c
index f1f82cb3f3ee415fe4efc77ac9dd1b8f3359e108..a910ab63461031e31a8862dc964efab8cf6356c9 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.53.2.10 -r 1.53.2.11 po/POTFILES.in;  ) > 1.9.11cvs36.patchset
 ( cvs diff -u -r 1.1.2.2 -r 1.1.2.3 src/prefs_message.c;  ) > 1.9.11cvs37.patchset
 ( cvs diff -u -r 1.207.2.39 -r 1.207.2.40 src/folderview.c;  ) > 1.9.11cvs38.patchset
+( cvs diff -u -r 1.382.2.126 -r 1.382.2.127 src/compose.c;  ) > 1.9.11cvs39.patchset
index 32798d6dfea07e264b0a6d4c04120982bf5e3f37..5b5882d3b6af54fdab377fdaf7bc48cb3ee49a21 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=38
+EXTRA_VERSION=39
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 1ab79d8eac3527e3708df317c57119b2af952c89..ad8d3c6af18f8f3f1fb9fd48397c3fad8080fbe6 100644 (file)
@@ -3157,7 +3157,7 @@ gint compose_send(Compose *compose)
        val = compose_queue(compose, &msgnum, &folder);
 
        if (val) {
-               alertpanel_error(_("Could not queue message for sending"));
+               alertpanel_error(_("Could not queue message for sending."));
                goto bail;
        }
 
@@ -3167,6 +3167,7 @@ gint compose_send(Compose *compose)
                compose_close(compose);
                /* No more compose access in the normal codepath 
                 * after this point! */
+               compose = NULL;
        }
 
        if (msgnum == 0) {
@@ -6197,6 +6198,9 @@ static void compose_allow_user_actions (Compose *compose, gboolean allow)
        menu_set_sensitive(ifactory, "/Options", allow);
        menu_set_sensitive(ifactory, "/Tools", allow);
        menu_set_sensitive(ifactory, "/Help", allow);
+       
+       gtk_text_view_set_editable(GTK_TEXT_VIEW(compose->text), allow);
+
 }
 
 static void compose_send_cb(gpointer data, guint action, GtkWidget *widget)