"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/FileDialog.cpp" between
xfe-1.41.tar.gz and xfe-1.42.tar.gz

About: Xfe (X File Explorer) is a file manager and browser (using the FOX toolkit).

FileDialog.cpp  (xfe-1.41):FileDialog.cpp  (xfe-1.42)
skipping to change at line 1575 skipping to change at line 1575
// Shift-F10 or Menu was pressed : open popup menu // Shift-F10 or Menu was pressed : open popup menu
if ((event->state&SHIFTMASK && event->code == KEY_F10) || event->code == KEY_Menu) if ((event->state&SHIFTMASK && event->code == KEY_F10) || event->code == KEY_Menu)
{ {
this->handle(sender, FXSEL(SEL_COMMAND, FileSelector::ID_POPUP_MENU), pt r); this->handle(sender, FXSEL(SEL_COMMAND, FileSelector::ID_POPUP_MENU), pt r);
return(1); return(1);
} }
// Any other key was pressed : handle the pressed key in the usual way // Any other key was pressed : handle the pressed key in the usual way
else else
{ {
if (list->onKeyPress(sender, sel, ptr)) if (this->onKeyPress(sender, sel, ptr))
{ {
return(1); return(1);
} }
} }
return(0); return(0);
} }
long FileSelector::onCmdKeyRelease(FXObject* sender, FXSelector sel, void* ptr) long FileSelector::onCmdKeyRelease(FXObject* sender, FXSelector sel, void* ptr)
{ {
if (list->onKeyRelease(sender, sel, ptr)) if (this->onKeyRelease(sender, sel, ptr))
{ {
return(1); return(1);
} }
return(0); return(0);
} }
// Object implementation // Object implementation
FXIMPLEMENT(FileDialog, DialogBox, NULL, 0) FXIMPLEMENT(FileDialog, DialogBox, NULL, 0)
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS