Shorten file names by removing part of the file path

VERIFIED FIXED in M14

Status

P3
normal
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: bijals, Assigned: vparthas)

Tracking

other
x86
Windows NT

Details

(Reporter)

Description

19 years ago
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.

Updated

19 years ago
Assignee: selmer → varada

Comment 1

19 years ago
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.)
(Reporter)

Comment 2

19 years ago
Sounds good to me.  We do not need something fancy as long as we can see the
file names.
(Assignee)

Updated

19 years ago
Status: NEW → ASSIGNED
Target Milestone: M14
(Assignee)

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

19 years ago
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.

Updated

19 years ago
Blocks: 24854

Comment 4

19 years ago
marking this Verified Fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.