|
|
|
|
@ -466,9 +466,6 @@ void Window::set_menu_actions() {
|
|
|
|
|
notebook.open(declaration_file); |
|
|
|
|
auto view=notebook.get_current_view(); |
|
|
|
|
view->get_buffer()->place_cursor(view->get_buffer()->get_iter_at_line_index(offset.line, offset.index)); |
|
|
|
|
while(g_main_context_pending(NULL)) |
|
|
|
|
g_main_context_iteration(NULL, false); |
|
|
|
|
if(notebook.get_current_page()!=-1) |
|
|
|
|
view->scroll_to(view->get_buffer()->get_insert(), 0.0, 1.0, 0.5); |
|
|
|
|
view->delayed_tooltips_connection.disconnect(); |
|
|
|
|
}; |
|
|
|
|
|