example: Port to gtk_application_set_accels_for_action
Instead of hardcoding an accelerator in the ui file, use gtk_application_set_accels_for_action.
This commit is contained in:
@ -12,7 +12,6 @@
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_Quit</attribute>
|
||||
<attribute name="action">app.quit</attribute>
|
||||
<attribute name="accel"><![CDATA[<Ctrl>Q]]></attribute>
|
||||
</item>
|
||||
</section>
|
||||
</menu>
|
||||
|
||||
Reference in New Issue
Block a user