[Thunar-dev] trash empty/full icons
Brian J. Tarricone
bjt23 at cornell.edu
Thu Aug 24 18:49:44 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Benedikt Meurer wrote:
> Brian J. Tarricone wrote:
>> 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?
>
> Uhm I thought you're using the D-Bus interface now?
Er... what does that have to do with anything? D-Bus doesn't provide icons.
-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
iD8DBQFE7dio6XyW6VEeAnsRAhYAAJ9uBRy1ZrwBfS+NveKXL8Ottk/j2ACgzbh6
akENDd/xKN51uO6dZmfgtps=
=OWDC
-----END PGP SIGNATURE-----
More information about the Thunar-dev
mailing list