[Fedora-directory-commits] console/src/com/netscape/management/client/console Console.java, 1.7, 1.8 console.properties, 1.5, 1.6

Christina Fu (cfu) fedora-directory-commits at redhat.com
Wed Jun 13 20:33:11 UTC 2007


Author: cfu

Update of /cvs/dirsec/console/src/com/netscape/management/client/console
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5061/src/com/netscape/management/client/console

Modified Files:
	Console.java console.properties 
Log Message:
244051 - move brand-specifics to a new jar



Index: Console.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/console/Console.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Console.java	29 Sep 2006 17:17:25 -0000	1.7
+++ Console.java	13 Jun 2007 20:33:09 -0000	1.8
@@ -85,6 +85,7 @@
     public static ConsoleInfo _info;
     public static String _consoleAdminURL;
     public static ResourceSet _resource = new ResourceSet("com.netscape.management.client.console.console");
+    public static ResourceSet _resource_theme = new ResourceSet("com.netscape.management.client.theme.console");
 
     //
     // private values
@@ -527,7 +528,7 @@
 
         _frame = new JFrame();
         // Set the icon image so that login dialog will inherit it
-        _frame.setIconImage( new RemoteImage("com/netscape/management/client/images/logo16.gif").getImage());
+        _frame.setIconImage( new RemoteImage("com/netscape/management/client/theme/images/logo16.gif").getImage());
 
         ModalDialogUtil.setWindowLocation(_frame);
 
@@ -1557,7 +1558,7 @@
         }
 
         Debug.println(0,
-                "Fedora-Management-Console/" +
+                _resource_theme.getString("console","useragent")+"/" +
                 _resource.getString("console","displayVersion") + 
                 " B" + VersionInfo.getBuildNumber());
 


Index: console.properties
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/console/console.properties,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- console.properties	29 Sep 2006 17:17:25 -0000	1.5
+++ console.properties	13 Jun 2007 20:33:09 -0000	1.6
@@ -17,14 +17,15 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 # END COPYRIGHT BLOCK
 #
-console-title=Fedora Management Console
+#console-title=Fedora Management Console
+#console-useragent=Fedora-Management-Console
 console-displayVersion=1.0.3
 
 login-username=User ID:
 login-password=Password:
 login-url=Administration URL:
-login-title=Fedora Management Console Login
-login-copyright=Copyright (C) 2005 Fedora Project
+#login-title=Fedora Management Console Login
+login-copyright=Copyright (C) Red Hat, Inc.
 login-help=manual/en/console/help/login.htm
 login-passwordDialogTitle=Bind Password
 
@@ -66,7 +67,7 @@
 # Class loading dialog
 #
 
-ClassLoadingDlg-text=New java class files are available. In order to have\nall the new features for the Fedora Management Console, you need to download the following class files.\nDo you want to do it now?
+ClassLoadingDlg-text=New java class files are available. In order to have\nall the new features for the console, you need to download the following class files.\nDo you want to do it now?
 ClassLoadingDlg-title=Getting jar class
 
 #




More information about the Fedora-directory-commits mailing list