[Xfce4-commits] <xfce4-notes-plugin:master> Don't forget to properly save notes with the last commit

Mike Massonnet noreply at xfce.org
Sun Mar 21 18:42:01 CET 2010


Updating branch refs/heads/master
         to c97afbebd8fd6eadfd583aedbc1311a768ee75e5 (commit)
       from 1edd74b9084e2ef4c1b93744155f82ff2180eada (commit)

commit c97afbebd8fd6eadfd583aedbc1311a768ee75e5
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Sun Mar 21 18:39:22 2010 +0100

    Don't forget to properly save notes with the last commit

 ChangeLog            |    4 ++++
 lib/application.vala |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5085d57..99602fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-03-21  Mike Massonnet <mmassonnet at xfce.org>
 
+Don't forget to properly save notes with the last commit
+
+2010-03-21  Mike Massonnet <mmassonnet at xfce.org>
+
 Listen to UNIX signals TERM and INT and properly quit
 
 2010-03-16  Mike Massonnet <mmassonnet at xfce.org>
diff --git a/lib/application.vala b/lib/application.vala
index 8a183c7..f524c2f 100644
--- a/lib/application.vala
+++ b/lib/application.vala
@@ -93,6 +93,8 @@ namespace Xnp {
 		}
 
 		private void quit () {
+			// Save notes before leaving the main loop since it works with GObject signals
+			save_notes ();
 			Gtk.main_quit ();
 		}
 



More information about the Xfce4-commits mailing list