Proposal for a general setup panel (overview)
Jasper Huijsmans
huysmans at users.sourceforge.net
Sun Aug 18 14:44:51 CEST 2002
On Sun, 18 Aug 2002 11:35:44 +0200
Jasper Huijsmans <huysmans at users.sourceforge.net> wrote:
> > - It will be modular. Every application that wants to use it will
> > have to provide a plugin for the xsetting manager. That plugin will
> > be in charge of loading/saving specific settings and display part of
> > the GUI.
>
Alternatively the xsettings manager could save the options if they are
registered by the modules:
typedef struct
{
char *name;
int int_value;
char *string_value;
} Option;
void register_app(char *app_name, char *treeview_translateable_name);
void register_option_int(char *app, Option *option);
void register_option_string(char *app, Option *option);
the manager can save the settings as xml file:
<Xfce>
<option name="size" value="1"/>
<option name="lockcommand" value="xflock"/>
...
</Xfce>
<Xfwm>
...
</Xfwm>
Just a thought.
--
IRC channel: #xfce on irc.openprojects.net
More information about the Xfce4-dev
mailing list