[ext] Tab buttons (new tab + undo tabs menu)

Announce and Discuss the Latest Theme and Extension Releases.
sync_oz
Posts: 8
Joined: June 21st, 2008, 10:58 pm

[ext] Tab buttons (new tab + undo tabs menu)

Post by sync_oz »

Hi all,

First extension release here, I knocked this together as a bit of a learning exercise and because there wasn't the exact functionality I wanted available in FF3.

Title: Tab buttons :: Firefox Add-ons
URL: https://addons.mozilla.org/en-US/firefox/addon/7782
Adds a 'new tab' button on the left of the tab bar and a 'undo closed tab' button/menu on the right of the tab bar.

Comments/reviews appreciated!
the tickler
Posts: 2
Joined: June 26th, 2008, 9:51 am

Re: [ext] Tab buttons (new tab + undo tabs menu)

Post by the tickler »

hey the extension doesn't work for me. i have firefox 3.0, but when i close a tab and click the recently closed tab button, nothing happens. when i right-click the button, it says "no tabs to undo"
sync_oz
Posts: 8
Joined: June 21st, 2008, 10:58 pm

Re: [ext] Tab buttons (new tab + undo tabs menu)

Post by sync_oz »

Hmm that's odd.

If you close a tab and go to your 'History > Recently closed tabs' menu, does the tab appear there?

Cheers
the tickler
Posts: 2
Joined: June 26th, 2008, 9:51 am

Re: [ext] Tab buttons (new tab + undo tabs menu)

Post by the tickler »

no they don't. the new tab button works fine though
Genovese
Posts: 6
Joined: June 27th, 2008, 7:19 am

Italian translation

Post by Genovese »

Italian translation


locale/en-US/prefwindow.dtd

<!ENTITY prefwindow.title "Impostazioni di Tab buttons">
<!ENTITY pane1.title "Opzioni dei tasti">
<!ENTITY checkNewButton.label "Mostra il tasto nuova scheda">
<!ENTITY checkNewButton.accesskey "N">
<!ENTITY checkUndoButton.label "Mostra il tasto riapri scheda">
<!ENTITY checkUndoButton.accesskey "U">
<!ENTITY checkLeftMenu.label "Click tasto sinistro apre il menu">
<!ENTITY checkLeftMenu.accesskey "M">
<!ENTITY checkUseImages.label "Usa le immagini per i tasti">
<!ENTITY checkUseImages.accesskey "I">


locale/en-US/tabbuttons.dtd

<!ENTITY noTabsToUndo.label "Non ci sono schede da riaprire">



locale/en-US/tabbuttons.properties

newTabButton=Nuova
undoTabButton=Riapri


bye :D
sync_oz
Posts: 8
Joined: June 21st, 2008, 10:58 pm

Re: [ext] Tab buttons (new tab + undo tabs menu)

Post by sync_oz »

the tickler wrote:no they don't. the new tab button works fine though


Hmm I reckon that's a problem with your firefox configuration, not the extension - the extension uses the same built-in 'last tabs' menu that firefox does, so you need to get firefox to fill in this menu. Check your settings for things like 'history' or '# of closed tabs to keep' - I know that some other tab-related addons can change these settings too.

Once that firefox history menu is showing your tabs, then the extension should work too! Let me know if it doesn't!

EDIT: This setting in about:config may help - browser.sessionstore.max_tabs_undo
Last edited by sync_oz on June 27th, 2008, 7:57 am, edited 1 time in total.
sync_oz
Posts: 8
Joined: June 21st, 2008, 10:58 pm

Re: Italian translation

Post by sync_oz »

Genovese wrote:Italian translation


Magic, thanks Genovese, that'll be in the next release :D

EDIT: 0.2.6 is up now with those strings - let me know how it works!
SlimShady
Posts: 148
Joined: November 4th, 2004, 3:21 pm

Re: [ext] Tab buttons (new tab + undo tabs menu)

Post by SlimShady »

Could you show the URL of the highlighted 'closed tab' in the status bar, when you hover over the items in the menu?
That would complete this extension. I see that the original closed tabs menu (History menu) also doesn't have this.
Genovese
Posts: 6
Joined: June 27th, 2008, 7:19 am

Re: Italian translation

Post by Genovese »

sync_oz wrote:EDIT: 0.2.6 is up now with those strings - let me know how it works!


Problem! the translation does not work, my firefox show english language
Genovese
Posts: 6
Joined: June 27th, 2008, 7:19 am

Re: [ext] Tab buttons (new tab + undo tabs menu)

Post by Genovese »

you can try to change <!ENTITY pane1.title "Opzioni dei tasti"> to <!ENTITY pane1.title "Button options">
sync_oz
Posts: 8
Joined: June 21st, 2008, 10:58 pm

Re: Italian translation

Post by sync_oz »

Genovese wrote:Problem! the translation does not work, my firefox show english language


Sorry about that, I think I specified the language code wrongly.

Could you test this version if possible and if it's good I'll put it on the extensions site?

http://www.octopod.org/software/firefox ... .0.2.7.xpi
Genovese
Posts: 6
Joined: June 27th, 2008, 7:19 am

Re: Italian translation

Post by Genovese »

sync_oz wrote:Sorry about that, I think I specified the language code wrongly.

Could you test this version if possible and if it's good I'll put it on the extensions site?

http://www.octopod.org/software/firefox ... .0.2.7.xpi


Uhm.. Same problem!
sync_oz
Posts: 8
Joined: June 21st, 2008, 10:58 pm

Re: Italian translation

Post by sync_oz »

Genovese wrote:Uhm.. Same problem!


Ah OK I think this has fixed it:
http://www.octopod.org/software/firefox ... .0.2.8.xpi

This was the first translation I've done, now I know what I'm doing ;)

I'm moving house in a few days so will be offline for a week or so, so hopefully this one will work!

Thanks for your help Genovese, you're listed as a contributor in the about dialog!
Genovese
Posts: 6
Joined: June 27th, 2008, 7:19 am

Re: Italian translation

Post by Genovese »

sync_oz wrote:Ah OK I think this has fixed it:
http://www.octopod.org/software/firefox ... .0.2.8.xpi

This was the first translation I've done, now I know what I'm doing ;)

I'm moving house in a few days so will be offline for a week or so, so hopefully this one will work!

OK! now work perfectly

sync_oz wrote:Thanks for your help Genovese, you're listed as a contributor in the about dialog!

Oooh thank you very much!
sync_oz
Posts: 8
Joined: June 21st, 2008, 10:58 pm

Re: [ext] Tab buttons (new tab + undo tabs menu)

Post by sync_oz »

SlimShady wrote:Could you show the URL of the highlighted 'closed tab' in the status bar, when you hover over the items in the menu?
That would complete this extension. I see that the original closed tabs menu (History menu) also doesn't have this.


Great idea, I like this a lot. Will try and implement in a release soon! Thanks :)
Post Reply