Provide shortcuts in compaction confirmation dialog.

This commit is contained in:
Jonathan Moore Liles 2008-05-07 10:20:13 -05:00
parent 1edc236960
commit 452e1df554
1 changed files with 3 additions and 3 deletions

View File

@ -187,12 +187,12 @@ update_menu();}
} }
MenuItem {} { MenuItem {} {
label {&Compact} label {&Compact}
callback {int n = fl_choice( "Compacting will replace the project history with a snapshot of the current state.\\n You will not be able to use Undo to go back beyond this point.\\n This operation is irreversible!", NULL, "Abort", "Procede with compaction" ); callback {int n = fl_choice( "Compacting will replace the project history with a snapshot of the current state.\\nYou will not be able to use Undo to go back beyond this point.\\n\\nThis operation is irreversible!", NULL, "&Cancel", "Pr&ocede with compaction" );
if ( n != 2 ) if ( n != 2 )
return; return;
Loggable::compact();} Loggable::compact();} selected
xywh {20 20 40 25} xywh {20 20 40 25}
} }
Submenu {} { Submenu {} {
@ -218,7 +218,7 @@ Project::close();
printf( "dropped %d buffers\\n", engine->dropped() ); printf( "dropped %d buffers\\n", engine->dropped() );
exit( 0 );} selected exit( 0 );}
xywh {40 40 40 25} shortcut 0x40071 xywh {40 40 40 25} shortcut 0x40071
} }
} }