[geary] Exit application when welcome dialog is closed: Bug #713961



commit 0e5c3343089306db94babd7d607b37a37bd3f12b
Author: Jim Nelson <jim yorba org>
Date:   Thu Aug 28 14:31:15 2014 -0700

    Exit application when welcome dialog is closed: Bug #713961

 src/client/accounts/login-dialog.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/client/accounts/login-dialog.vala b/src/client/accounts/login-dialog.vala
index 62e6bc3..c615600 100644
--- a/src/client/accounts/login-dialog.vala
+++ b/src/client/accounts/login-dialog.vala
@@ -32,6 +32,11 @@ public class LoginDialog : Gtk.Dialog {
         set_default_response(Gtk.ResponseType.OK);
         get_action_area().show_all();
         
+        destroy.connect(() => {
+            debug("User closed login dialog, exiting...");
+            GearyApplication.instance.exit(1);
+        });
+        
         on_info_changed();
     }
     


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