[grisbi-cvs] grisbi/src categories_onglet.c, 1.188, 1.189 gsb_form.c, 1.106, 1.107 gsb_transactions_list.c, 1.148, 1.149 imputation_budgetaire.c, 1.151, 1.152 tiers_onglet.c, 1.147, 1.148 traitement_variables.c, 1.163, 1.164

Pierre Biava pbiava at users.sourceforge.net
Sun Feb 8 21:38:26 CET 2009


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

Modified Files:
	categories_onglet.c gsb_form.c gsb_transactions_list.c 
	imputation_budgetaire.c tiers_onglet.c traitement_variables.c 
Log Message:
fix 426 + impact of mk_include

Index: imputation_budgetaire.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/imputation_budgetaire.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- imputation_budgetaire.c	8 Feb 2009 19:06:23 -0000	1.151
+++ imputation_budgetaire.c	8 Feb 2009 20:38:24 -0000	1.152
@@ -54,6 +54,7 @@
 /*END_INCLUDE*/
 
 /*START_STATIC*/
+static void appui_sur_ajout_imputation ( GtkTreeModel * model );
 static gboolean budgetary_line_drag_data_get ( GtkTreeDragSource * drag_source, GtkTreePath * path,
 					GtkSelectionData * selection_data );
 static GtkWidget *creation_barre_outils_ib ( void );
@@ -61,7 +62,6 @@
 static void exporter_ib ( void );
 static void importer_ib ( void );
 static gboolean popup_budgetary_line_view_mode_menu ( GtkWidget * button );
-static void appui_sur_ajout_imputation ( GtkTreeModel * model );
 /*END_STATIC*/
 
 

Index: traitement_variables.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/traitement_variables.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -d -r1.163 -r1.164
--- traitement_variables.c	17 Jan 2009 07:23:53 -0000	1.163
+++ traitement_variables.c	8 Feb 2009 20:38:24 -0000	1.164
@@ -196,6 +196,8 @@
 	etat.modification_fichier = 0;
 	gsb_gui_sensitive_menu_item ( "FileMenu", "Save", NULL, FALSE );
     }
+    /* give the focus to the navigation_tree_view */
+    gtk_widget_grab_focus (navigation_tree_view);
 }
 
 

Index: gsb_transactions_list.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_transactions_list.c,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- gsb_transactions_list.c	9 Jan 2009 14:49:00 -0000	1.148
+++ gsb_transactions_list.c	8 Feb 2009 20:38:24 -0000	1.149
@@ -1351,6 +1351,9 @@
 	&&
 	gsb_form_is_visible ())
 	gsb_form_fill_by_transaction (new_selected_transaction, TRUE, FALSE);
+
+    /* give the focus to the navigation_tree_view */
+    gtk_widget_grab_focus (navigation_tree_view);
 }
 
 

Index: gsb_form.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_form.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- gsb_form.c	8 Feb 2009 14:49:34 -0000	1.106
+++ gsb_form.c	8 Feb 2009 20:38:24 -0000	1.107
@@ -2119,9 +2119,6 @@
     else
 	new_transaction = 0;
 
-    /* the current widget has to lose the focus to make all the changes if necessary */
-    gtk_widget_grab_focus (navigation_tree_view);
-    
     /* check if the datas are ok */
     if ( !gsb_form_validate_form_transaction (transaction_number, is_transaction))
 	return FALSE;
@@ -2370,6 +2367,9 @@
     /* as we modify or create a transaction, we invalidate the current report */
     gsb_report_set_current (0);
 
+    /* give the focus to the navigation_tree_view */
+    gtk_widget_grab_focus (navigation_tree_view);
+
     modification_fichier ( TRUE );
     return FALSE;
 }

Index: categories_onglet.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/categories_onglet.c,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- categories_onglet.c	8 Feb 2009 19:06:23 -0000	1.188
+++ categories_onglet.c	8 Feb 2009 20:38:24 -0000	1.189
@@ -45,6 +45,7 @@
 /*END_INCLUDE*/
 
 /*START_STATIC*/
+static void appui_sur_ajout_category ( GtkTreeModel * model );
 static gboolean categ_drag_data_get ( GtkTreeDragSource * drag_source, GtkTreePath * path,
 			       GtkSelectionData * selection_data );
 static GtkWidget *creation_barre_outils_categ ( void );
@@ -52,7 +53,6 @@
 static gboolean exporter_categ ( GtkButton * widget, gpointer data );
 static void importer_categ ( void );
 static gboolean popup_category_view_mode_menu ( GtkWidget * button );
-static void appui_sur_ajout_category ( GtkTreeModel * model );
 /*END_STATIC*/
 
 

Index: tiers_onglet.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/tiers_onglet.c,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -d -r1.147 -r1.148
--- tiers_onglet.c	8 Feb 2009 19:06:23 -0000	1.147
+++ tiers_onglet.c	8 Feb 2009 20:38:24 -0000	1.148
@@ -59,6 +59,7 @@
 /*END_INCLUDE*/
 
 /*START_STATIC*/
+static void appui_sur_ajout_payee ( GtkTreeModel * model );
 static GtkWidget *creation_barre_outils_tiers ( void );
 static gboolean edit_payee ( GtkTreeView * view );
 static gboolean payee_drag_data_get ( GtkTreeDragSource * drag_source, GtkTreePath * path,
@@ -69,7 +70,6 @@
                         MetatreeInterface * iface, GtkTreeIter * iter,
                         gint division, gchar * old_payee );
 static gboolean popup_payee_view_mode_menu ( GtkWidget * button );
-static void appui_sur_ajout_payee ( GtkTreeModel * model );
 /*END_STATIC*/
 
 //~ GtkWidget *arbre_tiers = NULL;
@@ -84,7 +84,7 @@
 
 /*START_EXTERN*/
 extern MetatreeInterface * payee_interface ;
-extern GtkWidget *window;
+extern GtkWidget *window ;
 /*END_EXTERN*/
 
 



More information about the cvs mailing list