summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbl0ckeduser <[email protected]>2018-01-26 09:02:32 -0500
committermonsta <[email protected]>2018-03-11 22:10:54 +0300
commit4b05158ecca289ef99136727194373131012dea5 (patch)
treea77055a7388810e982ccaff4b08527949edef07f /src
parenta7e1cd759da81eb50b28b2c114fd686d45053837 (diff)
downloadcaja-4b05158ecca289ef99136727194373131012dea5.tar.bz2
caja-4b05158ecca289ef99136727194373131012dea5.tar.xz
Fix tasklist icon change when opening new tab
Fixes #719
Diffstat (limited to 'src')
-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)
{