[haiku-webkit-commits] r514 - webkit/trunk/WebKit/haiku/WebPositive/tabview

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Sat, 22 May 2010 13:50:48 +0000

Author: stippi
Date: Sat May 22 13:50:48 2010
New Revision: 514
URL: http://mmlr.dyndns.org/changeset/514

Log:
Set a tool-tip for the area outside of any tabs.

Modified:
   webkit/trunk/WebKit/haiku/WebPositive/tabview/TabContainerView.cpp

Modified: webkit/trunk/WebKit/haiku/WebPositive/tabview/TabContainerView.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/WebPositive/tabview/TabContainerView.cpp  Fri May 
21 20:45:23 2010        (r513)
+++ webkit/trunk/WebKit/haiku/WebPositive/tabview/TabContainerView.cpp  Sat May 
22 13:50:48 2010        (r514)
@@ -459,6 +459,11 @@
                fLastMouseEventTab = tab;
                if (fLastMouseEventTab)
                        fLastMouseEventTab->MouseMoved(where, B_ENTERED_VIEW, 
dragMessage);
+               else {
+                       SetToolTip(static_cast<BToolTip*>(NULL));
+                       HideToolTip();
+                       SetToolTip("Double-click or middle-click to open new 
tab.");
+               }
        }
 }
 

Other related posts:

  • » [haiku-webkit-commits] r514 - webkit/trunk/WebKit/haiku/WebPositive/tabview - webkit