fix deprecated methods
fix more deprecated functions
set which button was pressed on gtk_menu_popup
typecast dirtree to fix compiler warnihngs
use GtkToolButton, more fixes of deprecated functions