diff options
author | bl0ckeduser <[email protected]> | 2016-01-22 17:05:28 -0500 |
---|---|---|
committer | bl0ckeduser <[email protected]> | 2016-01-22 17:06:19 -0500 |
commit | 9d1bf65037d56ced8c3d4396902e83e286222914 (patch) | |
tree | e5b178930c2a1fe640f3570e61735e44f9fecae9 /pluma/pluma-notebook.c | |
parent | 4ff576d7f43a1c9061998eab09f2211bbc71119d (diff) | |
download | pluma-9d1bf65037d56ced8c3d4396902e83e286222914.tar.bz2 pluma-9d1bf65037d56ced8c3d4396902e83e286222914.tar.xz |
Implement middle-click tab closing (#143)
Diffstat (limited to 'pluma/pluma-notebook.c')
-rw-r--r-- | pluma/pluma-notebook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pluma/pluma-notebook.c b/pluma/pluma-notebook.c index ea9ac6b2..d2b35d25 100644 --- a/pluma/pluma-notebook.c +++ b/pluma/pluma-notebook.c @@ -614,7 +614,7 @@ button_press_cb (PlumaNotebook *notebook, NULL); } else if ((event->type == GDK_BUTTON_PRESS) && - (event->button == 3)) + (event->button == 3 || event->button == 2)) { if (tab_clicked == -1) { |