diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-02 17:31:20 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-02 17:31:20 (EDT) |
commit | 7d3db3ba904227c53db7b2f0520c07da0f6cb1e8 (patch) | |
tree | 54fb41412b7213c7562ec1284835ec65b98ab666 | |
parent | 4c57581b61239cb7188a7f4c9948c5b130de1692 (diff) | |
download | marquee-7d3db3ba904227c53db7b2f0520c07da0f6cb1e8.zip marquee-7d3db3ba904227c53db7b2f0520c07da0f6cb1e8.tar.gz marquee-7d3db3ba904227c53db7b2f0520c07da0f6cb1e8.tar.bz2 |
MqNavigationToolbar: Add MqBookmarksButtonBox
-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), |