[nautilus] slot: clean floating bar actions before showing it again



commit c6d1b15dbc919ccb7b632618680bf4853b013edf
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Jan 18 16:59:40 2013 -0500

    slot: clean floating bar actions before showing it again
    
    Or we can potentially add mutliple Stop buttons.

 src/nautilus-window-slot.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index 4a72da2..1e1fbeb 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -2239,6 +2239,7 @@ real_setup_loading_floating_bar (NautilusWindowSlot *slot)
 		return;
 	}
 
+	nautilus_floating_bar_cleanup_actions (NAUTILUS_FLOATING_BAR (slot->details->floating_bar));
 	nautilus_floating_bar_set_primary_label (NAUTILUS_FLOATING_BAR (slot->details->floating_bar),
 						 NAUTILUS_IS_SEARCH_DIRECTORY (nautilus_view_get_model (slot->details->content_view)) ?
 						 _("Searchingâ") : _("Loadingâ"));



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