make sample/test build
svn path=/trunk/gtk-sharp/; revision=23080
This commit is contained in:
parent
efd542b29c
commit
8f14f27048
1 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,8 @@ namespace WidgetViewer {
|
|||
box1.PackStart (box2, true, true, 0);
|
||||
|
||||
combo = new Gtk.Combo ();
|
||||
combo.SetPopdownStrings ("Foo", "Bar");
|
||||
string[] pop = {"Foo", "Bar"};
|
||||
combo.PopdownStrings = pop;
|
||||
combo.Entry.Activated += new EventHandler (OnComboActivated);
|
||||
box2.PackStart (combo, true, true, 0);
|
||||
|
||||
|
@ -60,7 +61,7 @@ namespace WidgetViewer {
|
|||
string text = ((Gtk.Entry) o).Text;
|
||||
|
||||
// combo.AppendString (text);
|
||||
combo.SetPopdownStrings (text);
|
||||
// combo.SetPopdownStrings (text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue