~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to GMenu/src/applet-menu.c

  • Committer: Matthieu Baerts
  • Date: 2012-12-12 00:36:09 UTC
  • Revision ID: matttbe@gmail.com-20121212003609-1bt067hphibawkdz
GMenu: Fixed a typo
Without this commit, if the DE doesn't respect FreeDesktop rules (by using XDG env vars), the menu is empty

Show diffs side-by-side

added added

removed removed

Lines of Context:
720
720
                        continue;
721
721
 
722
722
                // this test should be the good one: with or without the prefix
723
 
                if (_check_file_exists (cXdgPath[i], cMenuPrefix ? cMenuPrefix : "", &cMenuFileName));
 
723
                if (_check_file_exists (cXdgPath[i], cMenuPrefix ? cMenuPrefix : "", &cMenuFileName))
724
724
                        break;
725
725
 
726
726
                // let's check with common prefixes
727
727
                for (int iPrefix = 0; cPrefixNames[iPrefix] != NULL; iPrefix++)
728
728
                {
729
 
                        if (_check_file_exists (cXdgPath[i], cPrefixNames[iPrefix], &cMenuFileName));
 
729
                        if (_check_file_exists (cXdgPath[i], cPrefixNames[iPrefix], &cMenuFileName))
730
730
                                break;
731
731
                }
732
732