projects
/
projects
/
chimara
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Give focus to the text buffer after pager click
[projects/chimara/chimara.git]
/
libchimara
/
pager.c
diff --git
a/libchimara/pager.c
b/libchimara/pager.c
index 456bcd1477908133da7fd7769302500d5b83d85e..c36edc79cdde8a9ad02501a1c029dc036fd06783 100644
(file)
--- a/
libchimara/pager.c
+++ b/
libchimara/pager.c
@@
-79,6
+79,8
@@
pager_on_clicked(GtkButton *pager, winid_t win)
double upper = gtk_adjustment_get_upper(adj);
gtk_adjustment_set_value(adj, upper);
check_paging(adj, win);
double upper = gtk_adjustment_get_upper(adj);
gtk_adjustment_set_value(adj, upper);
check_paging(adj, win);
+ /* Give the focus back to the text view */
+ gtk_widget_grab_focus(win->widget);
}
/* When the user scrolls up in a textbuffer, start paging. */
}
/* When the user scrolls up in a textbuffer, start paging. */