From 9519d843725010224c690edea469e3a20f925af6 Mon Sep 17 00:00:00 2001 From: lotus Date: Sun, 22 Feb 2009 17:32:17 +0000 Subject: [PATCH] changed "dooble" variable to "browserintegration" to be less specific git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5636 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- defaults/yacy.init | 4 ++-- source/de/anomic/yacy/yacyTray.java | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/defaults/yacy.init b/defaults/yacy.init index baa226bc4..25f667f45 100644 --- a/defaults/yacy.init +++ b/defaults/yacy.init @@ -897,5 +897,5 @@ disk.free = 3000 cgi.allow = false cgi.suffixes = cgi,pl -# whether this is a version for dooble browser -dooble = false \ No newline at end of file +# whether this is a version for a web browser +browserintegration = false \ No newline at end of file diff --git a/source/de/anomic/yacy/yacyTray.java b/source/de/anomic/yacy/yacyTray.java index 9f69d94e4..6edc888e8 100644 --- a/source/de/anomic/yacy/yacyTray.java +++ b/source/de/anomic/yacy/yacyTray.java @@ -45,7 +45,7 @@ public final class yacyTray { private static plasmaSwitchboard sb; private static nativeTrayIcon ti; - private static boolean isDooble; // dooble browser integration + private static boolean isIntegrated; // browser integration private static boolean isShown = false; final private static boolean deutsch = System.getProperty("user.language","").equals("de"); @@ -54,7 +54,7 @@ public final class yacyTray { public static void init(final plasmaSwitchboard par_sb) { sb = par_sb; - isDooble = sb.getConfigBool("dooble", false); + isIntegrated = sb.getConfigBool("browserintegration", false); try { final boolean trayIcon = sb.getConfigBool("trayIcon", false); if (trayIcon && serverSystem.isWindows) { @@ -86,7 +86,7 @@ public final class yacyTray { PopupMenu menu = new PopupMenu(); MenuItem menuItem; - if(isDooble) return menu; + if(isIntegrated) return menu; // YaCy Search if(deutsch) label = "YaCy Suche"; @@ -150,7 +150,7 @@ public final class yacyTray { } private static void openBrowser(final String browserPopUpPage){ - if(isDooble) return; + if(isIntegrated) return; // no need for https, because we are on localhost serverSystem.openBrowser("http://localhost:" + sb.getConfig("port", "8080") + "/" + browserPopUpPage); }