diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-01 05:35:20 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-01 05:35:20 (EDT) |
commit | f0d15bf49fff436cd4e5416fb37b9a5bfe98f8b8 (patch) | |
tree | 97559d988c5e558cbb0570393002e8fd3a04a312 | |
parent | cb4d8dc5e1ed1aeec54e17557216b703a064d303 (diff) | |
download | marquee-f0d15bf49fff436cd4e5416fb37b9a5bfe98f8b8.zip marquee-f0d15bf49fff436cd4e5416fb37b9a5bfe98f8b8.tar.gz marquee-f0d15bf49fff436cd4e5416fb37b9a5bfe98f8b8.tar.bz2 |
MqTabChrome: Make about button functional
-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 c57ca6a..42e2a0c 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -337,6 +337,12 @@ zoom_in_clicked_cb(GtkButton __attribute__((unused)) *button, } static void +about_clicked_cb(GtkButton __attribute__((unused)) *button, MqTabChrome *chrome) +{ + mq_tab_new("about:", chrome->tab); +} + +static void quit_clicked_cb(GtkButton __attribute__((unused)) *button, MqTabChrome __attribute__((unused)) *chrome) { @@ -392,6 +398,7 @@ menu_button_clicked_cb(GtkToolButton *tool_button, CLICKED_CB(0, 0, zoom_out_clicked_cb); CLICKED_CB(0, 1, zoom_reset_clicked_cb); CLICKED_CB(0, 2, zoom_in_clicked_cb); + CLICKED_CB(5, 0, about_clicked_cb); CLICKED_CB(5, 2, quit_clicked_cb); /* Set up the popover. */ |