~ubuntu-branches/ubuntu/oneiric/muse/oneiric

« back to all changes in this revision

Viewing changes to muse/midieditor.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2010-11-17 21:43:38 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20101117214338-1hvfl7oo2dsqnvrb
Tags: 1.1-0ubuntu1
* New upstream release (LP: #668631)
* Switch to dpkg-source 3.0 (quilt) format
* Switch to dh7 short form
* debian/rules:
  - added --enable-dssi and --enable-osc to conf flags for dssi support
  - added -ljackserver to LDFLAGS to fix a FTBFS because of --as-needed
* debian/control:
  - added build build dependency on liblo-dev and dssi-dev for dssi support
  - bump Standards-version to 3.9.1. No changes required.
* debian/muse.desktop, debian/muse.xpm: dropped as desktop file and icon is
  now shipped upstream.
* fix-desktop-categories.patch: fix Categories tag in upstream desktop file
* 10_es_locale_fix.dpatch: refreshed and converted to quilt as
  fix_es_locale.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
            Track* track = part->track();
132
132
            int trkIdx   = song->tracks()->index(track);
133
133
            int partIdx  = track->parts()->index(part);
 
134
            
 
135
            if((trkIdx == -1) || (partIdx == -1))
 
136
              printf("MidiEditor::writePartList error: trkIdx:%d partIdx:%d\n", trkIdx, partIdx);
 
137
              
134
138
            xml.put(level, "<part>%d:%d</part>", trkIdx, partIdx);
135
139
            }
136
140
      }
196
200
      }
197
201
 
198
202
//---------------------------------------------------------
199
 
//   curMidiPart
 
203
//   curCanvasPart
200
204
//---------------------------------------------------------
201
205
 
202
206
Part* MidiEditor::curCanvasPart() 
219
223
    return 0; 
220
224
}
221
225
 
 
226
//---------------------------------------------------------
 
227
//   setCurCanvasPart
 
228
//---------------------------------------------------------
 
229
 
 
230
void MidiEditor::setCurCanvasPart(Part* part) 
 
231
 
232
  if(canvas) 
 
233
    canvas->setCurrentPart(part); 
 
234
}
 
235