GNOME Bugzilla – Bug 332162
in browser mode the trash icon on location bar doesn't update
Last modified: 2008-02-21 09:32:45 UTC
Please describe the problem: i'm using nautilus in browser mode (not spatial) and have the 'Location Bar' visible. if there is something in the trash and open the trash the trash icon in location bar shows 'full trash' icon - which is correct. but after emptying the trash the icon on the 'Location Bar' shows still the same icon. even the trash icon on my desktop is updated and shows an 'empty trash' icon. after closing and opening the nautilus windows it show the correct icon ('empty trash') in the location bar. Steps to reproduce: 1. set nautilus to browser mode 2. delete some files/directories with nautilus (trash icon on desktop is full) 3. double click trash icon to open trash 4. mark all files in trash and press 'delete' to empty trash 5. confirm to delete those files (this will result in updating the trash icon on destop - which will show empty, but not the icon on the location bar!) Actual results: see description Expected results: updated trash icon in 'Location Bar' Does this happen every time? yes Other information: system: debian unstable
Yeah, this is still there in 2.14.
*** Bug 338052 has been marked as a duplicate of this bug. ***
Still there with 2.21.91.
Created attachment 105675 [details] [review] patch This is roughly the same code used in the sidebar, works fine.
Committed to trunk. 2008-02-21 Cosimo Cecchi <cosimoc@gnome.org> * src/nautilus-pathbar.c: (trash_state_changed_cb), (nautilus_path_bar_init): Update the trash icon on the pathbar according to the trash state. (#332162).