summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-label.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tab-label.c b/src/tab-label.c
index 46abf8e..46138eb 100644
--- a/src/tab-label.c
+++ b/src/tab-label.c
@@ -125,11 +125,14 @@ create_tab_popover(GtkWidget *widget, MqTabLabel *tab_label)
CLICKED_CB(0, 0, reload_tab_clicked_cb);
/* TODO: 0, 1: Duplicate tab */
+ gtk_widget_set_sensitive(buttons[0 * BUTTON_COLS + 1], FALSE);
/* TODO: 0, 2: Move tab to new window */
+ gtk_widget_set_sensitive(buttons[0 * BUTTON_COLS + 2], FALSE);
CLICKED_CB(0, 3, close_clicked_cb);
CLICKED_CB(1, 0, new_tab_clicked_cb);
CLICKED_CB(1, 1, new_window_clicked_cb);
/* TODO: 1, 2: Undo close tab */
+ gtk_widget_set_sensitive(buttons[1 * BUTTON_COLS + 2], FALSE);
/* Set up the popover. */
tab_label->popover = gtk_popover_new(widget);