MozillaZine

Toolbar-icon extensions

Talk about add-ons and extension development.
cheeaun

User avatar
 
Posts: 826
Joined: November 5th, 2002, 10:55 pm
Location: Malaysia

Post Posted February 15th, 2003, 6:29 pm

I would like to raise a few issues about extensions that add additional toolbar button(s), such as Digger, Quickprefs, Stylesheet Switcher and Trivial. As a themer, I would, of course, like to support these extensions as i've already created the relevant icons. However, I found out that these extensions make it difficult for themes to support them. So far I've used two methods to implement my Phoenity icons for these extensions:
1. userChorme.css, using @import, which will override the css of the extensions
2. contents.rdf, which I added some extra codes (implemented in Phoenity 0.7). I learn this from the Alfred Kayser's Nautilus theme.
I'm sure that extensions can be made easier to be supported. One example is Reidar Djupvik's Home button extension for Mozilla (http://home.no.net/trihand/mozilla/home/en/) which provides different ways.
Phoenity http://phoenity.com/
You should follow me on Twitter here http://twitter.com/cheeaun

cdn

User avatar
 
Posts: 999
Joined: November 4th, 2002, 5:47 pm
Location: UK

Post Posted February 16th, 2003, 3:45 am

Trivial doesn't set out to make it difficult, i.e. it doesn't force its icons by putting '!important' on every style

cdn

User avatar
 
Posts: 999
Joined: November 4th, 2002, 5:47 pm
Location: UK

Post Posted February 16th, 2003, 4:10 am

further to that clav's latest Digger no longer has its own button, and his Style Switcher should no longer have !importants,

the reason both clav's extensions had !importants:

he copied styles from quickprefs - so the 'blame' lies there

-=-=-

I had to remove the !importants from he older Digger releases so that I could theme the button

clav
 
Posts: 1974
Joined: November 5th, 2002, 3:25 am
Location: Lancaster, UK

Post Posted February 16th, 2003, 6:52 am

The latest version of Digger that still adds a seperate toolbar button (0.4.0) doesn't have !important's either. That's the one that is currently listed on Phoenix Help I think, as well as being available from http://clav.co.uk/

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 2 guests