Re: Preference Pane Work underway

Jason Townsend <[email protected]>
Newsgroups gmane.network.fire.devel
Message-ID <[email protected]>
On Nov 6, 2003, at 2:00 PM, Alan Humpherys wrote:
> I did a checkin today of some work on the preference panes.  The main 
> changes are:
>
> - Addition of a Status Messages preference pane
> - Breaking Preferences into 4 groups

I was discussing yesterday with Graham the idea of having one of the 
new categories be "Themes". This would include Colors, Sounds, Icons, 
and Smileys. I probably won't have a chance to really work on this 
until Sunday so I'm hoping we can hold off on sending out the 
localization build for a little bit to see what can be done along those 
lines.

> - Addition of the Network preference pane that Graham had already 
> checked in
>
> Notes:
>   Status Messages does not have all of the preference controls hooked 
> up...  That is step 2.
>
>   The Network Preference pane fails to load.  It might be because it 
> is calling the MainController and NetworkController classes.  These 
> calls to something outside the bundle, and not in a Framework seem to 
> fail,  at least we haven't been able to do this elsewhere. (Graham, 
> I'll leave that mystery for you to solve!)

I fixed this. The solution is to add a method to MainController which 
accesses the new controller, then in the pref pane you use [[NSApp 
delegate] networkController] instead of [NetworkController 
sharedInstance]. The NIB still seems to be messed up and firing actions 
on load. I'm waiting for this to be fixed to hook up the two checkboxes 
we copied from General. The rest of the pref is supposed to work, but I 
believe it is being reset to defaults when the pref loads due to the 
NIB strangeness.

> Also, I cleaned up the project file considerably...
> - Spurrious extra files (like readme and library documentation) are no 
> longer included in the bundles

Did you remove the GPL and Fire-README.txt as well?

> - the ICQ bundle no longer has the MSN and ICQ buddy icons in it (they 
> are in Fire.app)
> - The resources are sorted by type.
>
> There are 2 project file things still to clean up, but I need an 
> expert smarter than me to do it....
>
> 1) The first COPY_PHASE group in the Fire (Application) target is 
> blank.  Can we remove it?

I believe so. If it is not copying anything that should be fine.

> 2) The older preference panes (not Color, Network, or StatusMessage) 
> show up twice in the "Products" folder.  I can't remove the extra 
> ones.  I have sorted them so that the ones we actually use in the 
> target are at the top, but that second list isn't used anywhere, but 
> can't be removed....  Any ideas?

I believe the issue here is that we manually set up references to the 
products of these pref pane targets... while later versions of Project 
Builder do that for you. We need to use the ones that can't be deleted 
and delete the ones that can. :)

-Jason
smime.p7s (application/pkcs7-signature, 2.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.