Ignore:
Timestamp:
2000-11-16T09:13:48+13:00 (23 years ago)
Author:
cs025
Message:

Fixed problem in uninstalling which appeared when uninstalling the shortcut
icons.
Parameters to undo didn't permit two parameters to be the same, and if for
example a shortcut was in a group with the same name, a parameter
disappeared. Fixed by extending stringArray class to be configured to accept
duplicate entries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsinstaller/unInstall.h

    r1639 r1673  
    3232  stringArray parameters;
    3333
    34   unInstallCommand() { };
    35   unInstallCommand(string commandname) { this->command = commandname; };
     34  unInstallCommand()
     35  { this->parameters.permitDuplication(true);
     36  }
     37  unInstallCommand(string commandname)
     38  { this->command = commandname;
     39    this->parameters.permitDuplication(true);
     40  }
    3641  unInstallCommand(string commandname, stringArray params)
    37   { 
     42  {
    3843    this->command = commandname;
    3944    this->parameters = params;
     45    this->parameters.permitDuplication(true);
    4046  };
    4147  void addParameter(string parameter) { this->parameters.add(parameter); };
Note: See TracChangeset for help on using the changeset viewer.