Ignore:
Timestamp:
11/06/19 16:17:13 (5 years ago)
Author:
bnemhaus
Message:

Reordered the default FrameDirs, ImageDirs and AudioDirs to what I think is a logical order.
Also renamed the CURRENT.USER flag to CURRENT_USER to be inline with other flags like CURRENT_FRAMESET

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/management/ProfileManager.java

    r1434 r1440  
    2828public class ProfileManager {
    2929
    30         private static final String USER_NAME_PATTERN_INTERNAL = "USER.NAME";
     30        private static final String USER_NAME_PATTERN_INTERNAL = "USER_NAME";
    3131        private static final String DEFAULT = UserSettings.DEFAULT_PROFILE_NAME;
    3232        private static final String[] startPages = { "exploratorysearch", "webbrowser" };
     
    7171                                // 2. Copy item from defaultFrame to the current profile frame being
    7272                                // constructed.
    73                                 // 3. Replace instance of ${USER.NAME} with 'profileFor'
     73                                // 3. Replace instance of ${USER_NAME} with 'profileFor'
    7474                                // 4. Replace settings values of copied items with those specified in
    7575                                // specifiedSettings (if present)
     
    8585                                        if (item instanceof Text) {
    8686                                                String content = item.getText();
    87                                                 item.setText(ResourceUtil.substitute(content, ProfileManager.USER_NAME_PATTERN_INTERNAL, profileFor));
     87                                                item.setText(ResourceUtil.substitute(content, ProfileManager.USER_NAME_PATTERN, profileFor));
    8888                                        }
    8989                                }
Note: See TracChangeset for help on using the changeset viewer.