From 3a09b3604aaef9019c8696b92ffc1e783203e80d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 16 Sep 2017 18:29:08 -0400 Subject: mq_tab_chrome_new(): Set location bar placeholder text --- (limited to 'src') diff --git a/src/tab-chrome.c b/src/tab-chrome.c index b09484d..796b633 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -47,6 +47,8 @@ mq_tab_chrome_new(gchar *uri) location_bar_container = gtk_tool_item_new(); chrome->location_bar = gtk_entry_new_with_buffer( gtk_entry_buffer_new(uri, -1)); + gtk_entry_set_placeholder_text(GTK_ENTRY(chrome->location_bar), + "URI..."); gtk_container_add(GTK_CONTAINER(location_bar_container), chrome->location_bar); gtk_toolbar_insert(GTK_TOOLBAR(chrome->container), -- cgit v0.9.1