file chooser: Don't show Trash in save mode
authorMatthias Clasen <mclasen@redhat.com>
Fri, 3 Jul 2015 16:51:03 +0000 (09:51 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 4 Jul 2015 04:29:26 +0000 (00:29 -0400)
You can't save there...

gtk/gtkfilechooserwidget.c

index 9f3ca6b64e91f7829ab3dc4eba018746205217a4..a84b60db23a59093a6ffb83a9f0527feb4484f3c 100644 (file)
@@ -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)
        {