respect the exit_on_close flag
svn path=/trunk/; revision=7186
This commit is contained in:
parent
908ab38dfa
commit
89ba6b4b3d
2 changed files with 11 additions and 2 deletions
|
@ -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>
|
2007-01-26 Rodrigo Moya <rodrigo@gnome-db.org>
|
||||||
|
|
||||||
* control-center.schemas.in: added 'Change theme' and 'Set preferred
|
* control-center.schemas.in: added 'Change theme' and 'Set preferred
|
||||||
|
|
|
@ -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);
|
temp = g_strdup_printf("%s%s", app_data->gconf_prefix, EXIT_SHELL_ON_STATIC_ACTION);
|
||||||
if (get_slab_gconf_bool(temp))
|
if (get_slab_gconf_bool(temp))
|
||||||
|
{
|
||||||
|
if (app_data->exit_on_close)
|
||||||
gtk_main_quit ();
|
gtk_main_quit ();
|
||||||
|
else
|
||||||
|
hide_shell (app_data);
|
||||||
|
}
|
||||||
g_free (temp);
|
g_free (temp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue