Closed Bug 22947 Opened 20 years ago Closed 20 years ago

Shorten file names by removing part of the file path

Categories

(CCK Graveyard :: CCK-Wizard, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bijals, Assigned: vparthas)

References

Details

Can we do something about the file names for the animated/static logos or other
files.  I thought that we were going to change the file path text to be
c:/blah/blah/.../blah/smallanim.gif".  We need to be able to see the file name
on the UI.
Assignee: selmer → varada
We should insert an elipses to cause the total number of characters to remain
constant (and fit within the alloted space.)  The algorithm should be something
like take the first N characters and the last N characters and throw a "..."
between them.  We might want to modify that to break on "/" characters, but
that's extra credit (and possibly not better.)
Sounds good to me.  We do not need something fancy as long as we can see the
file names.
Status: NEW → ASSIGNED
Target Milestone: M14
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
introduced a new CString display in the WIDGET structure that will now be used
for the display alone. the value will be stored in the Widget->value and the
gettrimfile will be used to get the corresponding display value for the file.
Blocks: 24854
marking this Verified Fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.