Permalink
Browse files

2005-03-29 Zoltan Varga <vargaz@freemail.hu>

	* gui/gtk/*.cs: Applied patch from Rafael Teixeira <monoman@gmail.com>.
	Fix compilation problems on HEAD.

svn path=/trunk/monocov/; revision=42325
  • Loading branch information...
1 parent b3856a4 commit b0aa74677368d1bf6b54090d8eef6b25105c3f3c @vargaz vargaz committed Mar 29, 2005
Showing with 9 additions and 6 deletions.
  1. +3 −0 ChangeLog
  2. +1 −1 gui/gtk/CoverageView.cs
  3. +2 −2 gui/gtk/MonoCov.cs
  4. +3 −3 gui/gtk/SourceWindow.cs
View
@@ -1,5 +1,8 @@
2005-03-29 Zoltan Varga <vargaz@freemail.hu>
+ * gui/gtk/*.cs: Applied patch from Rafael Teixeira <monoman@gmail.com>.
+ Fix compilation problems on HEAD.
+
* symbols.cs: Update to latest Mono.CompilerServices.SymbolWriter.
* Makefile: Disable building of nunit-console.exe for now.
@@ -215,7 +215,7 @@ SourceWindow ShowSourceFor (ClassItem item)
source_views [item.Model.sourceFile] = SourceView;
window_maps [SourceView] = item.Model.sourceFile;
SourceView.Show ();
- SourceView.DeleteEvent += new Gtk.DeleteEventHandler (OnDeleteEvent);
+ SourceView.DeleteEvent += new DeleteEventHandler (OnDeleteEvent);
}
return SourceView;
View
@@ -11,7 +11,7 @@
using GLib;
using Gtk;
-using Gnome;
+//using Gnome;
using Glade;
using GtkSharp;
using System;
@@ -30,7 +30,7 @@ public class MonoCovGui {
Glade.XML xml;
- [Glade.Widget] Gtk.Window main;
+ [Glade.Widget] Window main;
[Glade.Widget] ScrolledWindow scrolledwindow1;
public static int GuiMain (String[] args)
@@ -17,17 +17,17 @@ public SourceWindow (CoverageView.ClassItem klass)
ScrolledWindow sw = new ScrolledWindow ();
- text_buffer = new TextBuffer (new Gtk.TextTagTable ());
+ text_buffer = new TextBuffer (new TextTagTable ());
text_view = new TextView (text_buffer);
text_view.Editable = false;
sw.Add (text_view);
Add (sw);
- hit_color = new Gtk.TextTag ("hit");
+ hit_color = new TextTag ("hit");
hit_color.Foreground = "blue";
text_buffer.TagTable.Add (hit_color);
- missed_color = new Gtk.TextTag ("miss");
+ missed_color = new TextTag ("miss");
missed_color.Foreground = "red";
text_buffer.TagTable.Add (missed_color);
LoadFile (klass);

0 comments on commit b0aa746

Please sign in to comment.