summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-28 16:09:39 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-28 16:09:39 (EDT)
commitf04c3324843280d9f0a59814e91bfbc61d0ed878 (patch)
tree39f3a6cafb1f66123c1f41a58f02ceb93b0e2e72 /src
parent3839db6ba17258c4c931ccfff2838a5ebd7b54fb (diff)
downloadmarquee-f04c3324843280d9f0a59814e91bfbc61d0ed878.zip
marquee-f04c3324843280d9f0a59814e91bfbc61d0ed878.tar.gz
marquee-f04c3324843280d9f0a59814e91bfbc61d0ed878.tar.bz2
MqTab: Close tab menu on tree row activation
Diffstat (limited to 'src')
-rw-r--r--src/tab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tab.c b/src/tab.c
index 3db9f45..7ad667c 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -180,6 +180,7 @@ row_activated_cb(GtkTreeView __attribute__((unused)) *tree_view,
indices = gtk_tree_path_get_indices_with_depth(tree_path, &depth);
g_assert(depth == 1);
mq_window_set_current_tab(tab->window, indices[0] + 1);
+ gtk_widget_hide(tab->popover);
}
static GtkWidget *