Fix Web Provisioning ret code
authorAlberto Ruiz <aruiz@gnome.org>
Mon, 11 Jul 2011 13:39:53 +0000 (14:39 +0100)
committerAlberto Ruiz <aruiz@gnome.org>
Mon, 11 Jul 2011 13:39:53 +0000 (14:39 +0100)
src/moonshot-server.vala

index e9a39f4..6cb5390 100644 (file)
@@ -128,7 +128,7 @@ public class MoonshotServer : Object {
       var ret = dialog.run ();
       dialog.hide ();
 
-      if (ret == Gtk.ResponseType.ACCEPT)      
+      if (ret == Gtk.ResponseType.YES)
       {
         main_window.insert_id_card (idcard);
         return true;