| | |
| | | }
|
| | | }
|
| | | });
|
| | | |
| | |
|
| | | repositoriesTable.addMouseListener(new MouseAdapter() {
|
| | | public void mouseClicked(MouseEvent e) {
|
| | | if (e.getClickCount() == 2) {
|
| | | if (e.getClickCount() == 2 && gitblit.allowAdmin()) {
|
| | | editRepository(getSelectedRepositories().get(0));
|
| | | }
|
| | | }
|
| | |
| | | delUser.setEnabled(selected);
|
| | | }
|
| | | });
|
| | | |
| | |
|
| | | usersTable.addMouseListener(new MouseAdapter() {
|
| | | public void mouseClicked(MouseEvent e) {
|
| | | if (e.getClickCount() == 2) {
|
| | |
| | | gitblit = null;
|
| | | }
|
| | |
|
| | | protected void refreshRepositories() { |
| | | protected void refreshRepositories() {
|
| | | GitblitWorker worker = new GitblitWorker(GitblitPanel.this, RpcRequest.LIST_REPOSITORIES) {
|
| | | @Override
|
| | | protected Boolean doRequest() throws IOException {
|