~ubuntu-branches/ubuntu/oneiric/kdeplasma-addons/oneiric-updates

« back to all changes in this revision

Viewing changes to applets/plasmaboard/widget.cpp

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman, Philip Muškovac
  • Date: 2011-12-08 22:07:41 UTC
  • mfrom: (0.7.12)
  • Revision ID: package-import@ubuntu.com-20111208220741-nrmjyqwqnyh4xpuj
Tags: 4:4.7.3-0ubuntu0.1
[ Philip Muškovac ]
New  upstream bugfix release (LP: #901975)

Show diffs side-by-side

added added

removed removed

Lines of Context:
553
553
{
554
554
    double factor_x = size().width() / 10048;
555
555
    double factor_y = size().height() / 10002;
556
 
    kDebug() << size() << "refreshing keys with factors of" << factor_x << factor_y;
557
556
 
558
557
    foreach (BoardKey * key, m_keys) {
559
558
        key->updateDimensions(factor_x, factor_y);
565
564
 
566
565
void PlasmaboardWidget::relabelKeys()
567
566
{
 
567
    Helpers::refreshXkbState();
568
568
    foreach (AlphaNumKey * key, m_alphaKeys) {
569
569
        key->switchKey(m_isLevel2, m_isAlternative, m_isLocked);
570
570
        update(key->rect());
682
682
        key->setAlternative(alt);
683
683
    }
684
684
 
 
685
    Helpers::flushPendingKeycodeMappingChanges();
685
686
    relabelKeys();
686
687
}
687
688