diff --git a/ChangeLog b/ChangeLog index ff3d53422..c76bbd5f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-09-24 Christian Hergert + + * vte/Vte.metadata: Fix Vte.Terminal.SetColors to reflect proper mapping + to vte_terminal_set_colors. palette is now Gdk.Color[]. + * sample/VteTest.cs: Update to work with fixed parameter. + * doc/en/Vte/Terminal.xml: Update vte docs to reflect parameter fix. + 2005-09-23 Mike Kestner * configure.in.in : expand glib-sharp-2.0.pc. diff --git a/doc/en/Vte/Terminal.xml b/doc/en/Vte/Terminal.xml index b84b9e35e..71aaccd48 100644 --- a/doc/en/Vte/Terminal.xml +++ b/doc/en/Vte/Terminal.xml @@ -584,7 +584,7 @@ class T - + diff --git a/sample/VteTest.cs b/sample/VteTest.cs index 9d3e09ad2..6b5167e95 100644 --- a/sample/VteTest.cs +++ b/sample/VteTest.cs @@ -44,7 +44,12 @@ class T Gdk.Color.Parse ("black", ref black); // FIXME: following line is broken //term.ColorForeground = black; - term.SetColors (black, white, white, 16); + + // Create a palette with 0 colors. this could be replaced with + // a palette of colors with a size of 0, 8, 16, or 24. + Gdk.Color[] palette = new Gdk.Color[0]; + + term.SetColors (black, white, palette, palette.Length); //Console.WriteLine (term.UsingXft); //Console.WriteLine (term.Encoding); diff --git a/vte/Vte.metadata b/vte/Vte.metadata index 7712d4616..015e8f483 100644 --- a/vte/Vte.metadata +++ b/vte/Vte.metadata @@ -8,4 +8,5 @@ 1 1 + 1