[grisbi-cvs] grisbi/src tiers_onglet.c,1.145,1.146

Pierre Biava pbiava at users.sourceforge.net
Mon Feb 2 06:26:47 CET 2009


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv5772/src

Modified Files:
	tiers_onglet.c 
Log Message:
correction of the selection button properties  and updates string

Index: tiers_onglet.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/tiers_onglet.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- tiers_onglet.c	1 Feb 2009 21:39:00 -0000	1.145
+++ tiers_onglet.c	2 Feb 2009 05:26:45 -0000	1.146
@@ -80,7 +80,7 @@
 
 /*START_EXTERN*/
 extern MetatreeInterface * payee_interface ;
-extern GtkWidget *window ;
+extern GtkWidget *window;
 /*END_EXTERN*/
 
 
@@ -563,6 +563,7 @@
 	{
 	    gtk_widget_destroy ( GTK_WIDGET ( dialog ) );
         g_free ( title );
+        g_free ( old_payee );
 
 	    return FALSE;
 	}
@@ -600,8 +601,11 @@
                         div_iter, payee_number );
     payee_tree_update_transactions ( model, payee_interface,
                         div_iter, payee_number, old_payee );
+    gtk_tree_selection_select_iter ( selection, div_iter );
+    gtk_widget_grab_focus ( GTK_WIDGET ( view ) );
     gtk_tree_iter_free (div_iter);
     g_free ( title );
+    g_free ( old_payee );
 
     /* update the transactions list */
     transaction_list_update_element (ELEMENT_PARTY);



More information about the cvs mailing list