~ubuntu-branches/ubuntu/raring/muse/raring-proposed

« back to all changes in this revision

Viewing changes to muse/widgets/canvas.cpp

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-11-22 01:16:59 UTC
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: package-import@ubuntu.com-20121122011659-a2fwbf33ceqe1s0t
Tags: upstream-2.1~rc1
ImportĀ upstreamĀ versionĀ 2.1~rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
374
374
                  // Draw unselected parts.
375
375
                  list2.push_back(ci);
376
376
              }  
377
 
            }  
 
377
            }
378
378
            int i;
379
379
            int sz = list1.size();
380
380
            for(i = 0; i != sz; ++i) 
753
753
            switch (_tool) {
754
754
                  case PointerTool:
755
755
                        if (curItem) {
756
 
                              if (curItem->part() != curPart) {
757
 
                                    curPart = curItem->part();
758
 
                                    curPartId = curPart->sn();
759
 
                                    curPartChanged();
760
 
                                    }
761
756
                              itemPressed(curItem);
762
757
                              // Changed by T356. Alt is default reserved for moving the whole window in KDE. Changed to Shift-Alt.
763
758
                              // Hmm, nope, shift-alt is also reserved sometimes. Must find a way to bypass, 
1228
1223
            case DRAG_MOVE_START:
1229
1224
            case DRAG_COPY_START:
1230
1225
            case DRAG_CLONE_START:
 
1226
                  if (curItem->part() != curPart) {
 
1227
                        curPart = curItem->part();
 
1228
                        curPartId = curPart->sn();
 
1229
                        curPartChanged();
 
1230
                        }
 
1231
 
1231
1232
                  if (!ctrl)
1232
1233
                        deselectAll();
1233
1234