gnome-games r8007 - trunk/libgames-support
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8007 - trunk/libgames-support
- Date: Mon, 13 Oct 2008 07:18:56 +0000 (UTC)
Author: rancell
Date: Mon Oct 13 07:18:56 2008
New Revision: 8007
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8007&view=rev
Log:
Read saved window configuration from correct GConf group (affects gnometris, gnibbles, gnobots) (Bug #544389)
Modified:
trunk/libgames-support/games-conf.c
Modified: trunk/libgames-support/games-conf.c
==============================================================================
--- trunk/libgames-support/games-conf.c (original)
+++ trunk/libgames-support/games-conf.c Mon Oct 13 07:18:56 2008
@@ -1235,10 +1235,10 @@
g_signal_connect (window, "window-state-event",
G_CALLBACK (window_state_event_cb), state);
- maximised = games_conf_get_boolean (NULL, window_state_key_name[STATE_KEY_MAXIMISED], NULL);
- fullscreen = games_conf_get_boolean (NULL, window_state_key_name[STATE_KEY_FULLSCREEN], NULL);
- width = games_conf_get_integer (NULL, window_state_key_name[STATE_KEY_WIDTH], NULL);
- height = games_conf_get_integer (NULL, window_state_key_name[STATE_KEY_HEIGHT], NULL);
+ maximised = games_conf_get_boolean (group, window_state_key_name[STATE_KEY_MAXIMISED], NULL);
+ fullscreen = games_conf_get_boolean (group, window_state_key_name[STATE_KEY_FULLSCREEN], NULL);
+ width = games_conf_get_integer (group, window_state_key_name[STATE_KEY_WIDTH], NULL);
+ height = games_conf_get_integer (group, window_state_key_name[STATE_KEY_HEIGHT], NULL);
if (width > 0 && height > 0) {
gtk_window_set_default_size (GTK_WINDOW (window), width, height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]