Browse Source

Merge branch 'ctrl_right_click_goto_implementation' of https://github.com/artisdom/jucipp

merge-requests/365/head
eidheim 9 years ago
parent
commit
c418be18bc
  1. 8
      src/source.cc

8
src/source.cc

@ -2230,6 +2230,14 @@ bool Source::View::on_button_press_event(GdkEventButton *event) {
return true;
}
if((event->type == GDK_BUTTON_PRESS) && (event->button == 1)){
if(event->state & GDK_CONTROL_MASK) {
hide_tooltips();
Menu::get().actions["source_goto_implementation"]->activate();
return true;
}
}
if((event->type == GDK_BUTTON_PRESS) && (event->button == 3)){
hide_tooltips();
if(!get_buffer()->get_has_selection()){

Loading…
Cancel
Save