]> saetta.ns0.it Git - zakauthe/plugins/db/commitdiff
Intercepted delete-event as cancel button pressed.
authorAndrea Zagli <azagli@libero.it>
Sat, 13 Feb 2010 09:36:08 +0000 (10:36 +0100)
committerAndrea Zagli <azagli@libero.it>
Sat, 13 Feb 2010 09:36:08 +0000 (10:36 +0100)
data/libaute-db/glade/autedb.glade
src/aute_db.c

index 382a861e29a21fe33803fd4cd166f1dacba8675c..d68387e309e98ff8f8bee4e7b5789841257a5985 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <interface>
-  <!-- interface-requires gtk+ 2.6 -->
+  <requires lib="gtk+" version="2.16"/>
   <!-- interface-naming-policy project-wide -->
   <object class="GtkDialog" id="diag_main">
     <property name="visible">True</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox1">
         <property name="visible">True</property>
+        <property name="orientation">vertical</property>
         <child>
           <object class="GtkTable" id="table1">
             <property name="visible">True</property>
             <property name="border_width">5</property>
             <property name="n_rows">3</property>
             <property name="n_columns">2</property>
-            <property name="column_spacing">3</property>
-            <property name="row_spacing">3</property>
+            <property name="column_spacing">5</property>
+            <property name="row_spacing">5</property>
             <child>
               <object class="GtkLabel" id="label1">
                 <property name="visible">True</property>
@@ -79,8 +80,8 @@
                     <property name="border_width">5</property>
                     <property name="n_rows">2</property>
                     <property name="n_columns">2</property>
-                    <property name="column_spacing">3</property>
-                    <property name="row_spacing">3</property>
+                    <property name="column_spacing">5</property>
+                    <property name="row_spacing">5</property>
                     <child>
                       <object class="GtkLabel" id="label4">
                         <property name="visible">True</property>
index 5abeb2b8d1ed6db5c560285d23efe14a98d1f40b..c5260fef497707c9467e1e400fcfde2ea76bac6e 100644 (file)
@@ -216,6 +216,8 @@ gchar
                                break;
 
                        case GTK_RESPONSE_CANCEL:
+                       case GTK_RESPONSE_NONE:
+                       case GTK_RESPONSE_DELETE_EVENT:
                                ret = g_strdup ("");
                                break;