Пример #1
0
 def showErrorMessage(self, fail, var2):
     dialog = ErrorDialog(_("You don't have enough privileges to view the "
                            "contents of that directory."),
                            self._parent, close_on_response=True)
     dialog.show()
Пример #2
0
 def showErrorMessage(self, fail, var2):
     dialog = ErrorDialog(_("You don't have enough privileges to view the "
                            "contents of that directory."),
                            self._parent, close_on_response=True)
     dialog.show()
Пример #3
0
 def _notDirectoryErrback(self, failure, path):
     failure.trap(NotDirectoryError)
     dialog = ErrorDialog(_("File is not a directory."),
                            self._parent, close_on_response=True)
     dialog.show()
Пример #4
0
 def _notDirectoryErrback(self, failure, path):
     failure.trap(NotDirectoryError)
     dialog = ErrorDialog(_("File is not a directory."),
                            self._parent, close_on_response=True)
     dialog.show()