diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-chrome.c | 6 | ||||
-rw-r--r-- | src/tab-chrome.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index 0afe3ce..39cba47 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -49,12 +49,12 @@ navigation_toolbar_new(MqTabChrome *chrome, gchar *uri) /* URI bar */ uri_toolitem = gtk_tool_item_new(); - chrome->uri_bar = gtk_entry_new_with_buffer( + chrome->uri_entry = gtk_entry_new_with_buffer( gtk_entry_buffer_new(uri, -1)); - gtk_entry_set_placeholder_text(GTK_ENTRY(chrome->uri_bar), + gtk_entry_set_placeholder_text(GTK_ENTRY(chrome->uri_entry), "URI..."); gtk_container_add(GTK_CONTAINER(uri_toolitem), - chrome->uri_bar); + chrome->uri_entry); gtk_tool_item_set_expand(uri_toolitem, TRUE); gtk_toolbar_insert(navigation_toolbar, uri_toolitem, -1); diff --git a/src/tab-chrome.h b/src/tab-chrome.h index 565fedd..74f65fe 100644 --- a/src/tab-chrome.h +++ b/src/tab-chrome.h @@ -26,7 +26,7 @@ typedef struct { GtkWidget *container; - GtkWidget *uri_bar; + GtkWidget *uri_entry; } MqTabChrome; MqTabChrome * |