application demo: Resolve a keyboard shortcut conflict
authorTimm Bäder <mail@baedert.org>
Mon, 27 Dec 2021 08:59:19 +0000 (09:59 +0100)
committerTimm Bäder <mail@baedert.org>
Mon, 27 Dec 2021 09:02:03 +0000 (10:02 +0100)
There were two menu entries side-by-side with the same keyboard shortcut

demos/gtk-demo/menus.ui

index f67180b9b4b6e702314897e65a6a3dc26300a9fa..35426fff91acc7dd0656db543a52bbfe2747c51b 100644 (file)
@@ -21,7 +21,7 @@
         <item>
           <attribute name="label" translatable="yes">Save _As...</attribute>
           <attribute name="action">app.save-as</attribute>
-          <attribute name="accel">&lt;Control&gt;s</attribute>
+          <attribute name="accel">&lt;Control&gt;&lt;Shift&gt;s</attribute>
         </item>
       </section>
       <section>