~shippo/plank/fix-1251625

Viewing all changes in revision 1587.

  • Committer: Rico Tzschichholz
  • Author(s): Peter Feichtinger
  • Date: 2017-02-09 12:53:29 UTC
  • Revision ID: ricotz@ubuntu.com-20170209125329-okzndtz6btfvw3bi
Fix underscores not being shown in some menu items
  
Previously all menu items would be created with mnemonics enabled, which
resulted in underscores being interpreted instead of shown literally.

This is not really useful for window titles and file names, which
frequently contain underscores.

This commit fixes the issue by introducing new menu item factory
functions in addition to the existing ones, which create menu items
with mnemonics disabled. Those items are used wherever names need to be
shown literally (i.e. window titles and file names).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: