summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-16 23:27:25 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-16 23:27:25 (EDT)
commit76709503c0f51a23985c1c4496ed7968ac281de8 (patch)
treedbe7ad7b9f5c4d31d9aab81e51b358995d650286 /src
parenta3dbfc96cf43f341534f6620c2c0cda8662f7996 (diff)
downloadmarquee-76709503c0f51a23985c1c4496ed7968ac281de8.zip
marquee-76709503c0f51a23985c1c4496ed7968ac281de8.tar.gz
marquee-76709503c0f51a23985c1c4496ed7968ac281de8.tar.bz2
navigation_toolbar_new(): Move gtk_entry_set_*() calls
Diffstat (limited to 'src')
-rw-r--r--src/tab-chrome.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index 8a992cc..43aaac2 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -53,13 +53,13 @@ navigation_toolbar_new(MqTabChrome *chrome, gchar *uri)
gtk_entry_set_text(GTK_ENTRY(chrome->uri_entry), uri);
gtk_entry_set_placeholder_text(GTK_ENTRY(chrome->uri_entry),
"URI...");
+ gtk_entry_set_icon_from_icon_name(GTK_ENTRY(chrome->uri_entry),
+ GTK_ENTRY_ICON_PRIMARY, "text-x-generic");
+ gtk_entry_set_progress_fraction(GTK_ENTRY(chrome->uri_entry), 0.0);
gtk_container_add(GTK_CONTAINER(uri_toolitem),
chrome->uri_entry);
gtk_tool_item_set_expand(uri_toolitem, TRUE);
gtk_toolbar_insert(navigation_toolbar, uri_toolitem, -1);
- gtk_entry_set_icon_from_icon_name(GTK_ENTRY(chrome->uri_entry),
- GTK_ENTRY_ICON_PRIMARY, "text-x-generic");
- gtk_entry_set_progress_fraction(GTK_ENTRY(chrome->uri_entry), 0.0);
gtk_widget_set_hexpand(GTK_WIDGET(navigation_toolbar), TRUE);