Added simple (but do anyone really need more complex thing?) session management

to control-center shell
This commit is contained in:
Lauris Kaplinski 2002-02-19 21:15:21 +00:00
parent f23439d2be
commit 596bc8bdc6
5 changed files with 68 additions and 4 deletions

View file

@ -354,3 +354,17 @@ gnomecc_preferences_get_config_dialog (GnomeCCPreferences *prefs)
return prefs_dialog;
}
GnomeCCPreferences *
gnomecc_preferences_get (void)
{
static GnomeCCPreferences *prefs = NULL;
if (!prefs) {
prefs = gnomecc_preferences_new ();
gnomecc_preferences_load (prefs);
}
return prefs;
}