[mono/monodevelop] a9adb8f2: Fixed 'Bug 16197 - Error bubbles have wrong z-position'.

Mike Krüger ([email protected]) <[email protected]> Thu, 14 Nov 2013 06:04:36 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <0000014255361182-3b79d606-5dc7-4873-abeb-2e621f29d051-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/700f27dbca58...a9adb8f2693f

   Commit: a9adb8f2693f68981e25246b0a0cd1a615721d4a
   Author: Mike Krüger <[email protected]> (mkrueger)
     Date: 2013-11-14 06:03:22 GMT
      URL: https://github.com/mono/monodevelop/commit/a9adb8f2693f68981e25246b0a0cd1a615721d4a

Fixed 'Bug 16197 - Error bubbles have wrong z-position'.

Changed paths:
  M main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/MessageBubbleCache.cs

Modified: main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/MessageBubbleCache.cs
===================================================================
@@ -58,8 +58,8 @@ public MessageBubbleCache (TextEditor editor)
 			warningPixbuf = ImageService.GetPixbuf ("md-bubble-warning", Gtk.IconSize.Menu);
 			
 			editor.EditorOptionsChanged += HandleEditorEditorOptionsChanged;
-			editor.LeaveNotifyEvent += HandleLeaveNotifyEvent;
-			editor.MotionNotifyEvent += HandleMotionNotifyEvent;
+			editor.TextArea.LeaveNotifyEvent += HandleLeaveNotifyEvent;
+			editor.TextArea.MotionNotifyEvent += HandleMotionNotifyEvent;
 			editor.TextArea.BeginHover += HandleBeginHover;
 			editor.VAdjustment.ValueChanged += HandleValueChanged;
 			editor.HAdjustment.ValueChanged += HandleValueChanged;
@@ -289,8 +289,8 @@ public void Dispose ()
 			editor.VAdjustment.ValueChanged -= HandleValueChanged;
 			editor.HAdjustment.ValueChanged -= HandleValueChanged;
 			editor.TextArea.BeginHover -= HandleBeginHover;
-			editor.LeaveNotifyEvent -= HandleLeaveNotifyEvent;
-			editor.MotionNotifyEvent -= HandleMotionNotifyEvent;
+			editor.TextArea.LeaveNotifyEvent -= HandleLeaveNotifyEvent;
+			editor.TextArea.MotionNotifyEvent -= HandleMotionNotifyEvent;
 			editor.EditorOptionsChanged -= HandleEditorEditorOptionsChanged;
 			if (textWidthDictionary != null) {
 				foreach (var l in textWidthDictionary.Values) {
_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches