nemiver r755 - in trunk: . src/persp/dbgperspective



Author: jjongsma
Date: Thu Feb 21 05:00:14 2008
New Revision: 755
URL: http://svn.gnome.org/viewvc/nemiver?rev=755&view=rev

Log:
Fix a bug where a popup tooltip stayed on top of other windows.

Also a couple other minor changes to popup tooltip handling


Modified:
   trunk/ChangeLog
   trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc

Modified: trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc
==============================================================================
--- trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc	(original)
+++ trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc	Thu Feb 21 05:00:14 2008
@@ -1579,9 +1579,11 @@
 void
 DBGPerspective::on_leave_notify_event_signal (GdkEventCrossing *a_event)
 {
+    NEMIVER_TRY
     LOG_FUNCTION_SCOPE_NORMAL_D(DBG_PERSPECTIVE_MOUSE_MOTION_DOMAIN) ;
     if (a_event) {}
     stop_mouse_immobile_timer () ;
+    NEMIVER_CATCH
 }
 
 bool
@@ -3753,9 +3755,9 @@
     THROW_IF_FAIL (m_priv->workbench) ;
 
     m_priv->timeout_source_connection.disconnect () ;
-    m_priv->timeout_source_connection = Glib::signal_timeout ().connect
+    m_priv->timeout_source_connection = Glib::signal_timeout ().connect_seconds
         (sigc::mem_fun (*this, &DBGPerspective::on_mouse_immobile_timer_signal),
-         1000);
+         1);
     get_popup_tip ().hide () ;
 }
 
@@ -3763,7 +3765,9 @@
 DBGPerspective::stop_mouse_immobile_timer ()
 {
     LOG_FUNCTION_SCOPE_NORMAL_D (DBG_PERSPECTIVE_MOUSE_MOTION_DOMAIN) ;
+    THROW_IF_FAIL (m_priv) ;
     m_priv->timeout_source_connection.disconnect () ;
+    get_popup_tip ().hide () ;
 }
 
 PopupTip&



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]