lib/gtk3app/config.rb in gtk3app-2.1.1 vs lib/gtk3app/config.rb in gtk3app-3.0.0

- old
+ new

@@ -54,11 +54,11 @@ about: h0, about!: [:ABOUT, :about, 'activate'], about_dialog: { set_program_name: 'Gtk3App', set_version: VERSION.semantic(0..1), - set_copyright: '(c) 2017 CarlosJHR64', + set_copyright: '(c) 2018 CarlosJHR64', set_comments: 'A Gtk3 Application Stub', set_website: 'https://github.com/carlosjhr64/gtk3app', set_website_label: 'See it at GitHub!', }, # Application SHOULD modify LOGO to use it's own logo image. @@ -84,26 +84,26 @@ QUIT: [label: 'Quit'], quit: h0, quit!: [:QUIT, :quit, 'activate'], # The app menu configuration. - # The application MAY ONLY modify app_menu.append_menu_item + # The application MAY ONLY modify app_menu.add_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!], + add_menu_item: [:fs!, :about!, :help!, :minime!, :quit!], }, app_menu!: [:APP_MENU, :app_menu, s0], # Minime's app-menu configuration. # The application SHOULD NOT modify # (the application will have the opportunity later to modify # minime's app-menu directly). MINI_MENU: a0, mini_menu: { - append_menu_item: [:quit!], + add_menu_item: [:quit!], }, mini_menu!: [:MINI_MENU, :mini_menu, s0], }, }