2005-08-25 Mike Kestner <mkestner@novell.com>
* sample/GtkDemo/DemoIconView.cs : remove some C# 2.0-isms. svn path=/trunk/gtk-sharp/; revision=48850
This commit is contained in:
parent
cbe9bad936
commit
0772f353e2
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-08-25 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* sample/GtkDemo/DemoIconView.cs : remove some C# 2.0-isms.
|
||||
|
||||
2005-08-23 Ben Maurer <bmaurer@novell.com>
|
||||
|
||||
* glib/Object.cs: Escape names and ensure stuff is unique.
|
||||
|
|
|
@ -53,8 +53,8 @@ namespace GtkDemo
|
|||
IconView iconView = new IconView (store);
|
||||
iconView.SelectionMode = SelectionMode.Multiple;
|
||||
|
||||
upButton.Clicked += OnUpClicked;
|
||||
homeButton.Clicked += OnHomeClicked;
|
||||
upButton.Clicked += new EventHandler (OnUpClicked);
|
||||
homeButton.Clicked += new EventHandler (OnHomeClicked);
|
||||
|
||||
iconView.TextColumn = COL_DISPLAY_NAME;
|
||||
iconView.PixbufColumn = COL_PIXBUF;
|
||||
|
@ -77,7 +77,7 @@ namespace GtkDemo
|
|||
ListStore store = new ListStore (typeof (string), typeof (string), typeof (Gdk.Pixbuf), typeof (bool));
|
||||
|
||||
// Set sort column and function
|
||||
store.DefaultSortFunc = SortFunc;
|
||||
store.DefaultSortFunc = new TreeIterCompareFunc (SortFunc);
|
||||
store.SetSortColumnId (COL_DISPLAY_NAME, SortType.Ascending);
|
||||
|
||||
return store;
|
||||
|
|
Loading…
Reference in a new issue