diff options
Diffstat (limited to 'src/toolbars/navigation-toolbar.c')
-rw-r--r-- | src/toolbars/navigation-toolbar.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/toolbars/navigation-toolbar.c b/src/toolbars/navigation-toolbar.c index 705046c..2392efd 100644 --- a/src/toolbars/navigation-toolbar.c +++ b/src/toolbars/navigation-toolbar.c @@ -30,6 +30,7 @@ #include "../web-view.h" #include "find-toolbar.h" #include "navigation/back-forward-button-box.h" +#include "navigation/bookmarks-button-box.h" #include "navigation/downloads-button.h" #include "navigation/history-button.h" #include "navigation/home-button.h" @@ -68,6 +69,7 @@ constructed(GObject *object) { MqNavigationToolbar *navigation_toolbar; GtkToolItem *back_forward_button_box; + GtkToolItem *bookmarks_button_box; GtkToolItem *stop_reload_button; GtkToolItem *uri_entry; GtkToolItem *home_button; @@ -94,6 +96,9 @@ constructed(GObject *object) uri_entry = mq_uri_entry_new(navigation_toolbar->web_view, navigation_toolbar->uri); + /* Bookmarks button box */ + bookmarks_button_box = mq_bookmarks_button_box_new(); + /* Home button */ home_button = mq_home_button_new(navigation_toolbar->config, navigation_toolbar->web_view); @@ -114,6 +119,8 @@ constructed(GObject *object) gtk_toolbar_insert(GTK_TOOLBAR(navigation_toolbar), stop_reload_button, -1); gtk_toolbar_insert(GTK_TOOLBAR(navigation_toolbar), uri_entry, -1); + gtk_toolbar_insert(GTK_TOOLBAR(navigation_toolbar), + bookmarks_button_box, -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), |