Oops.Function calls? GNOME menu doesn't use function calls - just put your .desktop file in the right place. Unfortunately, this right place differs depending on distro...
Of course! I already did it.> If not, you should take that in account. I'm all for flexibility, but > for the average programmer I think there should always be a shortcut > so one can learn to program with Gnome faster. > > Also, I'm saying this because if these things aren't kept in mind from > the beginning, later it is very hard to simplify the API. The GNOME API is almost as simple as you can get, given the fact it's all OO in C. if you want a really clean API, *dons fire-retardant suit* check out Mono and GTK#.
Let me tell you my own impression on GConf. I'm a programmer, not a clueless computer illiterate, yet I see gconf-editor and in the tree I see a bunch of application settings, and a node that says schemas. What is 'schemas'?? I know the definition of schema because I know a little of XML (most users won't know), but yet I wonder what the hell is doing that node there. I explore a little bit and see lots of keys and I wonder why I can't do anything with them, why I have some duplicates of some of the application settings and why I have no help anywhere on what they are (somebody told me about 'locking down' settings, but I don't know if this has something to do with it, and I'm not interested in finding out, because I don't need that feature).> > Take for example GConf. Why should I have to learn a complicated way > of preserving preferences, when that should be much simpler? Because > it has all those features that I won't use. So then I rebel and make a > replacement This is a bad decision. If there are features in gconf you aren't using, you are cheating your users. GConf if complex because the idea is complex. You can't be lazy and skimp on the features there-in; that just cheats your users out of the features they should have.
The GConf wrappings won't help much (I used the C# one), because Gconf needs the schema and having root priviledges to install it anyway. This is an API that can't be changed to simplify it now.If you want it to be any simpler - either _wrap_ the GNOME API's in something you like better, so you can have whatever API you want but you have the full power of the GNOME technologies, or use a different binding (which is basically wrapping) such as GTKmm, Inti, PyGNOME, or GTK#.
-- Pablo Baena <pbaena uol com ar> |