[Thunar-dev] trash empty/full icons

Brian J. Tarricone bjt23 at cornell.edu
Thu Aug 24 01:59:22 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Benny,

I'm finding some weirdness with retrieving the icon to be displayed for
the trash.  When the trash status changes between empty and full,
xfdesktop notices, and invalidates its old icon pixbuf.  But when it
calls thunar_vfs_info_get_custom_icon() again, it'll return the old icon
name.  That is, if the trash was originally full, it returns
gnome-vfs-trash-full.  However, after the trash is emptied, it still
returns gnome-vfs-trash-full.

If I restart xfdesktop, it'll pick up whichever icon is correct (either
empty or full) on startup, but will never change the icon if the trash
empty/full status changes.

I tried refreshing the icon's ThunarVfsInfo by calling
thunar_vfs_path_get_for_trash() followed by
thunar_vfs_info_new_for_path() when the trash full/empty status changes,
but that didn't seem to help.

Any ideas as to what I'm doing wrong?

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFE7Ova6XyW6VEeAnsRAmw0AJ9zzmUPQwTB2H9GphNhngPJK7DkegCg58wu
JjrIFtN50IThqwQ4LK+txc8=
=0r2F
-----END PGP SIGNATURE-----



More information about the Thunar-dev mailing list