From 2a985a6fa1f6c97815c93feecc203ace615528a6 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 30 Sep 2024 02:33:13 +0300 Subject: [PATCH] make initial update action --- src/browser.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/browser.rs b/src/browser.rs index 7b22d862..78c95e5b 100644 --- a/src/browser.rs +++ b/src/browser.rs @@ -7,7 +7,7 @@ use main::Main; use gtk::{ gio::SimpleAction, - prelude::{ActionMapExt, GtkWindowExt}, + prelude::{ActionExt, ActionMapExt, GtkWindowExt}, Application, ApplicationWindow, }; use std::sync::Arc; @@ -135,6 +135,9 @@ impl Browser { } }); + // Make initial update @TODO move to the app init level + action_update.activate(None); + // Return activated browser struct Self { // db,