[evince/wip/gpoo/gtk4-rebase-port: 51/89] ev-view: set widget focusable
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/gpoo/gtk4-rebase-port: 51/89] ev-view: set widget focusable
- Date: Mon, 21 Mar 2022 01:11:30 +0000 (UTC)
commit e4b122dbc73d3b790270cec1180c7ba4e775b27c
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date: Sat Aug 14 12:56:14 2021 +0800
ev-view: set widget focusable
Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>
libview/ev-view.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 4de6ce9ba..ba66e10db 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -8357,6 +8357,7 @@ ev_view_init (EvView *view)
// gtk_widget_set_has_window (GTK_WIDGET (view), TRUE);
gtk_widget_set_can_focus (GTK_WIDGET (view), TRUE);
+ gtk_widget_set_focusable (GTK_WIDGET (view), TRUE);
// gtk_widget_set_redraw_on_allocate (GTK_WIDGET (view), FALSE);
// gtk_widget_set_has_tooltip (GTK_WIDGET (view), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]