[Github-comments] [geany/geany] FIX: filebrowser plugin: the first rightclick not working with some items on popup: (#2161)

GFdevelop notifications at xxxxx
Thu May 23 01:04:47 UTC 2019


GFdevelop commented on this pull request.



> @@ -736,13 +739,9 @@ static gboolean on_button_press(GtkWidget *widget, GdkEventButton *event, gpoint
 	}
 	else if (event->button == 3)
 	{
-		static GtkWidget *popup_menu = NULL;

The old code have no sense...can you explain `if (popup_menu == NULL)`?
https://github.com/geany/geany/blob/868da11715ed86d08c1c2c4deaf1b2aa6c209df4/plugins/filebrowser.c#L739-L742

I have to revert this?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2161#discussion_r286742404
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190522/0e0b814f/attachment-0001.html>


More information about the Github-comments mailing list