[nautilus/places-sidebar: 5/6] Implement the empty-trash-requested handler for GtkPlacesSidebar



commit 28c03830e1c288ccb269d2352d1ac7d10c2b357f
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Oct 22 18:38:48 2012 -0500

    Implement the empty-trash-requested handler for GtkPlacesSidebar
    
    Signed-off-by: Federico Mena Quintero <federico gnome org>

 src/nautilus-window.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index a5bb82e..68c8a96 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -597,7 +597,9 @@ static void
 places_sidebar_empty_trash_requested_cb (GtkPlacesSidebar *sidebar,
 					 gpointer          user_data)
 {
-	/* FIXME */
+	NautilusWindow *window = NAUTILUS_WINDOW (user_data);
+
+	nautilus_file_operations_empty_trash (GTK_WIDGET (window));
 }
 
 /* Callback used when the places sidebar needs us to present an error message */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]