Changeset 61854 in webkit
- Timestamp:
- Jun 25, 2010 5:41:45 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r61850 r61854 1 2010-06-25 Lucas De Marchi <lucas.demarchi@profusion.mobi> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [EFL] Use a descriptive string in FileChooser when multiple files can 6 be selected. 7 https://bugs.webkit.org/show_bug.cgi?id=40943 8 9 EFL port has no tests yet, so no new tests. 10 11 * platform/efl/FileChooserEfl.cpp: 12 (WebCore::FileChooser::basenameForWidth): 13 1 14 2010-06-25 Nikolas Zimmermann <nzimmermann@rim.com> 2 15 -
trunk/WebCore/platform/efl/FileChooserEfl.cpp
r55338 r61854 32 32 33 33 #include "LocalizedStrings.h" 34 #include "StringTruncator.h" 34 35 35 36 namespace WebCore { … … 40 41 return String(); 41 42 43 String string; 42 44 if (m_filenames.isEmpty()) 43 return fileButtonNoFileSelectedLabel(); 45 string = fileButtonNoFileSelectedLabel(); 46 else if (m_filenames.size() == 1) 47 string = m_filenames[0]; 48 else 49 return StringTruncator::rightTruncate(multipleFileUploadText(m_filenames.size()), width, font, false); 50 51 return StringTruncator::centerTruncate(string, static_cast<float>(width), font, false); 44 52 } 45 53
Note: See TracChangeset
for help on using the changeset viewer.