"missing" message style info.plist keys?
Evan Schoenberg, M.D.
evan.s at dreskin.net
Thu Apr 7 22:42:55 UTC 2011
On Apr 7, 2011, at 5:30 PM, Frank D wrote:
> I took a stroll through history and found that DefaultBackgroundColor was added in http://hg.adium.im/adium-old/rev/6b2900ffc8c6 and removed in http://hg.adium.im/adium-old/rev/574682ce71a2. The wiki page's first rev is a few months after that latter commit.
Ancient chart fight!
I see no reason not to support this minor improvement in the preferences experience. Of course, that's obvious since I wrote it in the first place 6 years ago and wasn't the one who removed it... ;)
-Evan
>
>
> --
> Frank
>
>
>
> On 2011-04-05, at 10:26 PM, Matthew wrote:
>
>> As long as I can remember,
>> http://trac.adium.im/wiki/CreatingMessageStyles has contained:
>>
>> DefaultBackgroundColor is the hex value of the background color. This
>> does not actually affect your style but DOES display in the
>> preferences window; properly setting it improves the user experience
>> by having the default color they see match the default color of the
>> background color colorwell. This can be done on a per-variant basis
>> (see note below). If you do not include DefaultBackgroundColor then
>> the background color is assumed to be white (FFFFFF).
>>
>> I don't think this actually exists in Adium right now, and I don't
>> recall ever seeing it work in a message style. Does anyone know if it
>> used to work? At this point I'm inclined to close the relevant ticket
>> (http://trac.adium.im/ticket/10478) and remove references to
>> DefaultBackgroundColor from the wiki.
>>
>>
>>
>> Similarly, I suspect the following info from the wiki is vaporware:
>>
>> Per-variant keys may be created by appending ":VARIANTNAME" to the
>> key. For example, to set a default background color for your variant
>> "Black Version.css", which would display as "Black Version" in the
>> menu, you set the key {{{DefaultBackgroundColor:Black Version}}} to
>> the color (perhaps 000000) as a string. When looking for the settings
>> for a variant, the variant-specific version is tried first. If none is
>> found, the general style setting is tried. If no general setting is
>> found, the default value is used.
>>
>> This functionality sounds like it could be pretty useful, but I'll
>> probably just remove this from the wiki unless someone is actually
>> interested in coding it. If you are, just let me know and I'll move
>> this text from the wiki to a ticket.
>>
>>
>>
>> FWIW, there's already at least one precedent for this sort of
>> documented but missing functionality:
>> http://trac.adium.im/ticket/10480.
>>
>>
>> --
>>
>> Matthew
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20110407/b52eae14/attachment-0002.html>
More information about the devel
mailing list