diff options
Diffstat (limited to 'src/toolbars')
-rw-r--r-- | src/toolbars/navigation-toolbar.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/toolbars/navigation-toolbar.c b/src/toolbars/navigation-toolbar.c index 05090eb..705046c 100644 --- a/src/toolbars/navigation-toolbar.c +++ b/src/toolbars/navigation-toolbar.c @@ -30,6 +30,8 @@ #include "../web-view.h" #include "find-toolbar.h" #include "navigation/back-forward-button-box.h" +#include "navigation/downloads-button.h" +#include "navigation/history-button.h" #include "navigation/home-button.h" #include "navigation/main-menu.h" #include "navigation/stop-reload-button.h" @@ -69,6 +71,8 @@ constructed(GObject *object) GtkToolItem *stop_reload_button; GtkToolItem *uri_entry; GtkToolItem *home_button; + GtkToolItem *history_button; + GtkToolItem *downloads_button; GtkToolItem *menu_button; if (G_OBJECT_CLASS(mq_navigation_toolbar_parent_class)->constructed) { @@ -94,6 +98,12 @@ constructed(GObject *object) home_button = mq_home_button_new(navigation_toolbar->config, navigation_toolbar->web_view); + /* History button */ + history_button = mq_history_button_new(); + + /* Downloads button */ + downloads_button = mq_downloads_button_new(); + /* Menu button */ menu_button = mq_main_menu_new(navigation_toolbar->tab_page, navigation_toolbar->find_toolbar, navigation_toolbar->web_view); @@ -105,6 +115,9 @@ constructed(GObject *object) stop_reload_button, -1); gtk_toolbar_insert(GTK_TOOLBAR(navigation_toolbar), uri_entry, -1); gtk_toolbar_insert(GTK_TOOLBAR(navigation_toolbar), home_button, -1); + gtk_toolbar_insert(GTK_TOOLBAR(navigation_toolbar), history_button, -1); + gtk_toolbar_insert(GTK_TOOLBAR(navigation_toolbar), + downloads_button, -1); gtk_toolbar_insert(GTK_TOOLBAR(navigation_toolbar), menu_button, -1); gtk_widget_set_hexpand(GTK_WIDGET(navigation_toolbar), TRUE); |