Ignore:
Timestamp:
11/07/19 12:22:50 (5 years ago)
Author:
bnemhaus
Message:

Copying images in Expeditee now duplicates the associated file on the filesystem.
Also changed USER_NAME back to USER.NAME on David's direction.

File:
1 edited

Legend:

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

    r1440 r1441  
    2828public class ProfileManager {
    2929
    30         private static final String USER_NAME_PATTERN_INTERNAL = "USER_NAME";
    3130        private static final String DEFAULT = UserSettings.DEFAULT_PROFILE_NAME;
    3231        private static final String[] startPages = { "exploratorysearch", "webbrowser" };
    33         public static final String USER_NAME_PATTERN = "${" + USER_NAME_PATTERN_INTERNAL + "}";
     32        public static final String USER_NAME_FLAG = "${" + "USER.NAME" + "}";
    3433
    3534        public static Frame createProfile(String profileFor, Map<String, Setting> specifiedSettings,
     
    8584                                        if (item instanceof Text) {
    8685                                                String content = item.getText();
    87                                                 item.setText(ResourceUtil.substitute(content, ProfileManager.USER_NAME_PATTERN, profileFor));
     86                                                item.setText(ResourceUtil.substitute(content, ProfileManager.USER_NAME_FLAG, profileFor));
    8887                                        }
    8988                                }
Note: See TracChangeset for help on using the changeset viewer.