Skip to content

Commit

Permalink
Remove close database from global toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-kolb committed Dec 9, 2015
1 parent 7b2d1bd commit 37ce23f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
1 change: 0 additions & 1 deletion src/main/java/net/sf/jabref/gui/BasePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
import java.util.List;

public class BasePanel extends JPanel implements ClipboardOwner, FileUpdateListener {

private static final Log LOGGER = LogFactory.getLog(BasePanel.class);

public static final int SHOWING_NOTHING = 0;
Expand Down
19 changes: 0 additions & 19 deletions src/main/java/net/sf/jabref/gui/JabRefFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -1480,28 +1480,9 @@ private void createToolBar() {

tlb.addSeparator();

// Removing the separate push-to buttons, replacing them by the
// multipurpose button:
//tlb.addAction(emacsPushAction);
//tlb.addAction(lyxPushAction);
//tlb.addAction(winEdtPushAction);
tlb.add(pushExternalButton.getComponent());
tlb.addSeparator();
tlb.add(donationAction);
// tlb.addAction(openFolder);
// tlb.addAction(openFile);
//tlb.addAction(openPdf);
//tlb.addAction(openUrl);

//tlb.addSeparator();
//tlb.addAction(showPrefs);
tlb.add(Box.createHorizontalGlue());
//tlb.add(new JabRefLabel(GUIGlobals.frameTitle+" "+GUIGlobals.version));

tlb.addAction(closeDatabaseAction);
//Insets margin = new Insets(0, 0, 0, 0);
//for (int i=0; i<tlb.getComponentCount(); i++)
// ((JButton)tlb.getComponentAtIndex(i)).setMargin(margin);
}

public void output(final String s) {
Expand Down

0 comments on commit 37ce23f

Please sign in to comment.