~awn-extras/awn-extras/trunk

Viewing all changes in revision 1542.

  • Committer: Julien Lavergne
  • Date: 2012-04-28 13:42:52 UTC
  • Revision ID: gilir@ubuntu.com-20120428134252-i6zo785mm14b5xow
Description: Make the main-menu work even if settings.menu does not exist
 The file settings.menu is no longer provided in gnome-menus and the "main-menu"
 applet refuses to work because of this.
 .
 Solution:
 - Comment out the "return FALSE" line which makes the applet abort.
 - Add a "&& app->settings" so that we only try to add settings.menu to the menu
   if it exists. The code worked without this when there was and there was not a
   settings menu present. This just avoids the many "Critical" warning/errors
   about trying to read a NULL settings.menu when none is not found.
Author: Miguel A. Colón Vélez <debian.micove@gmail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: