Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2008-09-01 09:20:05 +0000
committerTomasz Zarna2008-09-01 09:20:05 +0000
commit1e61bc87c49c33631321294b5311d61c961aae41 (patch)
treee8861ba9344def9004c820fe6cdc31ecdb7930a9 /bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net
parent3c61001a3a514488f4bdb6839f76ffd8a94d9770 (diff)
downloadeclipse.platform.team-1e61bc87c49c33631321294b5311d61c961aae41.tar.gz
eclipse.platform.team-1e61bc87c49c33631321294b5311d61c961aae41.tar.xz
eclipse.platform.team-1e61bc87c49c33631321294b5311d61c961aae41.zip
bug 232495: [Proxy] Gnome library should not blow up Eclipse w/o Gnome
Diffstat (limited to 'bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net')
-rw-r--r--bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/proxy/unix/UnixProxyProvider.java14
1 files changed, 5 insertions, 9 deletions
diff --git a/bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/proxy/unix/UnixProxyProvider.java b/bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/proxy/unix/UnixProxyProvider.java
index c33a6aedb..f4af5bb9b 100644
--- a/bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/proxy/unix/UnixProxyProvider.java
+++ b/bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/proxy/unix/UnixProxyProvider.java
@@ -23,11 +23,10 @@ import org.eclipse.core.internal.net.ProxyData;
import org.eclipse.core.net.proxy.IProxyData;
public class UnixProxyProvider extends AbstractProxyProvider {
-
- // Gnome support disabled - see bug 234662
- // private static final String LIBRARY_GCONF2 = "gconf-2"; //$NON-NLS-1$
- // private static final String LIBRARY_NAME = "proxygnome"; //$NON-NLS-1$
+ private static final String LIBRARY_GCONF2 = "gconf-2"; //$NON-NLS-1$
+
+ private static final String LIBRARY_NAME = "proxygnome"; //$NON-NLS-1$
private static boolean isGnomeLibLoaded = false;
@@ -35,8 +34,7 @@ public class UnixProxyProvider extends AbstractProxyProvider {
// We have to load this here otherwise gconf seems to have problems
// causing hangs and various other bad behavior,
// please don't move this to be initialized on another thread.
- // Gnome support disabled - see bug 234662
- // loadGnomeLib();
+ loadGnomeLib();
}
public UnixProxyProvider() {
@@ -167,8 +165,6 @@ public class UnixProxyProvider extends AbstractProxyProvider {
return props.getProperty(env);
}
- // Gnome support disabled - see bug 234662
- /*
private static void loadGnomeLib() {
try {
System.loadLibrary(LIBRARY_GCONF2);
@@ -194,7 +190,7 @@ public class UnixProxyProvider extends AbstractProxyProvider {
+ System.mapLibraryName(LIBRARY_NAME));
}
}
- */
+
private void debugPrint(String[] strs) {
for (int i = 0; i < strs.length; i++)

Back to the top