Comment 38 for bug 93381

Revision history for this message
x (xk2c-deactivatedaccount) wrote :

Upstream update:
http://bugzilla.gnome.org/show_bug.cgi?id=419343#c5
<------------------------------------------------------------------------------------------------------------
I've committed a patch that restores the old column autosizing behaviour, while
keeping the ellipsization of the column. I think it's the best compromise right
now, since I think the intent of the change was not make the initial filename
column size hard-wired, but to get ellipsization applied to it. I know the old
behaviour is not always ideal (if you have a folder with single long filename
for example), but nobody really complained about it.
The expandable-column-based approach looks promising, but behaves quirky with a
stock gtk+ as long as bug 316087 is not fixed.

2007-08-01 Martin Wehner <email address hidden>

        * libnautilus-private/Makefile.am:
        * libnautilus-private/nautilus-cell-renderer-text-ellipsized.c:
        * libnautilus-private/nautilus-cell-renderer-text-ellipsized.h:
        * src/file-manager/fm-list-view.c: (create_and_set_up_tree_view):
        Use a custom cell renderer for the filename column which applies
        ellipsization but reports its size based on the actual width of
        the text to be rendered. This restores the original column
        autosizing behaviour while keeping the ellipsization. (#419343)
------------------------------------------------------------------------------------------------------------>