logo

badwolf

Unnamed repository; edit this file 'description' to name the repository.
commit: e2bf7bf29ba2452f7a2404b5025c9d1212633017
parent: 7c7976f89396778fb74e6122ebb802fabdb30919
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  9 Mar 2019 06:42:08 +0100

badwolf.c: browser-search: set placeholder, remove frame

Diffstat:

Mbadwolf.c3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/badwolf.c b/badwolf.c @@ -222,6 +222,9 @@ int main(int argc, char *argv[]) gtk_entry_set_has_frame(GTK_ENTRY(browser->location), FALSE); gtk_entry_set_input_purpose(GTK_ENTRY(browser->location), GTK_INPUT_PURPOSE_URL); + gtk_entry_set_placeholder_text(GTK_ENTRY(browser->search), "search in current page"); + gtk_entry_set_has_frame(GTK_ENTRY(browser->search), FALSE); + g_signal_connect(browser->main_window, "destroy", G_CALLBACK(gtk_main_quit), NULL); g_signal_connect(browser->location, "activate", G_CALLBACK(locationCb_activate), browser);