xartigas pushed a commit to branch master. http://git.enlightenment.org/tools/examples.git/commit/?id=e6aa5e6aa0f8e1bc7f8b3e8ec4dbd30a02fd7277
commit e6aa5e6aa0f8e1bc7f8b3e8ec4dbd30a02fd7277 Author: Xavi Artigas <[email protected]> Date: Fri Nov 16 11:50:50 2018 +0100 csharp-texteditor: adapt to new efl.ui.Popup API --- apps/csharp/texteditor/src/texteditor_main.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/csharp/texteditor/src/texteditor_main.cs b/apps/csharp/texteditor/src/texteditor_main.cs index 63e8e193..2b929b47 100644 --- a/apps/csharp/texteditor/src/texteditor_main.cs +++ b/apps/csharp/texteditor/src/texteditor_main.cs @@ -58,14 +58,14 @@ public class TextEditor // Shows a modal message popup with an "OK" button private void ShowMessage(string message) { - new efl.ui.Popup_Alert_Text (win, (efl.ui.IPopup_Alert_Text epopup) => { + new efl.ui.Text_Alert_Popup (win, (efl.ui.IText_Alert_Popup epopup) => { epopup.SetText(message); epopup.SetExpandable(new eina.Size2D(200,200)); - epopup.SetButton(efl.ui.Popup_Alert_Button.Positive, "OK", null); + epopup.SetButton(efl.ui.Alert_Popup_Button.Positive, "OK", null); epopup.ButtonClickedEvt += - (object sender, efl.ui.Popup_Alert.ButtonClickedEvt_Args ea) => { + (object sender, efl.ui.Alert_Popup.ButtonClickedEvt_Args ea) => { // Dismiss popup when the button is clicked - ((efl.ui.IPopup_Alert_Text)sender).SetParent(null); + ((efl.ui.IText_Alert_Popup)sender).SetParent(null); }; }); } --
