From e4d6824771380f04006c3abb28acc53eb28227e4 Mon Sep 17 00:00:00 2001
From: markt <markt>
Date: Thu, 6 Jul 2006 06:05:12 +0000
Subject: changing between internal and external tabs doesn't affect iconified
 windows

---
 ChangeLog     | 3 +++
 src/Screen.cc | 9 +++++++++
 2 files changed, 12 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 65abab5..e6b0241 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
  (Format: Year/Month/Day)
 Changes for 1.0rc3:
 *06/07/06:
+   * Changing between internal and external tabs didn't affect iconified
+     windows (Mark)
+     Screen.cc
    * Still trying to get the focus right: bug #1517750 (Mark)
      FocusControl.cc Window.cc Screen.cc
 *06/07/05:
diff --git a/src/Screen.cc b/src/Screen.cc
index df15250..d0accfc 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -910,6 +910,15 @@ void BScreen::reconfigureTabs() {
             }
         }
     }
+    Icons::iterator icon_it = m_icon_list.begin();
+    Icons::iterator icon_it_end = m_icon_list.end();
+    for (; icon_it != icon_it_end; ++icon_it) {
+        (*icon_it)->frame().updateTabProperties();
+        if (*resource.default_internal_tabs)
+            (*icon_it)->frame().setTabMode(FbWinFrame::INTERNAL);
+        else
+            (*icon_it)->frame().setTabMode(FbWinFrame::EXTERNAL);
+    }
 }
 
 
-- 
cgit v0.11.2