diff --git a/src/app/browser/window/tab/item/page/input/titan/header/form/mime.rs b/src/app/browser/window/tab/item/page/input/titan/header/form/mime.rs index c76b6911..cd4bbad9 100644 --- a/src/app/browser/window/tab/item/page/input/titan/header/form/mime.rs +++ b/src/app/browser/window/tab/item/page/input/titan/header/form/mime.rs @@ -6,11 +6,13 @@ pub trait Mime { impl Mime for gtk::Entry { fn mime(text: &str) -> Self { use gtk::prelude::EditableExt; + const TEXT: &str = "Content type (MIME)"; let mime = gtk::Entry::builder() .margin_bottom(8) - .placeholder_text("Content type (MIME)") + .placeholder_text(TEXT) .text(text) + //.tooltip_text(TEXT) .build(); mime.connect_changed(|this| { diff --git a/src/app/browser/window/tab/item/page/input/titan/header/form/token.rs b/src/app/browser/window/tab/item/page/input/titan/header/form/token.rs index 9ffe34ce..2780d962 100644 --- a/src/app/browser/window/tab/item/page/input/titan/header/form/token.rs +++ b/src/app/browser/window/tab/item/page/input/titan/header/form/token.rs @@ -6,9 +6,11 @@ pub trait Token { impl Token for Entry { fn token(text: &str) -> Self { + const TEXT: &str = "Token"; Entry::builder() - .placeholder_text("Token") + .placeholder_text(TEXT) .text(text) + //.tooltip_text(TEXT) .build() } }