[Monodevelop-patches-list] r1434 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . CodeCompletion
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sat Apr 10 14:39:59 EDT 2004
Author: tberman
Date: 2004-04-10 14:39:59 -0400 (Sat, 10 Apr 2004)
New Revision: 1434
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
Log:
use rendericon
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2004-04-10 17:20:19 UTC (rev 1433)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2004-04-10 18:39:59 UTC (rev 1434)
@@ -1,11 +1,16 @@
2004-04-10 Todd Berman <tberman at sevenl.net>
+ * CodeCompletion/CompletionWindow.cs: convert to RenderIcon and away
+ from stock-id, because of gtk+2.4 sizing issues.
+
+2004-04-10 Todd Berman <tberman at sevenl.net>
+
* Gui/SourceEditorView.cs: cleanup the delete line func.
2004-04-09 Todd Berman <tberman at sevenl.net>
* Gui/SourceEditorBuffer.cs:
- * CodeCompletionCompletionWindow.cs:
+ * CodeCompletion/CompletionWindow.cs:
add atomic undo on code completion, cause its scary now.
2004-04-09 Todd Berman <tberman at sevenl.net>
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs 2004-04-10 17:20:19 UTC (rev 1433)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs 2004-04-10 18:39:59 UTC (rev 1434)
@@ -191,7 +191,7 @@
SkipTaskbarHint = true;
TypeHint = Gdk.WindowTypeHint.Dialog;
- store = new Gtk.TreeStore (typeof (string), typeof (string), typeof(ICompletionData));
+ store = new Gtk.TreeStore (typeof (string), typeof (Gdk.Pixbuf), typeof(ICompletionData));
listView = new Gtk.TreeView (store);
listView.HeadersVisible = false;
@@ -199,9 +199,8 @@
complete_column.Title = "completion";
Gtk.CellRendererPixbuf pix_render = new Gtk.CellRendererPixbuf ();
- pix_render.StockSize = Gtk.IconSize.Button;
complete_column.PackStart (pix_render, false);
- complete_column.AddAttribute (pix_render, "stock-id", 1);
+ complete_column.AddAttribute (pix_render, "pixbuf", 1);
Gtk.CellRendererText text_render = new Gtk.CellRendererText ();
complete_column.PackStart (text_render, true);
@@ -328,7 +327,7 @@
}
foreach (ICompletionData data in completionData) {
- store.AppendValues (data.Text[0], data.Image, data);
+ store.AppendValues (data.Text[0], RenderIcon (data.Image, Gtk.IconSize.Menu, ""), data);
}
// sort here
store.SetSortColumnId (0, SortType.Ascending);
More information about the Monodevelop-patches-list
mailing list