summaryrefslogtreecommitdiff
path: root/src/caja-window-slot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-window-slot.c')
-rw-r--r--src/caja-window-slot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/caja-window-slot.c b/src/caja-window-slot.c
index 6286a5e3..2f3c39cb 100644
--- a/src/caja-window-slot.c
+++ b/src/caja-window-slot.c
@@ -377,6 +377,9 @@ caja_window_slot_update_icon (CajaWindowSlot *slot)
info = EEL_CALL_METHOD_WITH_RETURN_VALUE (CAJA_WINDOW_CLASS, window,
get_icon, (window, slot));
+ if (slot != slot->pane->active_slot)
+ return;
+
icon_name = NULL;
if (info)
{