[gnome-games/gsoc-seed-games] [lightsoff] Menu separator
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games/gsoc-seed-games] [lightsoff] Menu separator
- Date: Sun, 12 Jul 2009 03:23:06 +0000 (UTC)
commit 5bc885c17d95905dd639755fc71484ff4ff44bc3
Author: Tim Horton <hortont424 gmail com>
Date: Sat Jul 11 22:53:45 2009 -0400
[lightsoff] Menu separator
lightsoff/data/lightsoff.ui | 3 +++
lightsoff/src/main.js | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/lightsoff/data/lightsoff.ui b/lightsoff/data/lightsoff.ui
index d70d820..feb5503 100644
--- a/lightsoff/data/lightsoff.ui
+++ b/lightsoff/data/lightsoff.ui
@@ -43,6 +43,9 @@
</object>
</child>
<child>
+ <object class="GtkSeparatorMenuItem" id="separator1" />
+ </child>
+ <child>
<object class="GtkImageMenuItem" id="quit_item">
<signal name="activate" handler="quit"/>
<property name="label">gtk-quit</property>
diff --git a/lightsoff/src/main.js b/lightsoff/src/main.js
index 235680f..08f0ea5 100755
--- a/lightsoff/src/main.js
+++ b/lightsoff/src/main.js
@@ -9,6 +9,7 @@ GtkBuilder = imports.gtkbuilder;
GnomeGamesSupport = imports.gi.GnomeGamesSupport;
_ = imports.gettext.gettext;
+Gtk.init(Seed.argv);
GtkClutter.init(Seed.argv);
GnomeGamesSupport.runtime_init("lightsoff");
GnomeGamesSupport.stock_init();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]