[gnome-robots/gnome-3-10] Fixed bug that opening settings menu resets game
- From: Mario Wenzel <mariowenzel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/gnome-3-10] Fixed bug that opening settings menu resets game
- Date: Mon, 3 Feb 2014 21:07:00 +0000 (UTC)
commit 4268328e3e1905f61ea17bebef8e3b19ba6a4ed3
Author: Mario Wenzel <maweki gmail com>
Date: Mon Feb 3 22:04:38 2014 +0100
Fixed bug that opening settings menu resets game
https://bugzilla.gnome.org/show_bug.cgi?id=613077
The change event was connected too soon.
src/properties.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/properties.c b/src/properties.c
index c0a126c..bb5a107 100644
--- a/src/properties.c
+++ b/src/properties.c
@@ -417,11 +417,12 @@ show_properties_dialog (void)
gtk_grid_attach (GTK_GRID (grid), label, 0, 0, 1, 1);
typemenu = gtk_combo_box_text_new ();
- g_signal_connect (G_OBJECT (typemenu), "changed",
- G_CALLBACK (type_selection), NULL);
fill_typemenu (typemenu);
gtk_grid_attach (GTK_GRID (grid), typemenu, 1, 0, 1, 1);
+ g_signal_connect (G_OBJECT (typemenu), "changed",
+ G_CALLBACK (type_selection), NULL);
+
chkbox = gtk_check_button_new_with_mnemonic (_("_Use safe moves"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (chkbox),
properties.safe_moves);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]