nemo r52 - trunk/uicommon
- From: arj svn gnome org
- To: svn-commits-list gnome org
- Subject: nemo r52 - trunk/uicommon
- Date: Tue, 8 Jan 2008 10:22:10 +0000 (GMT)
Author: arj
Date: Tue Jan 8 10:22:10 2008
New Revision: 52
URL: http://svn.gnome.org/viewvc/nemo?rev=52&view=rev
Log:
Fix cutting filenames correctly in hover over item
Modified:
trunk/uicommon/Item.cs
Modified: trunk/uicommon/Item.cs
==============================================================================
--- trunk/uicommon/Item.cs (original)
+++ trunk/uicommon/Item.cs Tue Jan 8 10:22:10 2008
@@ -79,8 +79,8 @@
if (extension.Length > 4)
extension = extension.Substring(0, 4);
- if (name.Length-extension.Length > 25-(6+extension.Length)) {
- name = name.Substring(0, 25-(6+extension.Length));
+ if (name.Length-extension.Length > 35) {
+ name = name.Substring(0, 35-5);
name += "[...]" + extension;
}
@@ -164,8 +164,8 @@
if (extension.Length > 4)
extension = extension.Substring(0, 4);
- if (name.Length-extension.Length > 25-(6+extension.Length)) {
- name = name.Substring(0, 25-(6+extension.Length));
+ if (name.Length-extension.Length > 35) {
+ name = name.Substring(0, 35-5);
name += "[...]" + extension;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]