[NUI][AT-SPI] Update comments referring to AddPopup()
authorArtur Świgoń <a.swigon@samsung.com>
Fri, 17 Dec 2021 13:18:11 +0000 (14:18 +0100)
committerSeoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
Wed, 12 Jan 2022 08:40:18 +0000 (17:40 +0900)
AddPopup() has recently been renamed to RegisterDefaultLabel().

src/Tizen.NUI.Components/Controls/AlertDialog.cs
src/Tizen.NUI.Components/Controls/Dialog.cs

index 216acbe..a0b1c9b 100755 (executable)
@@ -465,7 +465,7 @@ namespace Tizen.NUI.Components
             base.OnInitialize();
             SetAccessibilityConstructor(Role.Dialog);
             AppendAccessibilityAttribute("sub-role", "Alert");
-            Show(); // calls AddPopup()
+            Show(); // calls RegisterDefaultLabel(); Hide() will call UnregisterDefaultLabel()
         }
 
         /// <summary>
index 28f7b79..419a0e6 100755 (executable)
@@ -135,7 +135,7 @@ namespace Tizen.NUI.Components
             base.OnInitialize();
             SetAccessibilityConstructor(Role.Dialog);
             AppendAccessibilityAttribute("sub-role", "Alert");
-            Show(); // calls AddPopup()
+            Show(); // calls RegisterDefaultLabel(); Hide() will call UnregisterDefaultLabel()
         }
 
         /// <summary>