~ubuntu-branches/ubuntu/saucy/enigma/saucy

« back to all changes in this revision

Viewing changes to src/gui/MainMenu.cc

  • Committer: Package Import Robot
  • Author(s): Erich Schubert
  • Date: 2012-06-19 21:47:22 UTC
  • mfrom: (5.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20120619214722-o8v3jobogn60iw68
Tags: 1.10~~pre-alpha+r2236-1
* New upstream checkout. No release on the horizon, but well playable.
* Acknowledge NMUs. Thank you!
* Drop suggest on enigma-level-previews which are not available for 1.10
* Update policy version, no changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
470
470
        // need to update flags
471
471
        std::string curname = ecl::SysMessageLocaleName();
472
472
        curname = curname.substr(0, curname.find('.'));
473
 
        for (int i = 0; i < flags.size(); i++)
 
473
        for (unsigned int i = 0; i < flags.size(); i++)
474
474
            flags[i]->setState(curname == nls::languages[i+1].localename);
475
475
                
476
476
        invalidate_all();