Browse Source

Moved and renamed right click menu's Toggle Line Comment to Toggle Comments so that it corresponds to the normal menu

merge-requests/365/head
eidheim 9 years ago
parent
commit
e760f9c16f
  1. 14
      src/menu.cc

14
src/menu.cc

@ -21,6 +21,12 @@ const Glib::ustring menu_xml= R"RAW(<interface>
<attribute name='action'>app.edit_paste</attribute> <attribute name='action'>app.edit_paste</attribute>
</item> </item>
</section> </section>
<section>
<item>
<attribute name='label' translatable='yes'>_Toggle _Comments</attribute>
<attribute name='action'>app.source_comments_toggle</attribute>
</item>
</section>
<section> <section>
<item> <item>
<attribute name='label' translatable='yes'>_Go _to _Declaration</attribute> <attribute name='label' translatable='yes'>_Go _to _Declaration</attribute>
@ -43,12 +49,6 @@ const Glib::ustring menu_xml= R"RAW(<interface>
<attribute name='action'>app.source_rename</attribute> <attribute name='action'>app.source_rename</attribute>
</item> </item>
</section> </section>
<section>
<item>
<attribute name='label' translatable='yes'>_Toggle _Line _Comment</attribute>
<attribute name='action'>app.source_comments_toggle</attribute>
</item>
</section>
</menu> </menu>
<menu id='right-click-selected-menu'> <menu id='right-click-selected-menu'>
<section> <section>
@ -77,7 +77,7 @@ const Glib::ustring menu_xml= R"RAW(<interface>
</section> </section>
<section> <section>
<item> <item>
<attribute name='label' translatable='yes'>_Toggle _Line _Comment</attribute> <attribute name='label' translatable='yes'>_Toggle _Comments</attribute>
<attribute name='action'>app.source_comments_toggle</attribute> <attribute name='action'>app.source_comments_toggle</attribute>
</item> </item>
</section> </section>

Loading…
Cancel
Save