ginebra2/WindowToolbarSnippet.cpp
changeset 15 73c48011b8c7
parent 6 1c3b8676e58c
--- a/ginebra2/WindowToolbarSnippet.cpp	Fri Sep 17 08:27:10 2010 +0300
+++ b/ginebra2/WindowToolbarSnippet.cpp	Mon Oct 04 00:04:54 2010 +0300
@@ -33,11 +33,17 @@
         : DualButtonToolbarSnippet(elementId, chrome, element)
     {
         m_type = TOOLBAR_WINDOWS_VIEW;
+        connect(m_chrome, SIGNAL(aspectChanged(int)) , this, SLOT(onAspectChanged()));
     }
 
     WindowToolbarSnippet::~WindowToolbarSnippet()
     {
     }
+    
+    void WindowToolbarSnippet::onAspectChanged( ) {
+        	 
+        updateOwnerArea();      
+    }
 
     WindowToolbarSnippet * WindowToolbarSnippet::instance(const QString& elementId, ChromeWidget * chrome, const QWebElement & element)
     {