Author: dsnell Date: 2006-10-12 12:07:44 -0400 (Thu, 12 Oct 2006) New Revision: 66610
Added: branches/dmsnell/todolist/ branches/dmsnell/todolist/AssemblyInfo.cs branches/dmsnell/todolist/DataFile.cs branches/dmsnell/todolist/Main.cs branches/dmsnell/todolist/MainWindow.cs branches/dmsnell/todolist/ToDoItem.cs branches/dmsnell/todolist/ToDoList.mdp branches/dmsnell/todolist/ToDoList.pidb branches/dmsnell/todolist/ToDoTile.cs branches/dmsnell/todolist/gtk-gui/ branches/dmsnell/todolist/gtk-gui/generated.cs branches/dmsnell/todolist/gtk-gui/gui.stetic branches/dmsnell/todolist/gtk-gui/library.dat branches/dmsnell/todolist/gtk-gui/objects.xml branches/dmsnell/todolist/gtk-gui/objects.xml.dat Log: ToDoList application Added: branches/dmsnell/todolist/AssemblyInfo.cs =================================================================== --- branches/dmsnell/todolist/AssemblyInfo.cs 2006-10-12 16:04:32 UTC (rev 66609) +++ branches/dmsnell/todolist/AssemblyInfo.cs 2006-10-12 16:07:44 UTC (rev 66610) @@ -0,0 +1,32 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following +// attributes. +// +// change them to the information which is associated with the assembly +// you compile. + +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// The assembly version has following format : +// +// Major.Minor.Build.Revision +// +// You can specify all values by your own or you can build default build and revision +// numbers with the '*' character (the default): + +[assembly: AssemblyVersion("1.0.*")] + +// The following attributes specify the key for the sign of your assembly. See the +// .NET Framework documentation for more information about signing. +// This is not required, if you don't want signing let these attributes like they're. +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] Added: branches/dmsnell/todolist/DataFile.cs =================================================================== --- branches/dmsnell/todolist/DataFile.cs 2006-10-12 16:04:32 UTC (rev 66609) +++ branches/dmsnell/todolist/DataFile.cs 2006-10-12 16:07:44 UTC (rev 66610) @@ -0,0 +1,134 @@ +using Gtk; +using System; +using System.IO; + +namespace ToDoList +{ + public class DataFile + { + private StreamReader inFile; + private StreamWriter outFile; + private string HomeDirectory; + private string Filename; + private int numItems; + + //const char RecordSeparator = 0x1E; + const char RecordSeparator = ';'; + + public DataFile() + { + HomeDirectory = Environment.GetFolderPath (Environment.SpecialFolder.Personal); + Filename = Path.Combine (HomeDirectory, ".todolistrc"); + + numItems = 0; + } + + public int ItemCount { + get { + return numItems; + } + set { + numItems = value; + } + } + + public void Save (TreeStore t) + { + outFile = new StreamWriter (File.Create (Filename)); + + if (t.IterNChildren () <= 0) { + outFile.Close (); + return; + } + + t.Foreach (PurgeItem); + t.Foreach (SaveItem); + + outFile.Close (); + } + + public bool PurgeItem (TreeModel tree, TreePath path, TreeIter iter) + { + TreeStore t = (TreeStore)tree; + + if ((bool)t.GetValue (iter, 0) == true) { + t.Remove (ref iter); + } + + return false; + } + + public bool SaveItem (TreeModel tree, TreePath path, TreeIter iter) + { + TreeStore t = (TreeStore)tree; + + outFile.WriteLine ("{0}{1}{2}", path, RecordSeparator, t.GetValue (iter, 1)); + + return false; + } + + public void Load (out TreeStore t) + { + GenerateNewTree (out t); + + if (!File.Exists (Filename)) { + return; + } + + inFile = new StreamReader (Filename); + + TreeIter iter; + t.GetIterFirst (out iter); + + numItems = 0; + LoadItems (inFile, t, iter, 1); + + inFile.Close (); + } + + private void LoadItems (StreamReader s, TreeStore t, TreeIter iter, int depth) + { + if (s.Peek () == -1) + return; + + string item = s.ReadLine (); + string [] args = item.Split (RecordSeparator); + int myDepth = args[0].Split (':').Length; + + // First node? + if (numItems == 0) { + iter = t.AppendValues (false, args[1]); + + // Going one level deeper - Child + } else if (myDepth > depth) { + iter = t.AppendNode (iter); + t.SetValue (iter, 0, false); + t.SetValue (iter, 1, args[1]); + + // Going up - Parent + } else if (myDepth < depth) { + for (int i = 0; i < (depth - myDepth); i++) + t.IterParent (out iter, iter); + + t.InsertAfter (out iter, iter); + t.SetValue (iter, 0, false); + t.SetValue (iter, 1, args[1]); + + // Save level - Sibling + } else { + t.InsertAfter (out iter, iter); + t.SetValue (iter, 0, false); + t.SetValue (iter, 1, args[1]); + + } + + numItems++; + LoadItems (s, t, iter, myDepth); + } + + private void GenerateNewTree (out TreeStore t) + { + t = new TreeStore (typeof(bool), typeof(string)); + } + } +} \ No newline at end of file Added: branches/dmsnell/todolist/Main.cs =================================================================== --- branches/dmsnell/todolist/Main.cs 2006-10-12 16:04:32 UTC (rev 66609) +++ branches/dmsnell/todolist/Main.cs 2006-10-12 16:07:44 UTC (rev 66610) @@ -0,0 +1,16 @@ +using System; +using Gtk; + +namespace ToDoList +{ + class MainClass + { + public static void Main (string[] args) + { + Application.Init (); + MainWindow win = new MainWindow (); + win.Show (); + Application.Run (); + } + } +} \ No newline at end of file Added: branches/dmsnell/todolist/MainWindow.cs =================================================================== --- branches/dmsnell/todolist/MainWindow.cs 2006-10-12 16:04:32 UTC (rev 66609) +++ branches/dmsnell/todolist/MainWindow.cs 2006-10-12 16:07:44 UTC (rev 66610) @@ -0,0 +1,100 @@ +using System; +using System.IO; +using System.Collections; +using Gtk; +using ToDoList; + +public class MainWindow: Gtk.Window +{ + protected Gtk.Button NewButton; + protected Gtk.Entry ToDoText; + protected Gtk.TreeView ToDoList; + protected Gtk.TreeStore ToDoStore; + + protected DataFile DataFile; + + const int TODO_APP_WIDTH = 450; + + protected int ToDoCount = 0; + + public MainWindow (): base ("") + { + Stetic.Gui.Build (this, typeof(MainWindow)); + this.Resize (TODO_APP_WIDTH, 28); + + ToDoStore = new TreeStore (typeof(bool), typeof(string)); + ToDoList.Model = ToDoStore; + ToDoList.HeadersVisible = true; + + CellRendererText ToDoCell = new CellRendererText (); + ToDoCell.Editable = true; + ToDoCell.Edited += ToDoEdited; + + CellRendererToggle crt = new CellRendererToggle (); + crt.Activatable = true; + crt.Toggled += crt_toggled; + crt.Height = 20; + + ToDoList.AppendColumn ("Done", crt, "active", 0); + ToDoList.AppendColumn ("To Do", ToDoCell, "text", 1); + + ToDoText.Text = ""; + + DataFile = new DataFile (); + DataFile.Load (out ToDoStore); + ToDoList.Model = ToDoStore; + + Resize (); + ToDoList.ExpandAll (); + ShowAll (); + } + + protected void crt_toggled (object o, ToggledArgs args) + { + TreeIter iter; + + if (ToDoStore.GetIter (out iter, new TreePath (args.Path))) { + bool old = (bool)ToDoStore.GetValue (iter, 0); + ToDoStore.SetValue (iter, 0, !old); + } + } + + protected void ToDoEdited (object o, EditedArgs args) + { + TreeIter iter; + ToDoStore.GetIter (out iter, new TreePath (args.Path)); + + ToDoStore.SetValue (iter, 1, args.NewText); + } + + protected void OnDeleteEvent (object sender, DeleteEventArgs a) + { + DataFile.Save (ToDoStore); + + Application.Quit (); + a.RetVal = true; + } + + public void RemoveToDo (object sender, System.EventArgs e) { + + } + + private void Resize () { + this.Resize (TODO_APP_WIDTH, 58 + DataFile.ItemCount * 24); + } + + protected virtual void OnNewButtonClicked(object sender, System.EventArgs e) + { + if (ToDoText.Text != "") { + ToDoStore.AppendValues (false, ToDoText.Text.Clone ()); + + ToDoText.Text = ""; + ToDoText.HasFocus = true; + + ToDoCount++; + DataFile.ItemCount++; + Resize (); + ShowAll (); + } + } +} \ No newline at end of file Added: branches/dmsnell/todolist/ToDoItem.cs =================================================================== --- branches/dmsnell/todolist/ToDoItem.cs 2006-10-12 16:04:32 UTC (rev 66609) +++ branches/dmsnell/todolist/ToDoItem.cs 2006-10-12 16:07:44 UTC (rev 66610) @@ -0,0 +1,19 @@ + +using System; + +namespace ToDoList +{ + + + public class ToDoItem + { + public string ToDoText; + public bool isDone; + + public ToDoItem(string s) + { + ToDoText = s; + isDone = false; + } + } +} Added: branches/dmsnell/todolist/ToDoList.mdp =================================================================== --- branches/dmsnell/todolist/ToDoList.mdp 2006-10-12 16:04:32 UTC (rev 66609) +++ branches/dmsnell/todolist/ToDoList.mdp 2006-10-12 16:07:44 UTC (rev 66610) @@ -0,0 +1,41 @@ +<Project name="ToDoList" fileversion="2.0" language="C#" ctype="DotNetProject"> + <Configurations active="Debug"> + <Configuration name="Debug" ctype="DotNetProjectConfiguration"> + <Output directory="../bin/Debug" assembly="ToDoList" /> + <Build debugmode="True" target="Exe" /> + <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" /> + <CodeGeneration compiler="Csc" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" /> + </Configuration> + <Configuration name="Release" ctype="DotNetProjectConfiguration"> + <Output directory="../bin/Release" assembly="ToDoList" /> + <Build debugmode="False" target="Exe" /> + <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" /> + <CodeGeneration compiler="Csc" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" /> + </Configuration> + </Configurations> + <DeploymentInformation strategy="File"> + <excludeFiles /> + </DeploymentInformation> + <Contents> + <File name="./gtk-gui/gui.stetic" subtype="Code" buildaction="EmbedAsResource" /> + <File name="./gtk-gui/generated.cs" subtype="Code" buildaction="Compile" /> + <File name="./MainWindow.cs" subtype="Code" buildaction="Compile" /> + <File name="./Main.cs" subtype="Code" buildaction="Compile" /> + <File name="./AssemblyInfo.cs" subtype="Code" buildaction="Compile" /> + <File name="./gtk-gui/objects.xml" subtype="Code" buildaction="EmbedAsResource" /> + <File name="./DataFile.cs" subtype="Code" buildaction="Compile" /> + </Contents> + <References> + <ProjectReference type="Gac" localcopy="True" refto="System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> + <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> + <ProjectReference type="Gac" localcopy="True" refto="glib-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> + <ProjectReference type="Gac" localcopy="True" refto="glade-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> + <ProjectReference type="Gac" localcopy="True" refto="pango-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> + </References> + <GtkDesignInfo> + <ExportedWidgets> + <Widget>ToDoList.ToDoTile</Widget> + </ExportedWidgets> + </GtkDesignInfo> +</Project> \ No newline at end of file Added: branches/dmsnell/todolist/ToDoList.pidb =================================================================== (Binary files differ) Property changes on: branches/dmsnell/todolist/ToDoList.pidb ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: branches/dmsnell/todolist/ToDoTile.cs =================================================================== --- branches/dmsnell/todolist/ToDoTile.cs 2006-10-12 16:04:32 UTC (rev 66609) +++ branches/dmsnell/todolist/ToDoTile.cs 2006-10-12 16:07:44 UTC (rev 66610) @@ -0,0 +1,27 @@ + +using System; + +namespace ToDoList +{ + + + public class ToDoTile : Gtk.Bin + { + public Gtk.Button DoneButton; + protected Gtk.TextView ToDoText; + + + public ToDoTile() + { + Stetic.Gui.Build(this, typeof(ToDoList.ToDoTile)); + this.HeightRequest = 24; + } + + public ToDoTile (ToDoItem tdi) + { + Stetic.Gui.Build(this, typeof(ToDoList.ToDoTile)); + + ToDoText.Buffer.Text = tdi.ToDoText; + } + } +} Added: branches/dmsnell/todolist/gtk-gui/generated.cs =================================================================== --- branches/dmsnell/todolist/gtk-gui/generated.cs 2006-10-12 16:04:32 UTC (rev 66609) +++ branches/dmsnell/todolist/gtk-gui/generated.cs 2006-10-12 16:07:44 UTC (rev 66610) @@ -0,0 +1,150 @@ +// ------------------------------------------------------------------------------ +// <autogenerated> +// This code was generated by a tool. +// Mono Runtime Version: 1.1.4322.2032 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </autogenerated> +// ------------------------------------------------------------------------------ + +namespace Stetic { + + + class Gui { + + public static void Build(object obj, System.Type type) { + Stetic.Gui.Build(obj, type.FullName); + } + + public static void Build(object obj, string id) { + System.Collections.Hashtable widgets = new System.Collections.Hashtable(); + if ((id == "MainWindow")) { + Gtk.Window cobj = ((Gtk.Window)(obj)); + // Widget MainWindow + cobj.Title = "To Do"; + cobj.Icon = Gtk.IconTheme.Default.LoadIcon("stock_insert-note", 16, 0); + cobj.WindowPosition = ((Gtk.WindowPosition)(4)); + cobj.AllowShrink = true; + cobj.DefaultWidth = 400; + cobj.Events = ((Gdk.EventMask)(0)); + cobj.Name = "MainWindow"; + // Container child MainWindow.Gtk.Container+ContainerChild + Gtk.VBox w1 = new Gtk.VBox(); + w1.Events = ((Gdk.EventMask)(0)); + w1.Name = "vbox1"; + // Container child vbox1.Gtk.Box+BoxChild + Gtk.HBox w2 = new Gtk.HBox(); + w2.Events = ((Gdk.EventMask)(0)); + w2.Name = "hbox1"; + // Container child hbox1.Gtk.Box+BoxChild + Gtk.Entry w3 = new Gtk.Entry(); + w3.Editable = true; + w3.CanFocus = true; + w3.Events = ((Gdk.EventMask)(0)); + w3.Name = "ToDoText"; + widgets["ToDoText"] = w3; + w2.Add(w3); + // Container child hbox1.Gtk.Box+BoxChild + Gtk.VButtonBox w5 = new Gtk.VButtonBox(); + w5.Events = ((Gdk.EventMask)(0)); + w5.Name = "vbuttonbox1"; + // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild + Gtk.Button w6 = new Gtk.Button(); + w6.UseUnderline = true; + w6.CanFocus = true; + w6.Events = ((Gdk.EventMask)(0)); + w6.Name = "NewButton"; + // Container child NewButton.Gtk.Container+ContainerChild + Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); + w7.Events = ((Gdk.EventMask)(0)); + w7.Name = "GtkAlignment"; + // Container child GtkAlignment.Gtk.Container+ContainerChild + Gtk.HBox w8 = new Gtk.HBox(); + w8.Spacing = 2; + w8.Events = ((Gdk.EventMask)(0)); + w8.Name = "GtkHBox"; + // Container child GtkHBox.Gtk.Container+ContainerChild + Gtk.Image w9 = new Gtk.Image(); + w9.Pixbuf = Gtk.IconTheme.Default.LoadIcon("stock_new-text", 16, 0); + w9.Events = ((Gdk.EventMask)(0)); + w9.Name = "image3"; + widgets["image3"] = w9; + w8.Add(w9); + // Container child GtkHBox.Gtk.Container+ContainerChild + Gtk.Label w11 = new Gtk.Label(); + w11.LabelProp = "_New"; + w11.UseUnderline = true; + w11.Events = ((Gdk.EventMask)(0)); + w11.Name = "GtkLabel"; + widgets["GtkLabel"] = w11; + w8.Add(w11); + widgets["GtkHBox"] = w8; + w7.Add(w8); + widgets["GtkAlignment"] = w7; + w6.Add(w7); + widgets["NewButton"] = w6; + w5.Add(w6); + Gtk.ButtonBox.ButtonBoxChild w15 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[w6])); + w15.Expand = false; + w15.Fill = false; + widgets["vbuttonbox1"] = w5; + w2.Add(w5); + Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(w2[w5])); + w16.Position = 1; + w16.Expand = false; + widgets["hbox1"] = w2; + w1.Add(w2); + Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w1[w2])); + w17.Expand = false; + // Container child vbox1.Gtk.Box+BoxChild + Gtk.ScrolledWindow w18 = new Gtk.ScrolledWindow(); + w18.VscrollbarPolicy = ((Gtk.PolicyType)(1)); + w18.HscrollbarPolicy = ((Gtk.PolicyType)(2)); + w18.ShadowType = ((Gtk.ShadowType)(1)); + w18.CanFocus = true; + w18.Events = ((Gdk.EventMask)(0)); + w18.Name = "ToDoScrollPane"; + // Container child ToDoScrollPane.Gtk.Container+ContainerChild + Gtk.TreeView w19 = new Gtk.TreeView(); + w19.Reorderable = true; + w19.CanFocus = true; + w19.Events = ((Gdk.EventMask)(0)); + w19.Name = "ToDoList"; + widgets["ToDoList"] = w19; + w18.Add(w19); + widgets["ToDoScrollPane"] = w18; + w1.Add(w18); + Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(w1[w18])); + w21.Position = 1; + widgets["vbox1"] = w1; + cobj.Add(w1); + cobj.DefaultHeight = 300; + widgets["MainWindow"] = cobj; + w3.Show(); + w9.Show(); + w11.Show(); + w8.Show(); + w7.Show(); + w6.Show(); + w5.Show(); + w2.Show(); + w19.Show(); + w18.Show(); + w1.Show(); + cobj.Show(); + cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent"))); + w3.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnNewButtonClicked"))); + w6.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnNewButtonClicked"))); + } + System.Reflection.FieldInfo[] fields = obj.GetType().GetFields(((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) | System.Reflection.BindingFlags.Instance)); + for (int n = 0; (n < fields.Length); n = (n + 1)) { + System.Reflection.FieldInfo field = fields[n]; + object widget = widgets[field.Name]; + if (((widget != null) && field.FieldType.IsInstanceOfType(widget))) { + field.SetValue(obj, widget); + } + } + } + } +} Added: branches/dmsnell/todolist/gtk-gui/gui.stetic =================================================================== --- branches/dmsnell/todolist/gtk-gui/gui.stetic 2006-10-12 16:04:32 UTC (rev 66609) +++ branches/dmsnell/todolist/gtk-gui/gui.stetic 2006-10-12 16:07:44 UTC (rev 66610) @@ -0,0 +1,122 @@ +<?xml version="1.0" encoding="utf-8"?> +<stetic-interface> + <widget class="Gtk.Window" id="MainWindow" design-size="400 300"> + <property name="Title" translatable="yes">To Do</property> + <property name="Icon">stock:stock_insert-note Menu</property> + <property name="WindowPosition">CenterOnParent</property> + <property name="AllowShrink">True</property> + <property name="DefaultWidth">400</property> + <property name="Visible">True</property> + <property name="Events">0</property> + <signal name="DeleteEvent" handler="OnDeleteEvent" /> + <child> + <widget class="Gtk.VBox" id="vbox1"> + <property name="Visible">True</property> + <property name="Events">0</property> + <child> + <widget class="Gtk.HBox" id="hbox1"> + <property name="Visible">True</property> + <property name="Events">0</property> + <child> + <widget class="Gtk.Entry" id="ToDoText"> + <property name="Editable">True</property> + <property name="Visible">True</property> + <property name="CanFocus">True</property> + <property name="Events">0</property> + <signal name="Activated" handler="OnNewButtonClicked" /> + </widget> + <packing> + <property name="AutoSize">False</property> + </packing> + </child> + <child> + <widget class="Gtk.VButtonBox" id="vbuttonbox1"> + <property name="Size">1</property> + <property name="Visible">True</property> + <property name="Events">0</property> + <child> + <widget class="Gtk.Button" id="NewButton"> + <property name="Type">TextAndIcon</property> + <property name="Icon">stock:stock_new-text Menu</property> + <property name="Label" translatable="yes">_New</property> + <property name="UseUnderline">True</property> + <property name="IsDialogButton">False</property> + <property name="Visible">True</property> + <property name="CanFocus">True</property> + <property name="Events">0</property> + <signal name="Clicked" handler="OnNewButtonClicked" /> + <child> + <widget class="Gtk.Alignment" id="GtkAlignment"> + <property name="Xscale">0</property> + <property name="Yscale">0</property> + <property name="Visible">True</property> + <property name="Events">0</property> + <child> + <widget class="Gtk.HBox" id="GtkHBox"> + <property name="Spacing">2</property> + <property name="Visible">True</property> + <property name="Events">0</property> + <child> + <widget class="Gtk.Image" id="image15"> + <property name="Pixbuf">stock:stock_new-text Menu</property> + <property name="Visible">True</property> + <property name="Events">0</property> + </widget> + </child> + <child> + <widget class="Gtk.Label" id="GtkLabel"> + <property name="LabelProp" translatable="yes">_New</property> + <property name="UseUnderline">True</property> + <property name="Visible">True</property> + <property name="Events">0</property> + </widget> + </child> + </widget> + </child> + </widget> + </child> + </widget> + <packing> + <property name="Expand">False</property> + <property name="Fill">False</property> + </packing> + </child> + </widget> + <packing> + <property name="Position">1</property> + <property name="AutoSize">False</property> + <property name="Expand">False</property> + </packing> + </child> + </widget> + <packing> + <property name="AutoSize">False</property> + <property name="Expand">False</property> + </packing> + </child> + <child> + <widget class="Gtk.ScrolledWindow" id="ToDoScrollPane"> + <property name="VscrollbarPolicy">Automatic</property> + <property name="HscrollbarPolicy">Never</property> + <property name="ShadowType">In</property> + <property name="Visible">True</property> + <property name="CanFocus">True</property> + <property name="Events">0</property> + <child> + <widget class="Gtk.TreeView" id="ToDoList"> + <property name="Reorderable">True</property> + <property name="Visible">True</property> + <property name="CanFocus">True</property> + <property name="Events">0</property> + </widget> + </child> + </widget> + <packing> + <property name="Position">1</property> + <property name="AutoSize">True</property> + </packing> + </child> + </widget> + </child> + </widget> +</stetic-interface> \ No newline at end of file Added: branches/dmsnell/todolist/gtk-gui/library.dat =================================================================== (Binary files differ) Property changes on: branches/dmsnell/todolist/gtk-gui/library.dat ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: branches/dmsnell/todolist/gtk-gui/objects.xml =================================================================== --- branches/dmsnell/todolist/gtk-gui/objects.xml 2006-10-12 16:04:32 UTC (rev 66609) +++ branches/dmsnell/todolist/gtk-gui/objects.xml 2006-10-12 16:07:44 UTC (rev 66610) @@ -0,0 +1,2 @@ +<objects> +</objects> \ No newline at end of file Added: branches/dmsnell/todolist/gtk-gui/objects.xml.dat =================================================================== --- branches/dmsnell/todolist/gtk-gui/objects.xml.dat 2006-10-12 16:04:32 UTC (rev 66609) +++ branches/dmsnell/todolist/gtk-gui/objects.xml.dat 2006-10-12 16:07:44 UTC (rev 66610) @@ -0,0 +1,2 @@ +<objects> +</objects> \ No newline at end of file _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches