]> saetta.ns0.it Git - zakauthe/plugins/ldap/commitdiff
Intercepted delete-event as cancel button pressed.
authorAndrea Zagli <azagli@libero.it>
Sat, 13 Feb 2010 09:32:48 +0000 (10:32 +0100)
committerAndrea Zagli <azagli@libero.it>
Sat, 13 Feb 2010 09:32:48 +0000 (10:32 +0100)
data/libauteldap/gui/auteldap.gui
src/aute_ldap.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 ae187b559caca86d73644632bbe6e9890842198d..c9c397dcdad2f09a1ee84defe13d98d2061c79af 100644 (file)
@@ -248,6 +248,8 @@ gchar
                                break;
 
                        case GTK_RESPONSE_CANCEL:
+                       case GTK_RESPONSE_NONE:
+                       case GTK_RESPONSE_DELETE_EVENT:
                                ret = g_strdup ("");
                                break;