Skip to content
This repository
Browse code

gtk-demo: fix uimanager demo, which assigned the same value to all ac…

…celerators
  • Loading branch information...
commit 36945b9aa52e68a55ea0c5d6b8e2fcd8a9688c44 1 parent d199623
Pavel Holejsovsky authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  samples/gtk-demo/demo-uimanager.lua
2  samples/gtk-demo/demo-uimanager.lua
@@ -17,6 +17,7 @@ local COLOR = { RED = 1, GREEN = 2, BLUE = 3 }
17 17 local SHAPE = { SQUARE = 1, RECTANGLE = 2, OVAL = 3 }
18 18
19 19 local actions = Gtk.ActionGroup {
  20 + name = 'Actions',
20 21 Gtk.Action { name = 'FileMenu', label = "_File" },
21 22 Gtk.Action { name = 'PreferencesMenu', label = "_Preferences" },
22 23 Gtk.Action { name = 'ColorMenu', label = "_Color" },
@@ -139,6 +140,7 @@ local window = Gtk.Window {
139 140 Gtk.Box {
140 141 orientation = 'VERTICAL',
141 142 spacing = 10,
  143 + border_width = 10,
142 144 Gtk.Button {
143 145 id = 'close',
144 146 label = "close",

0 comments on commit 36945b9

Please sign in to comment.
Something went wrong with that request. Please try again.