respect the exit_on_close flag

svn path=/trunk/; revision=7186
This commit is contained in:
Scott Reeves 2007-01-26 21:25:46 +00:00
parent 908ab38dfa
commit 89ba6b4b3d
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2007-01-26 Scott Reeves <sreeves@novell.com>
* control-center.c: respect the exit_on_close flag
2007-01-26 Rodrigo Moya <rodrigo@gnome-db.org>
* control-center.schemas.in: added 'Change theme' and 'Set preferred

View file

@ -102,7 +102,12 @@ handle_static_action_clicked (Tile * tile, TileEvent * event, gpointer data)
temp = g_strdup_printf("%s%s", app_data->gconf_prefix, EXIT_SHELL_ON_STATIC_ACTION);
if (get_slab_gconf_bool(temp))
{
if (app_data->exit_on_close)
gtk_main_quit ();
else
hide_shell (app_data);
}
g_free (temp);
}