summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-chrome.c18
-rw-r--r--src/tab-chrome.h2
2 files changed, 10 insertions, 10 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index 31ac9a8..ce7b4cc 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -29,7 +29,7 @@ static GtkWidget *
navigation_toolbar_new(MqTabChrome *chrome, gchar *uri)
{
GtkToolbar *navigation_toolbar;
- GtkToolItem *location_bar_container;
+ GtkToolItem *uri_bar_container;
navigation_toolbar = GTK_TOOLBAR(gtk_toolbar_new());
@@ -47,16 +47,16 @@ navigation_toolbar_new(MqTabChrome *chrome, gchar *uri)
"Forward"),
-1);
- /* Location bar */
- location_bar_container = gtk_tool_item_new();
- chrome->location_bar = gtk_entry_new_with_buffer(
+ /* URI bar */
+ uri_bar_container = gtk_tool_item_new();
+ chrome->uri_bar = gtk_entry_new_with_buffer(
gtk_entry_buffer_new(uri, -1));
- gtk_entry_set_placeholder_text(GTK_ENTRY(chrome->location_bar),
+ gtk_entry_set_placeholder_text(GTK_ENTRY(chrome->uri_bar),
"URI...");
- gtk_container_add(GTK_CONTAINER(location_bar_container),
- chrome->location_bar);
- gtk_tool_item_set_expand(location_bar_container, TRUE);
- gtk_toolbar_insert(navigation_toolbar, location_bar_container, -1);
+ gtk_container_add(GTK_CONTAINER(uri_bar_container),
+ chrome->uri_bar);
+ gtk_tool_item_set_expand(uri_bar_container, TRUE);
+ gtk_toolbar_insert(navigation_toolbar, uri_bar_container, -1);
gtk_widget_set_hexpand(GTK_WIDGET(navigation_toolbar), TRUE);
diff --git a/src/tab-chrome.h b/src/tab-chrome.h
index 3ea82a1..565fedd 100644
--- a/src/tab-chrome.h
+++ b/src/tab-chrome.h
@@ -26,7 +26,7 @@
typedef struct {
GtkWidget *container;
- GtkWidget *location_bar;
+ GtkWidget *uri_bar;
} MqTabChrome;
MqTabChrome *