In TrustAnchorConfirmationRequest, check for headless mode and return false if finger...
[moonshot-ui.git] / src / moonshot-identity-manager-app.vala
index 5d0fbd5..c4c8437 100644 (file)
@@ -55,6 +55,7 @@ public class IdentityManagerApp {
     private bool name_is_owned;
     private bool show_requested;
     public bool use_flat_file_store {public get; private set;}
+    public bool headless {public get; private set;}
 
 #if OS_MACOS
     public OSXApplication osxApp;
@@ -88,6 +89,8 @@ public class IdentityManagerApp {
 #endif
 
     public IdentityManagerApp(bool headless, bool use_flat_file_store) {
+        this.headless = headless;
+
         use_flat_file_store |= UserForcesFlatFileStore();
         this.use_flat_file_store = use_flat_file_store;