Exemplo n.º 1
0
    def _register_item_clicked(self, widget):
        registration_dialog = registergui.RegisterDialog(self.backend, self.facts)
        registration_dialog.register_dialog.connect('destroy',
                                                    self._on_dialog_destroy,
                                                    widget)

        if registration_dialog and widget:
            widget.set_sensitive(False)

        registration_dialog.initialize()
        registration_dialog.show()
Exemplo n.º 2
0
    def _register_item_clicked(self, widget):
        registration_dialog = registergui.RegisterDialog(self.backend)
        registration_dialog.register_dialog.connect('destroy',
                                                    self._on_dialog_destroy,
                                                    widget)
        registration_dialog.window.set_transient_for(self._get_window())

        if registration_dialog and widget:
            widget.set_sensitive(False)

        registration_dialog.initialize()
        registration_dialog.show()
Exemplo n.º 3
0
 def test_register_screen_register(self):
     rd = registergui.RegisterDialog(stubs.StubBackend())
     #rs.initialize()
     rd.show()
     rd.register_dialog.hide()
Exemplo n.º 4
0
 def test_register_screen(self):
     registergui.RegisterDialog(stubs.StubBackend())