Added simple (but do anyone really need more complex thing?) session management
to control-center shell
This commit is contained in:
parent
f23439d2be
commit
596bc8bdc6
5 changed files with 68 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue