Re: Postpone option behaviour



On 04/08/2008 07:52:10 PM, Jean-Luc Coulon (f5ibh) wrote:
Hi,

I compose a message and click "postpone", the tooltip says "save this
message and close"

1 - nothing is closed
2 - if I close the window, balsa is asking me if I want to save the
message in Drawbox.

So: it is not saved and not closed...

What is the expected behaviour of this button?

It should do what the tooltip says. The bug fix is attached - I will commit it as soon as I can.

Pawel
Index: src/sendmsg-window.c
===================================================================
--- src/sendmsg-window.c	(revision 7908)
+++ src/sendmsg-window.c	(working copy)
@@ -6002,7 +6002,7 @@
 static void
 postpone_message_cb(GtkAction * action, BalsaSendmsg * bsmsg)
 {
-    if (!gtk_action_group_get_sensitive(bsmsg->ready_action_group)) {
+    if (gtk_action_group_get_sensitive(bsmsg->ready_action_group)) {
         if(message_postpone(bsmsg)) {
             balsa_information_parented(GTK_WINDOW(bsmsg->window),
                                        LIBBALSA_INFORMATION_MESSAGE,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]