This patch is for the nitpicky people who want to keep away from the mouse when they browse files.
I modified the on_view_key_press_event in the main-win.c file to handle GDK_Menu for the main window. It calls on_file_clicked and passes FM_FV_CONTEXT_MENU as theFmFolderViewClickEventType, etc so I can reuse the context menu code.
In desktop.c, I added a GDK_Menu case in the on_key_press_event function as well, this one calls the popup_menu function.
I'm still sort of new to the GTK stuff, so it might not be the best way this should be done. Anyway, even if my code isn't really used, I hope you guys add this feature in future releases, it really isn't much, but it helps with useability for some people.
Thanks for the great program :D
Log in to post a comment.