vbox = (VBox) get_content_area ();
}
+ HBox hbox;
+ int i = 0;
buttons = new List<Hildon.Button> ();
foreach (Plugin plugin in CinaestProgram.plugins) {
var button = new Gtk.Button.with_label (plugin.get_name ());
Hildon.gtk_widget_set_theme_size (button, SizeType.FINGER_HEIGHT);
button.set_alignment(0, 0.5f);
- vbox.pack_start (button, true, true, 0);
+ if (i++ == 0) {
+ hbox = new HBox (true, 0);
+ vbox.pack_start (hbox, true, true, 0);
+ }
+ if (i == 2)
+ i = 0;
+ hbox.pack_start (button, true, true, 0);
button.clicked.connect (on_plugin_settings);