[geany/geany] bc4e76: Merge branch 'scriptum/sidebar-middle-button-close'

Colomban Wendling git-noreply at xxxxx
Sun Apr 27 00:43:20 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 27 Apr 2014 00:43:20 UTC
Commit:      bc4e76582b24c822f9acdce242e322d9b529805d
             https://github.com/geany/geany/commit/bc4e76582b24c822f9acdce242e322d9b529805d

Log Message:
-----------
Merge branch 'scriptum/sidebar-middle-button-close'


Modified Paths:
--------------
    src/sidebar.c

Modified: src/sidebar.c
5 lines changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -997,6 +997,11 @@ static gboolean sidebar_button_press_cb(GtkWidget *widget, GdkEventButton *event
 		else
 			handled = taglist_go_to_selection(selection, 0, event->state);
 	}
+	else if (event->button == 2)
+	{
+		if (widget == tv.tree_openfiles)
+			on_openfiles_document_action(NULL, GINT_TO_POINTER(OPENFILES_ACTION_REMOVE));
+	}
 	else if (event->button == 3)
 	{
 		if (widget == tv.tree_openfiles)



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list