From: Matthias Clasen Date: Fri, 3 Jul 2015 16:51:03 +0000 (-0700) Subject: file chooser: Don't show Trash in save mode X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~24^2~9161 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=29abbdd3e3aa59cd1f3986eabbfeafa19aaa4195;p=gtk4.git file chooser: Don't show Trash in save mode You can't save there... --- diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 9f3ca6b64e..a84b60db23 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -2802,6 +2802,7 @@ update_appearance (GtkFileChooserWidget *impl) { save_widgets_create (impl); gtk_places_sidebar_set_show_recent (GTK_PLACES_SIDEBAR (priv->places_sidebar), FALSE); + gtk_places_sidebar_set_show_trash (GTK_PLACES_SIDEBAR (priv->places_sidebar), FALSE); if (priv->select_multiple) {