[gnome-games] gnomine: Fix too many menuitems visible initially, Bug #592774
- From: Jason Clinton <jclinton src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games] gnomine: Fix too many menuitems visible initially, Bug #592774
- Date: Mon, 24 Aug 2009 17:07:05 +0000 (UTC)
commit b8094610ed034df5edc1f3e21e9f8cf0157d155b
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 24 12:00:40 2009 -0500
gnomine: Fix too many menuitems visible initially, Bug #592774
gnomine/gnomine.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gnomine/gnomine.c b/gnomine/gnomine.c
index f773a4f..45be231 100644
--- a/gnomine/gnomine.c
+++ b/gnomine/gnomine.c
@@ -1088,6 +1088,7 @@ main (int argc, char *argv[])
G_CALLBACK (pause_key_callback), NULL);
all_boxes = gtk_vbox_new (FALSE, 0);
+ gtk_widget_show (all_boxes);
gtk_container_add (GTK_CONTAINER (window), all_boxes);
@@ -1095,6 +1096,7 @@ main (int argc, char *argv[])
accel_group = gtk_ui_manager_get_accel_group (ui_manager);
gtk_window_add_accel_group (GTK_WINDOW (window), accel_group);
box = gtk_ui_manager_get_widget (ui_manager, "/MainMenu");
+ gtk_widget_show (box);
gtk_box_pack_start (GTK_BOX (all_boxes), box, FALSE, FALSE, 0);
button_table = gtk_table_new (1, 3, FALSE);
@@ -1183,7 +1185,8 @@ main (int argc, char *argv[])
new_game ();
- gtk_widget_show_all (window);
+ gtk_widget_show_all (button_table);
+ gtk_widget_show (window);
/* Must be after the window has been created. */
if (xpos >= 0 && ypos >= 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]