[geany/geany] 8afff8: Improve scrolling to display a plugin's keybindings

Colomban Wendling git-noreply at xxxxx
Sat Jun 1 18:07:12 UTC 2013


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sat, 01 Jun 2013 18:07:12 UTC
Commit:      8afff838c1127067e621ec49652d715427d3e141
             https://github.com/geany/geany/commit/8afff838c1127067e621ec49652d715427d3e141

Log Message:
-----------
Improve scrolling to display a plugin's keybindings

When scrolling the keybinding list to display a particular row, which
is used to display a particular plugin's keybindings, consistently
scroll so the row is on the top left.  This makes it easier to see the
row in question since it's always at the same location, and it shows
more child keybindings.


Modified Paths:
--------------
    src/prefs.c

Modified: src/prefs.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -350,7 +350,7 @@ void prefs_kb_search_name(const gchar *search)
 		if (g_strcmp0(name, search) == 0)
 		{
 			GtkTreePath *path = gtk_tree_model_get_path(model, &iter);
-			gtk_tree_view_scroll_to_cell(tree, path, NULL, FALSE, .0f, .0f);
+			gtk_tree_view_scroll_to_cell(tree, path, NULL, TRUE, .0f, .0f);
 			gtk_tree_path_free(path);
 			g_free(name);
 			break;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list