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
pull/1/head
lotus 16 years ago
parent 54c7698219
commit 9519d84372

@ -897,5 +897,5 @@ disk.free = 3000
cgi.allow = false cgi.allow = false
cgi.suffixes = cgi,pl cgi.suffixes = cgi,pl
# whether this is a version for dooble browser # whether this is a version for a web browser
dooble = false browserintegration = false

@ -45,7 +45,7 @@ public final class yacyTray {
private static plasmaSwitchboard sb; private static plasmaSwitchboard sb;
private static nativeTrayIcon ti; private static nativeTrayIcon ti;
private static boolean isDooble; // dooble browser integration private static boolean isIntegrated; // browser integration
private static boolean isShown = false; private static boolean isShown = false;
final private static boolean deutsch = System.getProperty("user.language","").equals("de"); 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) { public static void init(final plasmaSwitchboard par_sb) {
sb = par_sb; sb = par_sb;
isDooble = sb.getConfigBool("dooble", false); isIntegrated = sb.getConfigBool("browserintegration", false);
try { try {
final boolean trayIcon = sb.getConfigBool("trayIcon", false); final boolean trayIcon = sb.getConfigBool("trayIcon", false);
if (trayIcon && serverSystem.isWindows) { if (trayIcon && serverSystem.isWindows) {
@ -86,7 +86,7 @@ public final class yacyTray {
PopupMenu menu = new PopupMenu(); PopupMenu menu = new PopupMenu();
MenuItem menuItem; MenuItem menuItem;
if(isDooble) return menu; if(isIntegrated) return menu;
// YaCy Search // YaCy Search
if(deutsch) label = "YaCy Suche"; if(deutsch) label = "YaCy Suche";
@ -150,7 +150,7 @@ public final class yacyTray {
} }
private static void openBrowser(final String browserPopUpPage){ private static void openBrowser(final String browserPopUpPage){
if(isDooble) return; if(isIntegrated) return;
// no need for https, because we are on localhost // no need for https, because we are on localhost
serverSystem.openBrowser("http://localhost:" + sb.getConfig("port", "8080") + "/" + browserPopUpPage); serverSystem.openBrowser("http://localhost:" + sb.getConfig("port", "8080") + "/" + browserPopUpPage);
} }

Loading…
Cancel
Save