Personal tools
You are here: Home Weblog 'Close Other Tabs' extension for Epiphany

'Close Other Tabs' extension for Epiphany

Posted by Sean Fulmer at Feb 19, 2008 12:52 AM |

Bringing some Tab Mix Plus goodness to the GNOME web browser!

I recently started using Epiphany as my main web browser, and I found that I really missed the 'close other tabs' functionality that I had in Firefox with the Tab Mix Plus extension. Thankfully, I didn't have to live without that for too long - Epiphany is easy to extend, with Python no less! After a quick read through the extension docs and a couple of glances at some existing extension code, I was able to add what I needed:

Close Other Tabs - Main Menu

Close Other Tabs - Tab context menu

If you'd like to try this out, download Close Other Tabs, extract it, open a terminal in the extracted directory, and run 'make install' to copy the extension to your Epiphany settings. Once youve done that, you can activate it under Tools > Extensions in Epiphany. If you don't have 'make' installed, you can manually copy close_other_tabs.* into ~/.gnome2/.epiphany/extensions.

I've still got some work to do on it, primarily on UI niceties like disabling the menu items when only one tab is open, etc. I also need to put some credits in there - the layout of the README, the Makefile, etc all begain life in a different extension. :)

(Edit: Done!)

Anyway, if you try this out, please let me know what you think!

2008-03-07 I'm not sure why, but this extension is causing Epiphany to leak memory and not exit cleanly. Something to do with disconnecting signals I think, but I'm not sure what I've done wrong. :/

Document Actions