summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-19 05:55:31 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-19 05:55:31 (EDT)
commita80b6b4ed9ecd0116a18c38759052a9ac917671a (patch)
treedce21df0fe6c5ca497dfaaa03d9efe9ec8292597
parentc78c15fc07dbfe326d93512265e8aacab200d677 (diff)
downloadmarquee-a80b6b4ed9ecd0116a18c38759052a9ac917671a.zip
marquee-a80b6b4ed9ecd0116a18c38759052a9ac917671a.tar.gz
marquee-a80b6b4ed9ecd0116a18c38759052a9ac917671a.tar.bz2
src/window.c: Add (non-functional) tab close buttons
-rw-r--r--src/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index f4bd9c2..e062ed3 100644
--- a/src/window.c
+++ b/src/window.c
@@ -117,6 +117,8 @@ add_tab(MqWindow *window, gchar *uri, gint position)
0, 0, 1, 1);
gtk_grid_attach(GTK_GRID(tab_label), tab_label_label,
1, 0, 1, 1);
+ gtk_grid_attach(GTK_GRID(tab_label), gtk_button_new_from_icon_name(
+ "window-close", GTK_ICON_SIZE_BUTTON), 2, 0, 1, 1);
gtk_widget_show_all(tab_label);
tab = mq_tab_new(uri, tab_label_image, tab_label_label);