Branch: refs/heads/master Author: Baillehache Pascal baillehache.pascal@gmail.com Committer: Colomban Wendling ban@herbesfolles.org Date: Sat, 09 Dec 2023 23:13:43 UTC Commit: ea2458e4472fe0d42d4e8ae460596b561b1d37c7 https://github.com/geany/geany/commit/ea2458e4472fe0d42d4e8ae460596b561b1d37...
Log Message: ----------- Fix focusing the symbol list through key binding
Fixes #3678
Co-authored-by: Colomban Wendling lists.ban@herbesfolles.org
Modified Paths: -------------- src/sidebar.c
Modified: src/sidebar.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1649,7 +1649,7 @@ void sidebar_focus_symbols_tab(void) if (ui_prefs.sidebar_visible && interface_prefs.sidebar_symbol_visible) { GtkNotebook *notebook = GTK_NOTEBOOK(main_widgets.sidebar_notebook); - GtkWidget *symbol_list_scrollwin = gtk_notebook_get_nth_page(notebook, TREEVIEW_SYMBOL); + GtkWidget *symbol_list_scrollwin = ui_lookup_widget(main_widgets.window, "scrolledwindow2");
gtk_notebook_set_current_page(notebook, TREEVIEW_SYMBOL); gtk_widget_grab_focus(gtk_bin_get_child(GTK_BIN(symbol_list_scrollwin)));
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).