diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-16 19:32:31 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-16 19:32:31 (EDT) |
commit | 83c1cf32ee6ed3b23f72b514d6a425632fb20b0c (patch) | |
tree | 82d8aa093b50bca8d00bc65f82c6254d30fa3936 | |
parent | 4904fea4313ac7cb63ea14f7e3f232c6c7831823 (diff) | |
download | marquee-83c1cf32ee6ed3b23f72b514d6a425632fb20b0c.zip marquee-83c1cf32ee6ed3b23f72b514d6a425632fb20b0c.tar.gz marquee-83c1cf32ee6ed3b23f72b514d6a425632fb20b0c.tar.bz2 |
src/tab-chrome.[ch]: s/uri_bar/uri_entry/
-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 * |