Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 3 insertions, 0 deletions
-rw-r--r--badwolf.c3
diff --git a/badwolf.c b/badwolf.c
index a357319..003dda5 100644
--- 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);