Ignore:
Timestamp:
11/02/20 15:47:20 (4 years ago)
Author:
bnemhaus
Message:

Removed reliance of System.getProperty("user.name") by introducing some functions and a variable to Browser to be used instead. All previous occurrences of System.getProperty("user.name") now use these functions.

At the time, introduced new piping into various functions related to the creation and management of profile frames that distinguished between a profile name and a user name. This allows functions to be more specific about what is being used. For example, when modifying the users profile frames (in the profiles directory) that users profile name can be used instead of naming the variable 'username'. This distinction is important because while username's can end with numbers, profile names cannot and therefore get an 'A' on the end.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/auth/Actions.java

    r1506 r1540  
    4848import org.expeditee.encryption.CryptographyConstants;
    4949import org.expeditee.gio.gesture.StandardGestureActions;
     50import org.expeditee.gui.Browser;
    5051import org.expeditee.gui.DisplayController;
    5152import org.expeditee.gui.Frame;
     
    9697                String backup = UserSettings.UserName.get();
    9798                System.setProperty("user.name", userbackup);
     99                Browser.setExpediteeUserName(userbackup);
    98100                UserSettings.UserName.set(userbackup);
    99101                userbackup = backup;
Note: See TracChangeset for help on using the changeset viewer.