chiark / gitweb /
DisOrder 4.1
[disorder] / disobedience / login.c
index 18afce461642b353c49cc6fc6a9bfe06ddd0ca44..b1047d689fd2ea15b5b50a91f8b277349bb6610b 100644 (file)
  * window remains.
  *
  * It you hit Cancel then the window disappears without saving anything.
+ *
+ * TODO
+ * - escape and return should work
+ * - cancel/close should be consistent with properties
  */
 
 #include "disobedience.h"
@@ -153,7 +157,7 @@ static void login_ok(GtkButton attribute((unused)) *button,
   if(!disorder_connect(c)) {
     /* Success; save the config and start using it */
     login_save_config();
-    reset();
+    logged_in();
     /* Pop down login window */
     gtk_widget_destroy(login_window);
   } else {