M README
- Include debug options M webclient/build.xml A webclient/default-profile-dir-contents.jar - Include a sample profile dir into the webclient jar M webclient/classes_spec/org/mozilla/webclient/WebclientFactory.java M webclient/classes_spec/org/mozilla/webclient/impl/WebclientFactoryImpl.java - add setProfileDir() M webclient/classes_spec/org/mozilla/webclient/impl/WrapperFactory.java M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java - add methods for allowing the setting of profile directories. M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/ProfileManagerImpl.java - cook up a profile directory based on the bin directory if the user hasn't provided one. M webclient/src_moz/ProfileManagerImpl.cpp - Make sure NSS is initialized by giving the system a ProfD and getting the psm service via contract id. M webclient/test/manual/src/classes/org/mozilla/webclient/test/TestBrowser.java - Make sure the darn thing is visible git-svn-id: svn://10.0.0.236/trunk@253371 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -120,6 +120,7 @@ public class TestBrowser extends JPanel {
|
||||
|
||||
frame.pack();
|
||||
frame.setVisible(true);
|
||||
testBrowser.setVisible(true);
|
||||
if (1 == args.length) {
|
||||
testBrowser.loadURL(args[0]);
|
||||
}
|
||||
@@ -445,6 +446,7 @@ public class TestBrowser extends JPanel {
|
||||
if (curUrl == null) {
|
||||
// Check if the text value starts with known protocols.
|
||||
if (inputValue.toLowerCase().startsWith("http://")
|
||||
|| inputValue.toLowerCase().startsWith("https://")
|
||||
|| inputValue.toLowerCase().startsWith("ftp://")
|
||||
|| inputValue.toLowerCase().startsWith("gopher://")
|
||||
|| inputValue.toLowerCase().startsWith("file://")) {
|
||||
@@ -460,6 +462,7 @@ public class TestBrowser extends JPanel {
|
||||
}
|
||||
}
|
||||
|
||||
browserControlCanvas.setVisible(true);
|
||||
navigation.loadURL(curUrl.toString());
|
||||
|
||||
// Update the address text field, statusbar, and toolbar info.
|
||||
|
||||
Reference in New Issue
Block a user