new TB extension: control shift-del behaviour

Talk about add-ons and extension development.
User avatar
drakosha
Posts: 37
Joined: August 19th, 2004, 9:19 am
Contact:

new TB extension: control shift-del behaviour

Post by drakosha »

It happened to me several times when i removed by mistake an important mail. So i built this. U can make shift-delete work as usuall, as regular delete or disable it at all. Further development will include "smart" mode which will ask if you are trying to shift-del more than specified amount of messages, configurable by the user.

I tested it on TB 0.7.3.
It's my first extension, so if anyone has a improvement/coding/etc suggestions i'll most appreciate it.

http://jtranslit.sourceforge.net/shiftd ... ol_0.1.xpi

enjoy
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>
User avatar
drakosha
Posts: 37
Joined: August 19th, 2004, 9:19 am
Contact:

Post by drakosha »

I've put a new version there, which enables to ask for user confirmation if more than X messages are going to be purged. (X is configurable via preferences).

Download:
http://jtranslit.sourceforge.net/shiftd ... ol_0.2.xpi
Screen of prefereces dilaog:
http://jtranslit.sourceforge.net/preferences.jpg

I have no more plans for this extension, but please feel free to comment/ask for more fatures.
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>
alki
Posts: 5
Joined: September 19th, 2004, 12:33 am

shift-delete 1 item

Post by alki »

What about having a confirmation message when deleting one message ?
Setting "More than x messages" option to 0 doesn't work
Elez
Posts: 15
Joined: September 20th, 2004, 2:03 am

Post by Elez »

Yes, that's basically the only thing missing in this extention.
I could really use such a feature and I'm sure I'm not the only one.
Adding it would be greatly appreciated :)

Thanks,
Elez J. Shenhar
User avatar
drakosha
Posts: 37
Joined: August 19th, 2004, 9:19 am
Contact:

Post by drakosha »

thanks for the comment, i didn't check if with 0 value. Will fix asap!
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>
User avatar
drakosha
Posts: 37
Joined: August 19th, 2004, 9:19 am
Contact:

Post by drakosha »

bug fixed, version is now 0.2a. I'm talking with mozdev to put the extension there.

Download:
http://jtranslit.sourceforge.net/shiftd ... l_0.2a.xpi
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>
Elez
Posts: 15
Joined: September 20th, 2004, 2:03 am

Post by Elez »

It's working:)
Thanks a lot!
User avatar
drakosha
Posts: 37
Joined: August 19th, 2004, 9:19 am
Contact:

purgecontrol on mozdev

Post by drakosha »

Well, now the extension lives on mozdev.org, go:

http://purgecontrol.mozdev.org/index.html
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>
User avatar
drakosha
Posts: 37
Joined: August 19th, 2004, 9:19 am
Contact:

Post by drakosha »

There's now 0.2c version on mozdev, which supports Thunderbird 1.0. Enjoy

http://purgecontrol.mozdev.org/index.html
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>
User avatar
jensb
Posts: 544
Joined: April 23rd, 2003, 12:42 pm
Location: Germany
Contact:

Post by jensb »

I'd recommend using the official extension version format, as specified by mozilla.org: major[.minor[.release[.build]]], where major/minor/release/build are integers, e.g. "0.1", "1.0.0.20041207" or "0.5.6". Using "0.2c" might break the extension manager some time, and won't be accepted by update.mozilla.org.
Mouse Gestures - control your browser the elegant way
MessageFaces - embed pictures in mail header
User avatar
drakosha
Posts: 37
Joined: August 19th, 2004, 9:19 am
Contact:

Post by drakosha »

thanks, can you please give me link to document where it's explained?
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>
User avatar
jensb
Posts: 544
Joined: April 23rd, 2003, 12:42 pm
Location: Germany
Contact:

Post by jensb »

Sure: http://www.mozilla.org/projects/firefox ... sions.html , chapter "Firefox Version Format" way down the page. Although the page fails to mention the build number (fourth part), it's official, too.
Mouse Gestures - control your browser the elegant way
MessageFaces - embed pictures in mail header
User avatar
drakosha
Posts: 37
Joined: August 19th, 2004, 9:19 am
Contact:

Post by drakosha »

new version is available om nozdev: 0.2.4
http://downloads.mozdev.org/purgecontro ... _0.2.4.xpi

Changelog:
* using my own dialog window which has "NO" as default button
* version numbering copatible with mozilla update
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>
RDL
Posts: 1258
Joined: August 22nd, 2004, 1:39 am

Post by RDL »

drakosha wrote: * using my own dialog window which has "NO" as default button
* version numbering copatible with mozilla update


I installed this, for which thanks, over the previous version but the default button appears to be "YES".

Actually, I think I prefer that but after I make a mistake I might change my mind. How about letting the user choose (options) which button should be the default?

Thanks again, this is a really helpful extension. RDL
User avatar
drakosha
Posts: 37
Joined: August 19th, 2004, 9:19 am
Contact:

Post by drakosha »

RDL: thanks, i'll do it in the next version. And i'll recheck, the default supposed to be "No"
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>
Post Reply