Ejemplo n.º 1
0
 def setup_method(self, method):
     self.application = self.new_application()
     page = self.application.get_current_page()
     page.view.select_rows((2,))
     self.dialog = gaupol.InsertDialog(
         self.application.window, self.application)
     self.dialog.show()
Ejemplo n.º 2
0
 def _on_insert_subtitles_activate(self, *args):
     """Insert subtitles."""
     dialog = gaupol.InsertDialog(self.window, self)
     gaupol.util.flash_dialog(dialog)