forked from AuroraMiddleware/gtk
Merge branch 'fix-gtk-application-menu-example' into 'master'
GtkApplicationWindow: Fix menubar example See merge request GNOME/gtk!2528
This commit is contained in:
commit
275302a9d5
@ -86,9 +86,16 @@
|
||||
* GtkBuilder *builder = gtk_builder_new_from_string (
|
||||
* "<interface>"
|
||||
* " <menu id='menubar'>"
|
||||
* " <submenu label='_Edit'>"
|
||||
* " <item label='_Copy' action='win.copy'/>"
|
||||
* " <item label='_Paste' action='win.paste'/>"
|
||||
* " <submenu>"
|
||||
* " <attribute name='label' translatable='yes'>_Edit</attribute>"
|
||||
* " <item>"
|
||||
* " <attribute name='label' translatable='yes'>_Copy</attribute>"
|
||||
* " <attribute name='action'>win.copy</attribute>"
|
||||
* " </item>"
|
||||
* " <item>"
|
||||
* " <attribute name='label' translatable='yes'>_Paste</attribute>"
|
||||
* " <attribute name='action'>win.paste</attribute>"
|
||||
* " </item>"
|
||||
* " </submenu>"
|
||||
* " </menu>"
|
||||
* "</interface>",
|
||||
|
Loading…
Reference in New Issue
Block a user