diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-16 18:29:08 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-16 18:29:08 (EDT) |
commit | 3a09b3604aaef9019c8696b92ffc1e783203e80d (patch) | |
tree | baa4c343f5a58d9b7879e2cd6333195a9bfa648f /src | |
parent | a77cc16f994f14e8889fb2c1a9dfcd51229e0beb (diff) | |
download | marquee-3a09b3604aaef9019c8696b92ffc1e783203e80d.zip marquee-3a09b3604aaef9019c8696b92ffc1e783203e80d.tar.gz marquee-3a09b3604aaef9019c8696b92ffc1e783203e80d.tar.bz2 |
mq_tab_chrome_new(): Set location bar placeholder text
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-chrome.c | 2 |
1 files changed, 2 insertions, 0 deletions
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), |