diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tab.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -28,6 +28,13 @@ #include "tab-body.h" static void +reload_tab_clicked_cb(GtkWidget __attribute__((unused)) *button, MqTab *tab) +{ + webkit_web_view_reload(tab->web_view); + gtk_widget_hide(tab->popover); +} + +static void new_window_clicked_cb(GtkWidget __attribute__((unused)) *button, MqTab *tab) { mq_application_add_window(tab->application, NULL); @@ -99,6 +106,7 @@ tab_label_button_press_cb(GtkWidget *widget, GdkEvent *event, MqTab *tab) NEW_BUTTON(1, 2, "edit-undo", "Undo close tab"); NEW_TOGGLE(1, 3, "view-list-symbolic", "Tab list..."); + CLICKED_CB(0, 0, G_CALLBACK(reload_tab_clicked_cb)); CLICKED_CB(1, 1, G_CALLBACK(new_window_clicked_cb)); /* Set up the tab list. */ |