testTool: Remove trailing spaces
Marco Trevisan (TreviƱo)
5 years ago
25 | 25 | title: "test", |
26 | 26 | application: app |
27 | 27 | }); |
28 | ||
28 | ||
29 | 29 | var menu = new Gtk.Menu(); |
30 | 30 | |
31 | 31 | var item = Gtk.MenuItem.new_with_label("A standard item"); |
33 | 33 | |
34 | 34 | item = Gtk.MenuItem.new_with_label("Foo"); |
35 | 35 | menu.append(item); |
36 | ||
36 | ||
37 | 37 | item = Gtk.ImageMenuItem.new_with_label("Calculator"); |
38 | 38 | item.image = Gtk.Image.new_from_icon_name("gnome-calculator", Gtk.IconSize.MENU); |
39 | 39 | menu.append(item); |
40 | ||
40 | ||
41 | 41 | item = Gtk.CheckMenuItem.new_with_label("Check me!"); |
42 | 42 | menu.append(item); |
43 | 43 | |
48 | 48 | |
49 | 49 | item = Gtk.MenuItem.new_with_label("Blubdablub"); |
50 | 50 | sub.append(item); |
51 | ||
51 | ||
52 | 52 | item = new Gtk.SeparatorMenuItem(); |
53 | 53 | menu.append(item); |
54 | 54 | |
78 | 78 | |
79 | 79 | item = Gtk.MenuItem.new_with_label("abcdefg"); |
80 | 80 | submenu2.append(item); |
81 | ||
81 | ||
82 | 82 | item = new Gtk.SeparatorMenuItem(); |
83 | 83 | menu.append(item); |
84 | 84 | |
85 | 85 | var group = []; |
86 | ||
86 | ||
87 | 87 | for (let i = 0; i < 5; ++i) { |
88 | 88 | item = Gtk.RadioMenuItem.new_with_label(group, "Example Radio "+i); |
89 | 89 | group = Gtk.RadioMenuItem.prototype.get_group.apply(item)//.get_group(); |