summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbl0ckeduser <[email protected]>2018-01-26 09:02:32 -0500
committerbl0ckeduser <[email protected]>2018-01-26 09:10:28 -0500
commit0045e373ee71efb8ae9979adc4ef88d5dc90b2ea (patch)
treeaddaeb1329f7bfc791c813a94a02dd64dff4a9aa
parent242176e1d2b8748c47c43a776105285740d9ab30 (diff)
downloadcaja-0045e373ee71efb8ae9979adc4ef88d5dc90b2ea.tar.bz2
caja-0045e373ee71efb8ae9979adc4ef88d5dc90b2ea.tar.xz
Fix tasklist icon change when opening new tab
Fixes #719
-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)
{