rename page Request to Mode

This commit is contained in:
yggverse 2025-01-14 20:08:49 +02:00
parent 10c415063a
commit 557ad69edf
2 changed files with 20 additions and 17 deletions

View file

@ -1,14 +1,14 @@
use gtk::glib::{GString, Uri, UriFlags};
/// Request type for `Page` with optional value parsed
pub enum Request {
/// Page type for `Page` with optional value parsed
pub enum Mode {
Default(Uri),
Download(Uri),
Source(Uri),
Search(String),
}
impl Request {
impl Mode {
// Constructors
/// Create new `Self` from `request` string