Comment 5 for bug 70229

Revision history for this message
Nicola Lunghi (nicola.lunghi) wrote :

I have made a mistake!!! I have examined an old source... the 2.9.92

in the source 2.23.90... I think that is the latest..... that I have picked from ftp.gnome.org
i think that the file to be modified is

libnautilus-private/nautilus-column-utilities.c

it contains a list like

 columns = g_list_append (NULL,
     g_object_new (NAUTILUS_TYPE_COLUMN,
            "name", "name",
            "attribute", "name",
            "label", _("Name"),
            "description", _("The name and icon of the file."),
            NULL));
 columns = g_list_append (columns,
     g_object_new (NAUTILUS_TYPE_COLUMN,
            "name", "size",
            "attribute", "size",
            "label", _("Size"),
            "description", _("The size of the file."),
            "xalign", 1.0,
            NULL));

I have made a simple extension to show a column that display directory.
please review
(to install put it in put in ~/.nautilus/python-extensions)