gnome-games r8008 - branches/gnome-2-24/libgames-support
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8008 - branches/gnome-2-24/libgames-support
- Date: Mon, 13 Oct 2008 07:19:23 +0000 (UTC)
Author: rancell
Date: Mon Oct 13 07:19:23 2008
New Revision: 8008
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8008&view=rev
Log:
Read saved window configuration from correct GConf group (affects gnometris, gnibbles, gnobots) (Bug #544389)
Modified:
branches/gnome-2-24/libgames-support/games-conf.c
Modified: branches/gnome-2-24/libgames-support/games-conf.c
==============================================================================
--- branches/gnome-2-24/libgames-support/games-conf.c (original)
+++ branches/gnome-2-24/libgames-support/games-conf.c Mon Oct 13 07:19:23 2008
@@ -1159,10 +1159,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]