Sort the "View" menu.

View menu showed toolbar/dock-widget names in random order. This sorts them so
the menu is easier to read.

Change-Id: I6f7d117c121584320d6388e0c6f25b9f72585b3b
Fixed warnings.

Change-Id: I97df51b5791efb270970944baf1e3fe30ed36e69
Merge topic 'refactor_panels' into next

54e5121 Fixed warnings.
7d17646 Sort the "View" menu.