projects
/
projects
/
chimara
/
chimara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d4e0181
)
Give focus to the text buffer after pager click
author
Philip Chimento
<philip.chimento@gmail.com>
Sun, 16 Sep 2012 14:03:31 +0000
(16:03 +0200)
committer
Philip Chimento
<philip.chimento@gmail.com>
Sun, 16 Sep 2012 14:03:31 +0000
(16:03 +0200)
libchimara/pager.c
patch
|
blob
|
history
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. */