We have a function for that in Eel, but someone posted a bug about it
not being 100% reliable on UTF-8 (I'm not exactly sure why this is, but
I'm sure someone could come up with a test-case if they were trying and
we could fixup that function). GtkLabel doesn't do us better either,
since the way that we're specifying the string doesn't lend itself well
to being truncated well by Pango.

An immediate answer would to be to go ahead and use
eel_str_middle_truncate(), since there is no replacement for it.

-- 
Moving to trash a file with a long name cause a oversized dialog
https://bugs.launchpad.net/bugs/388445
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to