After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 632019 - Middle-click on tab should close tab
Middle-click on tab should close tab
Status: RESOLVED DUPLICATE of bug 445402
Product: gedit
Classification: Applications
Component: general
2.30.x
Other Linux
: Normal enhancement
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-12 23:56 UTC by Nicolas Marchildon
Modified: 2011-08-03 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed Patch to close tabs on middle mouse button click (4.48 KB, patch)
2011-07-12 14:38 UTC, Tobias Pfeiffer
none Details | Review

Description Nicolas Marchildon 2010-10-12 23:56:58 UTC
Firefox and Chrome support that: middle-click closes that tab.
Comment 1 chuchiperriman 2010-11-18 15:24:09 UTC
I like...
Comment 2 Tobias Pfeiffer 2011-07-12 14:38:57 UTC
Created attachment 191815 [details] [review]
Proposed Patch to close tabs on middle mouse button click

On my systems this patch works and adds the desired functionality. However the implementation is kind of ugly since the position of a gtk widget had to be determined and the only solution I found was ccopying a private method of GtkWidget. This is no good. I hope for feedback regarding this issue, plus other feedback since this is my first time programming GTK. Also please have a look at the commit message.
Comment 3 Tobias Pfeiffer 2011-07-12 22:27:05 UTC
Sorry I am a bit tired, the method wasn't copied from GTKWidget but from GTKNotebook... I am sorry for the confusion!
Comment 4 Sebastien Bacher 2011-08-03 10:50:11 UTC
duplicate of bug #445402?
Comment 5 Ignacio Casal Quinteiro (nacho) 2011-08-03 12:46:26 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 445402 ***