[Xfce4-commits] <postler:master> Close the composer after sending successfully

Christian Dywan noreply at xfce.org
Mon Jun 21 20:12:09 CEST 2010


Updating branch refs/heads/master
         to 211893923ce725d001f9a44adedca50b13658d64 (commit)
       from e84d4398f421d35fdb469f9ed0bef789ed8ab083 (commit)

commit 211893923ce725d001f9a44adedca50b13658d64
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Jun 20 20:01:08 2010 +0200

    Close the composer after sending successfully

 postler/postler-composer.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/postler/postler-composer.vala b/postler/postler-composer.vala
index b9820c0..5529635 100644
--- a/postler/postler-composer.vala
+++ b/postler/postler-composer.vala
@@ -99,6 +99,7 @@ public class Postler.Composer : Gtk.Window {
                     FileUtils.set_contents (filename, header + body, -1);
                     FileUtils.chmod (filename, 0700);
                     accounts.send (info, filename);
+                    destroy ();
                 } catch (GLib.Error error) {
                     GLib.critical (_("Failed to send message: %s"), error.message);
                 }



More information about the Xfce4-commits mailing list