commit: b3f8033c7b8b99a4cb3774878938a16bd1eb1078
parent: ec3e0cddb97cbec13d721d1caf9499a7ff13b367
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 23 Jan 2019 10:37:32 +0100
badwolf.c: Remove frames browser->location, set it as a URL entry
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/badwolf.c b/badwolf.c
@@ -162,6 +162,8 @@ int main(int argc, char *argv[])
gtk_widget_set_halign(browser->statusbar, GTK_ALIGN_START);
gtk_entry_set_text(GTK_ENTRY(browser->location), target_url);
+ gtk_entry_set_has_frame(GTK_ENTRY(browser->location), FALSE);
+ gtk_entry_set_input_purpose(GTK_ENTRY(browser->location), GTK_INPUT_PURPOSE_URL);
g_signal_connect(browser->main_window, "destroy", G_CALLBACK(gtk_main_quit), NULL);