lib/gtk3app/config.rb in gtk3app-2.0.2 vs lib/gtk3app/config.rb in gtk3app-2.1.0
- old
+ new
@@ -86,9 +86,11 @@
quit!: [:QUIT, :quit, 'activate'],
# The app menu configuration.
# The application MAY ONLY modify app_menu.append_menu_item
# by removing un-wanted app menu items.
+ # Note that you can reference the item.key,
+ # see: Gtk3App::Widget::MenuItem < Such::MenuItem
APP_MENU: a0,
app_menu: {
append_menu_item: [:fs!, :about!, :help!, :minime!, :quit!],
},
app_menu!: [:APP_MENU, :app_menu, s0],