Browse Source

implement refresh method

CPP-GTK4
yggverse 4 months ago
parent
commit
93802a5898
  1. 5
      src/app/browser/main/tab/page.cpp
  2. 1
      src/app/browser/main/tab/page.hpp

5
src/app/browser/main/tab/page.cpp

@ -81,6 +81,11 @@ Glib::ustring Page::get_subtitle() @@ -81,6 +81,11 @@ Glib::ustring Page::get_subtitle()
}
// Actions
void Page::refresh()
{
pageNavbar->refresh();
}
void Page::update()
{
title = _("Loading..");

1
src/app/browser/main/tab/page.hpp

@ -55,6 +55,7 @@ namespace app::browser::main::tab @@ -55,6 +55,7 @@ namespace app::browser::main::tab
Glib::ustring get_subtitle();
// Actions
void refresh();
void update();
};
}

Loading…
Cancel
Save