diff src/browser/libervia_main.py @ 913:58f611481e6d

server, browser: removed deprecated methods which have been removed from backend, and associated code
author Goffi <goffi@goffi.org>
date Sun, 28 Aug 2016 19:25:52 +0200
parents e8b133b77aa4
children 0c0551967bdf
line wrap: on
line diff
--- a/src/browser/libervia_main.py	Wed Aug 10 23:22:49 2016 +0200
+++ b/src/browser/libervia_main.py	Sun Aug 28 19:25:52 2016 +0200
@@ -599,18 +599,6 @@
         self.setSelected(wid)
         return wid
 
-    def askConfirmationHandler(self, confirmation_id, confirmation_type, data):
-        answer_data = {}
-
-        def confirm_cb(result):
-            self.bridge.call('confirmationAnswer', None, confirmation_id, result, answer_data)
-
-        if confirmation_type == "YES/NO":
-            dialog.ConfirmDialog(confirm_cb, text=data["message"], title=data["title"]).show()
-
-    def _newAlert(self, message, title, alert_type):
-        dialog.InfoDialog(title, message).show()
-
     def isHidden(self):
         """Tells if the frontend window is hidden.