def __init__(self, builder):
     self._win = builder.get_object('dialog_new_replication', target=self, include_children=True)
     self._target_model = Gtk.ListStore(str)
     self._target_model.connect('row-inserted', self.on_target_model_row_added)
     self._target_model.connect('row-deleted', self.on_target_model_row_deleted)
     self.treeview_new_replication_dialog_targets.set_model(self._target_model)
     self.entry_new_replication_dialog_server.set_completion(ServerHistoryViewModel.completion())
     self._replications = None
     self._model = None
 def __init__(self, builder):
     self._win = builder.get_object('dialog_remote_replication', target=self, include_children=True)
     self._source_model = Gtk.ListStore(bool, str)
     self.treeview_remote_replication_databases.set_model(self._source_model)
     self._source_model.connect('row-changed', self.on_row_changed)
     self.entry_remote_replication_dialog_server.set_completion(ServerHistoryViewModel.completion())
     self._replications = None
     self._model = None
     self._remote_couchdb = None
 def __init__(self, entry_server, comboboxtext_port, checkbutton_secure):
     self._entry_server = entry_server
     self._entry_server.set_completion(ServerHistoryViewModel.completion())
     self._comboboxtext_port = comboboxtext_port
     self._checkbutton_secure = checkbutton_secure