[jabref] 03/06: remove deletion of MacAdapter.java in this patch

Tony Mancill tmancill at moszumanska.debian.org
Sat Dec 17 07:18:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch dev
in repository jabref.

commit 76e023da48442680a2ed49cf9daa7b3bf4e581d0
Author: tony mancill <tmancill at debian.org>
Date:   Fri Dec 16 23:06:26 2016 -0800

    remove deletion of MacAdapter.java in this patch
    
    The file is already part of the upstream tarball, so removing
    it in this patch only seems to cause lintian grief later on when
    it looks a debian/copyright.
---
 debian/patches/001_koppor_debian_3.8.patch | 91 ------------------------------
 1 file changed, 91 deletions(-)

diff --git a/debian/patches/001_koppor_debian_3.8.patch b/debian/patches/001_koppor_debian_3.8.patch
index f743a8e..22b0a9c 100644
--- a/debian/patches/001_koppor_debian_3.8.patch
+++ b/debian/patches/001_koppor_debian_3.8.patch
@@ -1637,97 +1637,6 @@ index 2cae95385..000000000
 -    }
 -
 -}
-diff --git a/src/main/java/osx/macadapter/MacAdapter.java b/src/main/java/osx/macadapter/MacAdapter.java
-deleted file mode 100644
-index 419eba846..000000000
---- a/src/main/java/osx/macadapter/MacAdapter.java
-+++ /dev/null
-@@ -1,85 +0,0 @@
--package osx.macadapter;
--
--import java.io.File;
--import java.util.List;
--
--import net.sf.jabref.gui.JabRefFrame;
--
--import com.apple.eawt.AboutHandler;
--import com.apple.eawt.AppEvent;
--import com.apple.eawt.AppEvent.AboutEvent;
--import com.apple.eawt.AppEvent.OpenFilesEvent;
--import com.apple.eawt.AppEvent.PreferencesEvent;
--import com.apple.eawt.AppEvent.QuitEvent;
--import com.apple.eawt.AppReOpenedListener;
--import com.apple.eawt.Application;
--import com.apple.eawt.FullScreenUtilities;
--import com.apple.eawt.OpenFilesHandler;
--import com.apple.eawt.PreferencesHandler;
--import com.apple.eawt.QuitHandler;
--import com.apple.eawt.QuitResponse;
--
--public class MacAdapter implements PreferencesHandler, AboutHandler, QuitHandler, OpenFilesHandler, AppReOpenedListener {
--
--    private JabRefFrame parentFrame;
--
--    public void registerMacEvents(JabRefFrame inputFrame) {
--        parentFrame = inputFrame;
--        Application.getApplication().setOpenFileHandler(this);
--        Application.getApplication().setAboutHandler(this);
--        Application.getApplication().setPreferencesHandler(this);
--        Application.getApplication().setQuitHandler(this);
--        Application.getApplication().addAppEventListener(this);
--        FullScreenUtilities.setWindowCanFullScreen(parentFrame, true);
--    }
--
--    @Override
--    // The OSXAdapter calls this method when a ".bib" file has been double-clicked from the Finder.
--    public void openFiles(OpenFilesEvent event) {
--        if (parentFrame == null) {
--            return;
--        }
--
--        List<File> files = event.getFiles();
--
--        for (File file : files) {
--            parentFrame.openAction(file.getAbsolutePath());
--        }
--    }
--
--    @Override
--    public void handleQuitRequestWith(QuitEvent evt, QuitResponse resp) {
--        if (parentFrame == null) {
--            return;
--        }
--
--        if (parentFrame.quit()) {
--            resp.performQuit();
--        } else {
--            resp.cancelQuit();
--        }
--    }
--
--    @Override
--    public void handleAbout(AboutEvent arg0) {
--        if (parentFrame == null) {
--            return;
--        }
--
--        parentFrame.about();
--    }
--
--    @Override
--    public void handlePreferences(PreferencesEvent arg0) {
--        if (parentFrame == null) {
--            return;
--        }
--
--        parentFrame.showPreferencesDialog();
--    }
--
--    @Override
--    public void appReOpened(AppEvent.AppReOpenedEvent appReOpenedEvent) {
--        parentFrame.setVisible(true);
--    }
--}
 diff --git a/src/main/resources/l10n/JabRef_da.properties b/src/main/resources/l10n/JabRef_da.properties
 index 1798e9656..8642ca84d 100644
 --- a/src/main/resources/l10n/JabRef_da.properties

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jabref.git



More information about the pkg-java-commits mailing list