From f9306359c13a3134ebd61106b7c7fc9c96b4fbd0 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 15 Dec 2024 17:38:41 +0200 Subject: [PATCH] use default cursor --- .../content/text/gemini/reader/widget/find/navigation/back.rs | 3 ++- .../text/gemini/reader/widget/find/navigation/forward.rs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find/navigation/back.rs b/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find/navigation/back.rs index ef44000c..4c803943 100644 --- a/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find/navigation/back.rs +++ b/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find/navigation/back.rs @@ -1,8 +1,9 @@ use super::MARGIN; -use gtk::Button; +use gtk::{gdk::Cursor, Button}; pub fn new() -> Button { Button::builder() + .cursor(&Cursor::from_name("default", None).unwrap()) .icon_name("go-previous-symbolic") .margin_bottom(MARGIN) .margin_top(MARGIN) diff --git a/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find/navigation/forward.rs b/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find/navigation/forward.rs index 154f9d89..3862e0d0 100644 --- a/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find/navigation/forward.rs +++ b/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find/navigation/forward.rs @@ -1,8 +1,9 @@ use super::MARGIN; -use gtk::Button; +use gtk::{gdk::Cursor, Button}; pub fn new() -> Button { Button::builder() + .cursor(&Cursor::from_name("default", None).unwrap()) .icon_name("go-next-symbolic") .margin_bottom(MARGIN) .margin_top(MARGIN)