Revert "Never show the Trash in the FileChooserWidget side bar"

This reverts commit cd39e417e1.
This commit is contained in:
Emmanuele Bassi 2021-06-20 15:41:43 +01:00
parent cd39e417e1
commit 333a92bcff
2 changed files with 1 additions and 1 deletions

View File

@ -2834,6 +2834,7 @@ update_appearance (GtkFileChooserWidget *impl)
{
save_widgets_create (impl);
gtk_places_sidebar_set_show_recent (GTK_PLACES_SIDEBAR (impl->places_sidebar), FALSE);
gtk_places_sidebar_set_show_trash (GTK_PLACES_SIDEBAR (impl->places_sidebar), FALSE);
if (impl->select_multiple)
{

View File

@ -17,7 +17,6 @@
<child>
<object class="GtkPlacesSidebar" id="places_sidebar">
<property name="show-other-locations">1</property>
<property name="show-trash">0</property>
<style>
<class name="sidebar"/>
</style>