src/Builder4/MainWindow.vala
"listeners" : {
"bind" : [
"(listitem) => {",
- " var lb = (Gtk.Label) (listitem as Gtk.ListItem).get_child();",
- " var item = (listitem as Gtk.ListItem).get_item() as WindowState;",
- " ",
- " lb.label = item.project.name;",
+ "\t var lb = (Gtk.Label) (listitem as Gtk.ListItem).get_child();",
+ "\t var item = (listitem as Gtk.ListItem).get_item() as WindowState;",
+ "\t ",
+ "\t lb.label = item.project.name;",
"",
"",
" ",
(listitem as Gtk.ListItem).activatable = true;
});
this.el.bind.connect( (listitem) => {
- var lb = (Gtk.Label) (listitem as Gtk.ListItem).get_child();
- var item = (listitem as Gtk.ListItem).get_item() as WindowState;
-
- lb.label = item.project.name;
+ var lb = (Gtk.Label) (listitem as Gtk.ListItem).get_child();
+ var item = (listitem as Gtk.ListItem).get_item() as WindowState;
+
+ lb.label = item.project.name;