diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-chrome.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index ba1e4d5..ea0239e 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -32,16 +32,22 @@ navigation_toolbar_new(MqTabChrome *chrome, gchar *uri) GtkToolItem *location_bar_container; navigation_toolbar = gtk_toolbar_new(); + + /* Back button */ gtk_toolbar_insert(GTK_TOOLBAR(navigation_toolbar), gtk_tool_button_new( gtk_image_new_from_icon_name("go-previous", 16), "Back"), -1); + + /* Forward button */ gtk_toolbar_insert(GTK_TOOLBAR(navigation_toolbar), gtk_tool_button_new( gtk_image_new_from_icon_name("go-next", 16), "Forward"), -1); + + /* Location bar */ location_bar_container = gtk_tool_item_new(); chrome->location_bar = gtk_entry_new_with_buffer( gtk_entry_buffer_new(uri, -1)); @@ -52,6 +58,7 @@ navigation_toolbar_new(MqTabChrome *chrome, gchar *uri) gtk_tool_item_set_expand(location_bar_container, TRUE); gtk_toolbar_insert(GTK_TOOLBAR(navigation_toolbar), location_bar_container, -1); + gtk_widget_set_hexpand(navigation_toolbar, TRUE); return navigation_toolbar; |