[gnome-games] gnomine: Remove legacy code from old new game button
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gnomine: Remove legacy code from old new game button
- Date: Mon, 30 Jan 2012 22:50:54 +0000 (UTC)
commit 9e5863717b3919897a79ce79e6231e7da6114c5d
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Jan 31 09:50:49 2012 +1100
gnomine: Remove legacy code from old new game button
gnomine/src/gnomine.vala | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gnomine/src/gnomine.vala b/gnomine/src/gnomine.vala
index d81dd95..3404de3 100644
--- a/gnomine/src/gnomine.vala
+++ b/gnomine/src/gnomine.vala
@@ -32,7 +32,6 @@ public class GnoMine : Gtk.Application
private Gtk.Dialog? pref_dialog = null;
private Gtk.Label flag_label;
private Gtk.SpinButton n_mines_spin;
- private Gtk.Button new_game_button;
private GnomeGamesSupport.Frame custom_size_frame;
private GnomeGamesSupport.Clock clock;
private Gtk.Action hint_action;
@@ -424,9 +423,6 @@ public class GnoMine : Gtk.Application
private void explode_cb (Minefield minefield)
{
set_face_image (sad_face_image);
-
- new_game_button.grab_focus ();
-
clock.stop ();
}
@@ -434,8 +430,6 @@ public class GnoMine : Gtk.Application
{
clock.stop ();
- new_game_button.grab_focus ();
-
set_face_image (win_face_image);
var seconds = clock.get_seconds ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]