Author: nkinder
Update of /cvs/dirsec/console/src/com/netscape/management/client/console
In directory
cvs-int.fedora.redhat.com:/tmp/cvs-serv27292/src/com/netscape/management/client/console
Modified Files:
Console.java
Log Message:
Resolves: 249777
Summary: Moved preference dir name into theme. Did some cleanup to the specfile around
post and preun steps. Renamed start script.
Index: Console.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/console/Console.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Console.java 2 Jul 2007 18:49:24 -0000 1.10
+++ Console.java 26 Jul 2007 23:08:48 -0000 1.11
@@ -53,6 +53,15 @@
static long _t0 = System.currentTimeMillis();
//
+ // global values
+ //
+ public static Preferences _preferences;
+ 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.theme");
+
+ //
// preference information
//
public static final String IDENTIFIER = "Console";
@@ -70,22 +79,13 @@
public static final String PREFERENCE_Y = "Y";
public static final String PREFERENCE_DIR = System.getProperty("user.home")
+ File.separator +
- ".fedora-console" +
File.separator;
+
_resource_theme.getString("console","prefsdir") + File.separator;
public static final String OPTION_NOWINPOS = "nowinpos";
public static final String OPTION_NOLOGO = "nologo";
public static final String OPTION_JAVALAF = "javalaf";
- public static final int MAX_RECENT_URLS = 5;
-
- //
- // global values
- //
- public static Preferences _preferences;
- 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.theme");
+ public static final int MAX_RECENT_URLS = 5;
//
// private values
Show replies by thread