test1: about close works
authorPeter Gervai <grin@grin.hu>
Thu, 16 Oct 2008 12:27:55 +0200
changeset 2 46f2fcdca04f
parent 1 90185416e8ff
child 3 689bf4b363c3
test1: about close works
test1.glade
test1.pl
--- a/test1.glade	Thu Oct 16 12:21:33 2008 +0200
+++ b/test1.glade	Thu Oct 16 12:27:55 2008 +0200
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
-<!--Generated with glade3 3.4.5 on Thu Oct 16 12:18:29 2008 -->
+<!--Generated with glade3 3.4.5 on Thu Oct 16 12:26:53 2008 -->
 <glade-interface>
   <widget class="GtkDialog" id="nemmain">
     <property name="visible">True</property>
@@ -138,6 +138,10 @@
     <property name="authors">grin, others not</property>
     <property name="artists">grin</property>
     <signal name="close" handler="on_aboutdialog1_close"/>
+    <signal name="frame_event" handler="on_aboutdialog1_frame_event"/>
+    <signal name="remove" handler="on_aboutdialog1_remove"/>
+    <signal name="activate_default" handler="on_aboutdialog1_activate_default"/>
+    <signal name="response" handler="on_aboutdialog1_response"/>
     <child internal-child="vbox">
       <widget class="GtkVBox" id="dialog-vbox2">
         <property name="visible">True</property>
@@ -170,25 +174,57 @@
       <widget class="GtkVBox" id="vbox2">
         <property name="visible">True</property>
         <child>
-          <widget class="GtkVBox" id="vbox3">
+          <widget class="GtkFrame" id="frame1">
             <property name="visible">True</property>
+            <property name="label_xalign">0</property>
             <child>
-              <widget class="GtkHBox" id="hbox2">
+              <widget class="GtkVBox" id="vbox3">
                 <property name="visible">True</property>
                 <child>
-                  <widget class="GtkImage" id="image2">
+                  <widget class="GtkHBox" id="hbox2">
                     <property name="visible">True</property>
-                    <property name="stock">gtk-dialog-info</property>
-                    <property name="icon_size">6</property>
+                    <child>
+                      <widget class="GtkImage" id="image2">
+                        <property name="visible">True</property>
+                        <property name="stock">gtk-dialog-info</property>
+                        <property name="icon_size">6</property>
+                      </widget>
+                    </child>
+                    <child>
+                      <widget class="GtkLabel" id="main_text1">
+                        <property name="visible">True</property>
+                        <property name="has_tooltip">True</property>
+                        <property name="tooltip_markup">Az üdvozlő szöveg</property>
+                        <property name="label" translatable="yes">Enter your name and
+bear the consequences.</property>
+                      </widget>
+                      <packing>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
                   </widget>
                 </child>
                 <child>
-                  <widget class="GtkLabel" id="main_text1">
+                  <widget class="GtkHBox" id="hbox3">
                     <property name="visible">True</property>
-                    <property name="has_tooltip">True</property>
-                    <property name="tooltip_markup">Az üdvozlő szöveg</property>
-                    <property name="label" translatable="yes">Enter your name and
-bear the consequences.</property>
+                    <child>
+                      <widget class="GtkLabel" id="label3">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">Thy name:</property>
+                      </widget>
+                    </child>
+                    <child>
+                      <widget class="GtkEntry" id="entry">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="has_tooltip">True</property>
+                        <property name="tooltip_markup">Yourname here</property>
+                        <signal name="key_release_event" handler="on_entry_key_release_event"/>
+                      </widget>
+                      <packing>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
                   </widget>
                   <packing>
                     <property name="position">1</property>
@@ -197,29 +233,13 @@
               </widget>
             </child>
             <child>
-              <widget class="GtkHBox" id="hbox3">
+              <widget class="GtkLabel" id="label2">
                 <property name="visible">True</property>
-                <child>
-                  <widget class="GtkLabel" id="label2">
-                    <property name="visible">True</property>
-                    <property name="label" translatable="yes">Thy name:</property>
-                  </widget>
-                </child>
-                <child>
-                  <widget class="GtkEntry" id="entry">
-                    <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="has_tooltip">True</property>
-                    <property name="tooltip_markup">Yourname here</property>
-                    <signal name="key_release_event" handler="on_entry_key_release_event"/>
-                  </widget>
-                  <packing>
-                    <property name="position">1</property>
-                  </packing>
-                </child>
+                <property name="label" translatable="yes">&lt;b&gt;Concentrate here&lt;/b&gt;</property>
+                <property name="use_markup">True</property>
               </widget>
               <packing>
-                <property name="position">1</property>
+                <property name="type">label_item</property>
               </packing>
             </child>
           </widget>
--- a/test1.pl	Thu Oct 16 12:21:33 2008 +0200
+++ b/test1.pl	Thu Oct 16 12:27:55 2008 +0200
@@ -55,7 +55,7 @@
     return 1;
 }
 
-sub on_aboutdialog1_close {
+sub on_aboutdialog1_response {
     $window_about->hide();
     return 1;
 }