From cfe930c979ea7fdc272324fdd035e0cdd74751e0 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 17 Mar 2011 00:44:19 +0000 Subject: [PATCH] [ui] use controller method to quit --- SparkleShare/Mac/SparkleUI.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SparkleShare/Mac/SparkleUI.cs b/SparkleShare/Mac/SparkleUI.cs index 35f284cb..ed374b65 100644 --- a/SparkleShare/Mac/SparkleUI.cs +++ b/SparkleShare/Mac/SparkleUI.cs @@ -45,6 +45,13 @@ namespace SparkleShare { } + public override void WillTerminate (NSNotification notification) + { + + SparkleShare.Controller.Quit (); + + } + }