Clean up some messages.

This commit is contained in:
Jonathan Moore Liles 2008-05-05 23:37:45 -05:00
parent 31e40639d2
commit a373535c75
2 changed files with 9 additions and 6 deletions

View File

@ -579,7 +579,7 @@ delete win;}
}
}
}
Function {find_item( Fl_Menu_ *menu, const char *path )} {open selected return_type {static Fl_Menu_Item *}
Function {find_item( Fl_Menu_ *menu, const char *path )} {open return_type {static Fl_Menu_Item *}
} {
code {return const_cast<Fl_Menu_Item*>(menu->find_item( path ));} {}
}
@ -593,6 +593,8 @@ if ( ! Session::open() )
find_item( m, "&Session/&Compact" )->deactivate();
find_item( m, "&Session/&Info" )->deactivate();
find_item( m, "&Timeline" )->deactivate();
timeline->deactivate();
transport->deactivate();
}
@ -601,10 +603,13 @@ else
find_item( m, "&Session/&Export" )->activate();
find_item( m, "&Session/&Compact" )->activate();
find_item( m, "&Session/&Info" )->activate();
find_item( m, "&Timeline" )->activate();
timeline->activate();
transport->activate();
}} {}
}} {selected
}
}
Function {update_progress( Fl_Progress *p, char *s, float v )} {open private return_type {static void}
} {

View File

@ -381,7 +381,7 @@ Track::track ( Audio_Sequence * t )
void
Track::add ( Control_Sequence *t )
{
DMESSAGE( "adding control sequence\n" );
DMESSAGE( "adding control sequence" );
t->track( this );
@ -397,7 +397,7 @@ Track::add ( Control_Sequence *t )
void
Track::add ( Annotation_Sequence *t )
{
DMESSAGE( "adding annotation sequence\n" );
DMESSAGE( "adding annotation sequence" );
t->track( this );
@ -463,8 +463,6 @@ Track::handle ( int m )
int d = Fl::event_dy();
printf( "%d\n", d );
if ( d < 0 )
size( size() - 1 );
else