[gbrainy] Better builder source file for main screen including been able to load it from glade-3 and remove so



commit 78975e9c1e9d6f88ed5fbde94f28ed1f304c45ab
Author: Jordi Mas <jmas softcatala org>
Date:   Wed Mar 10 17:44:47 2010 +0100

    Better builder source file for main screen including been able to load it from glade-3 and remove some old glade legacy

 src/Clients/Classical/gbrainy.cs |   30 ++--
 src/Clients/Classical/gbrainy.ui |  458 ++++++++++++++++++++------------------
 2 files changed, 254 insertions(+), 234 deletions(-)
---
diff --git a/src/Clients/Classical/gbrainy.cs b/src/Clients/Classical/gbrainy.cs
index 2f3d382..6c2026e 100644
--- a/src/Clients/Classical/gbrainy.cs
+++ b/src/Clients/Classical/gbrainy.cs
@@ -39,7 +39,7 @@ namespace gbrainy.Clients.Classical
 	public class GtkClient: Program
 	{
 		[GtkBeans.Builder.Object("gbrainy")] Gtk.Window app_window;
-		[GtkBeans.Builder.Object] Gtk.ToggleAction toolbar_menuitem;
+		[GtkBeans.Builder.Object] Gtk.CheckMenuItem toolbar_menuitem;
 		[GtkBeans.Builder.Object] Box drawing_vbox;
 		[GtkBeans.Builder.Object] Gtk.VBox question_vbox;
 		[GtkBeans.Builder.Object] Gtk.VBox solution_vbox;
@@ -50,16 +50,16 @@ namespace gbrainy.Clients.Classical
 		[GtkBeans.Builder.Object] Gtk.Statusbar statusbar;
 		[GtkBeans.Builder.Object] Gtk.Toolbar toolbar;
 		[GtkBeans.Builder.Object] Gtk.MenuBar menubar;
-		[GtkBeans.Builder.Object] Gtk.Action help_menu;
-		[GtkBeans.Builder.Object] Gtk.Action pause_menuitem;
-		[GtkBeans.Builder.Object] Gtk.Action finish_menuitem;
-		[GtkBeans.Builder.Object] Gtk.Action newgame_menuitem;
-		[GtkBeans.Builder.Object] Gtk.Action allgames_menuitem;
-		[GtkBeans.Builder.Object] Gtk.Action logic_menuitem;
-		[GtkBeans.Builder.Object] Gtk.Action verbal_menuitem;
-		[GtkBeans.Builder.Object] Gtk.Action memory_menuitem;
-		[GtkBeans.Builder.Object] Gtk.Action calculation_menuitem;
-		[GtkBeans.Builder.Object] Gtk.UIManager uimanager;
+		[GtkBeans.Builder.Object] Gtk.MenuItem pause_menuitem;
+		[GtkBeans.Builder.Object] Gtk.MenuItem finish_menuitem;
+		[GtkBeans.Builder.Object] Gtk.MenuItem newgame_menuitem;
+		[GtkBeans.Builder.Object] Gtk.MenuItem allgames_menuitem;
+		[GtkBeans.Builder.Object] Gtk.MenuItem logic_menuitem;
+		[GtkBeans.Builder.Object] Gtk.MenuItem calculation_menuitem;
+		[GtkBeans.Builder.Object] Gtk.MenuItem memory_menuitem;
+		[GtkBeans.Builder.Object] Gtk.MenuItem verbal_menuitem;
+		[GtkBeans.Builder.Object] Gtk.MenuItem extensions_menuitem;
+
 		DrawingArea drawing_area;
 		GameSession session;
 		ToolButton all_tbbutton, logic_tbbutton, calculation_tbbutton, memory_tbbutton, verbal_tbbutton, pause_tbbutton, finish_tbbutton;
@@ -74,8 +74,6 @@ namespace gbrainy.Clients.Classical
 		public GtkClient (string [] args, params object [] props)
 		: base ("gbrainy", Defines.VERSION, Modules.UI,  args, props)
 		{
-			Gtk.MenuItem extensions_menu;
-
 			Catalog.Init ("gbrainy", Defines.GNOME_LOCALE_DIR);
 			Unix.FixLocaleInfo ();
 
@@ -125,11 +123,10 @@ namespace gbrainy.Clients.Classical
 			if (Preferences.GetBoolValue (Preferences.ToolbarKey) == false || low_res == true)
 				toolbar_menuitem.Active = false;
 
-			extensions_menu = uimanager.GetWidget ("/ui/menubar/settings_topmenu/extensionsmenu/") as MenuItem;
 		#if MONO_ADDINS
-			extensions_menu.Activated += delegate (object sender, EventArgs ar) { Mono.Addins.Gui.AddinManagerWindow.Run (app_window);};
+			extensions_menuitem.Activated += delegate (object sender, EventArgs ar) { Mono.Addins.Gui.AddinManagerWindow.Run (app_window);};
 		#else
-			extensions_menu.Visible = false;
+			extensions_menuitem.Visible = false;
 		#endif
 			ActiveInputControls (false);
 		}
@@ -181,6 +178,7 @@ namespace gbrainy.Clients.Classical
 			else
 				SetMargin (2);
 
+
 			cr.Translate (offset_x, offset_y);
 			session.Draw (cr, drawing_square, drawing_square, drawing_area.Direction == Gtk.TextDirection.Rtl);
 
diff --git a/src/Clients/Classical/gbrainy.ui b/src/Clients/Classical/gbrainy.ui
index 3b42b73..ebe4c47 100644
--- a/src/Clients/Classical/gbrainy.ui
+++ b/src/Clients/Classical/gbrainy.ui
@@ -1,232 +1,246 @@
 <?xml version="1.0"?>
 <interface>
+  <requires lib="gtk+" version="2.16"/>
+  <!-- interface-naming-policy toplevel-contextual -->
   <object class="GtkAdjustment" id="adjustment1">
-    <property name="upper">60</property>
+    <property name="value">4</property>
     <property name="lower">4</property>
-    <property name="page_increment">0</property>
+    <property name="upper">60</property>
     <property name="step_increment">1</property>
-    <property name="page_size">0</property>
-    <property name="value">4</property>
   </object>
   <object class="GtkAdjustment" id="adjustment2">
-    <property name="upper">100</property>
+    <property name="value">10</property>
     <property name="lower">10</property>
-    <property name="page_increment">0</property>
+    <property name="upper">100</property>
     <property name="step_increment">1</property>
-    <property name="page_size">0</property>
-    <property name="value">10</property>
   </object>
   <object class="GtkAdjustment" id="adjustment3">
-    <property name="upper">50</property>
+    <property name="value">3</property>
     <property name="lower">3</property>
-    <property name="page_increment">0</property>
+    <property name="upper">50</property>
     <property name="step_increment">1</property>
-    <property name="page_size">0</property>
-    <property name="value">3</property>
   </object>
-  <object class="GtkUIManager" id="uimanager">
-    <child>
-      <object class="GtkActionGroup" id="actiongroup1">
-        <child>
-          <object class="GtkAction" id="game_topmenu">
-            <property name="name">game_topmenu</property>
-            <property name="label" translatable="yes">_Game</property>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="newgame_menuitem">
-            <property name="name">newgame_menuitem</property>
-            <property name="label" translatable="yes">_New Game</property>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="allgames_menuitem">
-            <property name="name">allgames_menuitem</property>
-            <property name="label" translatable="yes">All Games (Logic, Mental Calculation, Memory and Verbal Analogies)</property>
-            <signal handler="OnAllGames" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="logic_menuitem">
-            <property name="name">logic_menuitem</property>
-            <property name="label" translatable="yes">Logic Puzzles Only</property>
-            <signal handler="OnLogicOnly" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="calculation_menuitem">
-            <property name="name">calculation_menuitem</property>
-            <property name="label" translatable="yes">Mental Calculation Trainers Only</property>
-            <signal handler="OnMathOnly" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="memory_menuitem">
-            <property name="name">memory_menuitem</property>
-            <property name="label" translatable="yes">Memory Trainers Only</property>
-            <signal handler="OnMemoryOnly" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="verbal_menuitem">
-            <property name="name">verbal_menuitem</property>
-            <property name="label" translatable="yes">Verbal Analogies Only</property>
-            <signal handler="OnVerbalOnly" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="custom_game">
-            <property name="name">custom_game</property>
-            <property name="label" translatable="yes">Custom Game Selection...</property>
-            <signal handler="OnCustomGame" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="pause_menuitem">
-            <property name="name">pause_menuitem</property>
-            <property name="label" translatable="yes">_Pause Game</property>
-            <signal handler="OnPauseGame" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="finish_menuitem">
-            <property name="name">finish_menuitem</property>
-            <property name="label" translatable="yes">_End Game</property>
-            <signal handler="OnEndGame" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="imagemenuitem2">
-            <property name="stock_id">gtk-quit</property>
-            <property name="name">imagemenuitem2</property>
-            <signal handler="OnQuit" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="view_topmenu">
-            <property name="name">view_topmenu</property>
-            <property name="label" translatable="yes">_View</property>
-          </object>
-        </child>
-        <child>
-          <object class="GtkToggleAction" id="toolbar_menuitem">
-            <property name="active">True</property>
-            <property name="name">toolbar_menuitem</property>
-            <property name="label" translatable="yes">Toolbar</property>
-            <signal handler="OnToolbarActivate" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="players_game_history">
-            <property name="name">players_game_history</property>
-            <property name="label" translatable="yes">Player's Game History</property>
-            <signal handler="OnHistory" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="fullscreen">
-            <property name="stock_id">gtk-fullscreen</property>
-            <property name="name">fullscreen</property>
-            <property name="label" translatable="yes">_FullScreen</property>
-            <signal handler="OnFullscreen" name="activate"/>
-          </object>
-          <accelerator key="F11"/>
-        </child>
-        <child>
-          <object class="GtkAction" id="settings_topmenu">
-            <property name="name">settings_topmenu</property>
-            <property name="label" translatable="yes">_Settings</property>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="preferencesmenu">
-            <property name="stock_id">gtk-preferences</property>
-            <property name="name">preferencesmenu</property>
-            <signal handler="OnPreferences" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="extensionsmenu">
-            <property name="name">extensionsmenu</property>
-            <property name="label" translatable="yes">Extensions</property>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="help_topmenu">
-            <property name="name">help_topmenu</property>
-            <property name="label" translatable="yes">_Help</property>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="contentsmenuitem">
-            <property name="stock_id">gtk-help</property>
-            <property name="name">contentsmenuitem</property>
-            <property name="label" translatable="yes">_Contents</property>
-            <signal handler="OnMenuHelp" name="activate"/>
-          </object>
-          <accelerator key="F1"/>
-        </child>
-        <child>
-          <object class="GtkAction" id="extendmenuitem">
-            <property name="name">extendmenuitem</property>
-            <property name="label" translatable="yes">How to Extend gbrainy's Functionality</property>
-            <signal handler="OnExtending" name="activate"/>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="imagemenuitem3">
-            <property name="stock_id">gtk-about</property>
-            <property name="name">imagemenuitem3</property>
-            <signal handler="OnMenuAbout" name="activate"/>
-          </object>
-        </child>
-      </object>
-    </child>
-    <ui>
-      <menubar name="menubar">
-        <menu action="game_topmenu">
-          <menu action="newgame_menuitem">
-            <menuitem action="allgames_menuitem"/>
-            <menuitem action="logic_menuitem"/>
-            <menuitem action="calculation_menuitem"/>
-            <menuitem action="memory_menuitem"/>
-            <menuitem action="verbal_menuitem"/>
-            <menuitem action="custom_game"/>
-          </menu>
-          <menuitem action="pause_menuitem"/>
-          <menuitem action="finish_menuitem"/>
-          <separator/>
-          <menuitem action="imagemenuitem2"/>
-        </menu>
-        <menu action="view_topmenu">
-          <menuitem action="toolbar_menuitem"/>
-          <menuitem action="players_game_history"/>
-          <menuitem action="fullscreen"/>
-        </menu>
-        <menu action="settings_topmenu">
-          <menuitem action="preferencesmenu"/>
-          <menuitem action="extensionsmenu"/>
-        </menu>
-        <menu action="help_topmenu">
-          <menuitem action="contentsmenuitem"/>
-          <menuitem action="extendmenuitem"/>
-          <menuitem action="imagemenuitem3"/>
-        </menu>
-      </menubar>
-    </ui>
-  </object>
-  <!-- interface-requires gtk+ 2.6 -->
-  <!-- interface-naming-policy toplevel-contextual -->
   <object class="GtkWindow" id="gbrainy">
     <property name="visible">True</property>
     <property name="title" translatable="yes">gbrainy</property>
-    <signal handler="OnDeleteWindow" name="delete_event"/>
+    <signal name="delete_event" handler="OnDeleteWindow"/>
     <child>
       <object class="GtkVBox" id="vbox1">
         <property name="visible">True</property>
+        <property name="orientation">vertical</property>
         <child>
-          <object class="GtkMenuBar" constructor="uimanager" id="menubar">
+          <object class="GtkMenuBar" id="menubar1">
             <property name="visible">True</property>
+            <child>
+              <object class="GtkMenuItem" id="game_topmenu">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes">_Game</property>
+                <property name="use_underline">True</property>
+                <child type="submenu">
+                  <object class="GtkMenu" id="menu1">
+                    <property name="visible">True</property>
+                    <child>
+                      <object class="GtkImageMenuItem" id="newgame_menuitem">
+                        <property name="label" translatable="yes">_New Game</property>
+                        <property name="visible">True</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">False</property>
+                        <child type="submenu">
+                          <object class="GtkMenu" id="menu4">
+                            <property name="visible">True</property>
+                            <child>
+                              <object class="GtkMenuItem" id="allgames_menuitem">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">All Games (Logic, Mental Calculation, Memory and Verbal Analogies)</property>
+                                <property name="use_underline">True</property>
+                                <signal name="activate" handler="OnAllGames"/>
+                              </object>
+                            </child>
+                            <child>
+                              <object class="GtkMenuItem" id="logic_menuitem">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">Logic Puzzles Only</property>
+                                <property name="use_underline">True</property>
+                                <signal name="activate" handler="OnLogicOnly"/>
+                              </object>
+                            </child>
+                            <child>
+                              <object class="GtkMenuItem" id="calculation_menuitem">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">Mental Calculation Trainers Only</property>
+                                <property name="use_underline">True</property>
+                                <signal name="activate" handler="OnMathOnly"/>
+                              </object>
+                            </child>
+                            <child>
+                              <object class="GtkMenuItem" id="memory_menuitem">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">Memory Trainers Only</property>
+                                <property name="use_underline">True</property>
+                                <signal name="activate" handler="OnMemoryOnly"/>
+                              </object>
+                            </child>
+                            <child>
+                              <object class="GtkMenuItem" id="verbal_menuitem">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">Verbal Analogies Only</property>
+                                <property name="use_underline">True</property>
+                                <signal name="activate" handler="OnVerbalOnly"/>
+                              </object>
+                            </child>
+                            <child>
+                              <object class="GtkMenuItem" id="menuitem9">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">Custom Game Selection...</property>
+                                <property name="use_underline">True</property>
+                                <signal name="activate" handler="OnCustomGame"/>
+                              </object>
+                            </child>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkMenuItem" id="pause_menuitem">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">_Pause Game</property>
+                        <property name="use_underline">True</property>
+                        <signal name="activate" handler="OnPauseGame"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkMenuItem" id="finish_menuitem">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">_End Game</property>
+                        <property name="use_underline">True</property>
+                        <signal name="activate" handler="OnEndGame"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkSeparatorMenuItem" id="separatormenuitem1">
+                        <property name="visible">True</property>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkImageMenuItem" id="imagemenuitem5">
+                        <property name="label">gtk-quit</property>
+                        <property name="visible">True</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                        <signal name="activate" handler="OnQuit"/>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
+            <child>
+              <object class="GtkMenuItem" id="view_topmenu">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes">_View</property>
+                <property name="use_underline">True</property>
+                <child type="submenu">
+                  <object class="GtkMenu" id="menu2">
+                    <property name="visible">True</property>
+                    <child>
+                      <object class="GtkCheckMenuItem" id="toolbar_menuitem">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">Toolbar</property>
+                        <property name="use_underline">True</property>
+                        <property name="active">True</property>
+                        <signal name="activate" handler="OnToolbarActivate"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkImageMenuItem" id="imagemenuitem6">
+                        <property name="label">Player's Game History</property>
+                        <property name="visible">True</property>
+                        <property name="use_stock">False</property>
+                        <signal name="activate" handler="OnHistory"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkImageMenuItem" id="fullscreen_menuitem">
+                        <property name="label">gtk-fullscreen</property>
+                        <property name="visible">True</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                        <accelerator key="F11" signal="activate"/>
+                        <signal name="activate" handler="OnFullscreen"/>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
+            <child>
+              <object class="GtkMenuItem" id="settings_topmenu">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes">_Settings</property>
+                <property name="use_underline">True</property>
+                <child type="submenu">
+                  <object class="GtkMenu" id="menu5">
+                    <property name="visible">True</property>
+                    <child>
+                      <object class="GtkImageMenuItem" id="imagemenuitem1">
+                        <property name="label" translatable="yes">Preferences</property>
+                        <property name="visible">True</property>
+                        <property name="use_underline">True</property>
+                        <property name="image">image1</property>
+                        <property name="use_stock">False</property>
+                        <signal name="activate" handler="OnPreferences"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkMenuItem" id="extensions_menuitem">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">Extensions</property>
+                        <property name="use_underline">True</property>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
+            <child>
+              <object class="GtkMenuItem" id="help_topmenu">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes">_Help</property>
+                <property name="use_underline">True</property>
+                <child type="submenu">
+                  <object class="GtkMenu" id="about_menuitem">
+                    <property name="visible">True</property>
+                    <child>
+                      <object class="GtkImageMenuItem" id="contents_menuitem">
+                        <property name="label" translatable="yes">_Contents</property>
+                        <property name="visible">True</property>
+                        <property name="use_underline">True</property>
+                        <property name="image">image2</property>
+                        <property name="use_stock">False</property>
+                        <signal name="activate" handler="OnMenuHelp"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkMenuItem" id="extend_menuitem">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">How to Extend gbrainy's Functionality</property>
+                        <property name="use_underline">True</property>
+                        <signal name="activate" handler="OnExtending"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkImageMenuItem" id="imagemenuitem10">
+                        <property name="label">gtk-about</property>
+                        <property name="visible">True</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                        <signal name="activate" handler="OnMenuAbout"/>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
           </object>
           <packing>
             <property name="expand">False</property>
@@ -302,7 +316,7 @@
                   </object>
                   <packing>
                     <property name="x_options">GTK_FILL</property>
-                    <property name="y_options"/>
+                    <property name="y_options"></property>
                   </packing>
                 </child>
                 <child>
@@ -312,13 +326,13 @@
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
                     <property name="use_stock">True</property>
-                    <signal handler="OnAnswerButtonClicked" name="clicked"/>
+                    <signal name="clicked" handler="OnAnswerButtonClicked"/>
                   </object>
                   <packing>
                     <property name="left_attach">2</property>
                     <property name="right_attach">3</property>
                     <property name="x_options">GTK_FILL</property>
-                    <property name="y_options"/>
+                    <property name="y_options"></property>
                   </packing>
                 </child>
                 <child>
@@ -326,7 +340,7 @@
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
-                    <signal handler="OnNextButtonClicked" name="clicked"/>
+                    <signal name="clicked" handler="OnNextButtonClicked"/>
                     <child>
                       <object class="GtkAlignment" id="alignment5">
                         <property name="visible">True</property>
@@ -337,7 +351,7 @@
                             <property name="visible">True</property>
                             <property name="spacing">2</property>
                             <child>
-                              <object class="GtkImage" id="image5">
+                              <object class="GtkImage" id="goforward_image">
                                 <property name="visible">True</property>
                                 <property name="stock">gtk-go-forward</property>
                               </object>
@@ -368,7 +382,7 @@
                     <property name="left_attach">4</property>
                     <property name="right_attach">5</property>
                     <property name="x_options">GTK_FILL</property>
-                    <property name="y_options"/>
+                    <property name="y_options"></property>
                     <property name="x_padding">3</property>
                   </packing>
                 </child>
@@ -377,7 +391,7 @@
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
-                    <signal handler="OnTip" name="clicked"/>
+                    <signal name="clicked" handler="OnTip"/>
                     <child>
                       <object class="GtkAlignment" id="alignment6">
                         <property name="visible">True</property>
@@ -388,7 +402,7 @@
                             <property name="visible">True</property>
                             <property name="spacing">2</property>
                             <child>
-                              <object class="GtkImage" id="image6">
+                              <object class="GtkImage" id="dlginfo-image">
                                 <property name="visible">True</property>
                                 <property name="stock">gtk-dialog-info</property>
                               </object>
@@ -419,7 +433,7 @@
                     <property name="left_attach">3</property>
                     <property name="right_attach">4</property>
                     <property name="x_options">GTK_FILL</property>
-                    <property name="y_options"/>
+                    <property name="y_options"></property>
                   </packing>
                 </child>
                 <child>
@@ -427,13 +441,13 @@
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="invisible_char">&#x25CF;</property>
-                    <signal handler="OnAnswerActivate" name="activate"/>
+                    <signal name="activate" handler="OnAnswerActivate"/>
                   </object>
                   <packing>
                     <property name="left_attach">1</property>
                     <property name="right_attach">2</property>
                     <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
-                    <property name="y_options"/>
+                    <property name="y_options"></property>
                   </packing>
                 </child>
               </object>
@@ -462,4 +476,12 @@
       </object>
     </child>
   </object>
+  <object class="GtkImage" id="image1">
+    <property name="visible">True</property>
+    <property name="stock">gtk-preferences</property>
+  </object>
+  <object class="GtkImage" id="image2">
+    <property name="visible">True</property>
+    <property name="stock">gtk-help</property>
+  </object>
 </interface>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]