[grisbi-cvs] [git push]Grisbi branch grisbi-1.0.x updated. upstream_version_1_0_0-51-g6469677

Pierre Biava noreply at sourceforge.net
Sat Sep 24 22:00:11 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grisbi".

The branch, grisbi-1.0.x has been updated
       via  646967741968a7f0bdf03ca7f3dba976dc8f6839 (commit)
       via  e8fc58e5723c1d12cf92fe58613765024cdd627f (commit)
      from  19dceafa8cb84631e7a2416c1114ff892bc98b57 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://grisbi.git.sourceforge.net/git/gitweb.cgi?p=grisbi/code;a=commitdiff;h=

commit 0c6918a89c7bf3ed1542cac0dffe7292114e1af5
Author: pbiava <pierre.biava at orange.fr>
Date:   Fri Sep 23 21:01:51 2016 +0200

    fixes bug when create or remove bank

diff --git a/src/gsb_bank.c b/src/gsb_bank.c
index 3e80832..ee389a4 100644
--- a/src/gsb_bank.c
+++ b/src/gsb_bank.c
@@ -179,7 +179,7 @@ GtkWidget *gsb_bank_create_combobox ( gint index )
  *
  * \param combobox
  *
- * \return the bank number, 0 for none, -1 for 'new bank'
+ * \return the bank number, 0 for none, -1 for 'new bank', -2 'Inconnu'
  * */
 gint gsb_bank_list_get_bank_number ( GtkWidget *combobox )
 {
@@ -187,11 +187,11 @@ gint gsb_bank_list_get_bank_number ( GtkWidget *combobox )
     gint bank_number;
 
     if (!combobox)
-	return -1;
+	return -2;
 
     if (!gtk_combo_box_get_active_iter ( GTK_COMBO_BOX (combobox),
 					 &iter))
-	return -1;
+	return -2;
 
     gtk_tree_model_get ( GTK_TREE_MODEL (bank_list_model),
 			 &iter,
@@ -306,7 +306,7 @@ static gboolean gsb_bank_update_selected_line_model ( GtkWidget *combobox )
 {
     GtkTreeIter iter;
     GSList *list_tmp;
-    gint save_bank_number = -1;
+    gint save_bank_number = -2;
 
     /* save the selection */
     if (combobox)

http://grisbi.git.sourceforge.net/git/gitweb.cgi?p=grisbi/code;a=commitdiff;h=

commit 0c6918a89c7bf3ed1542cac0dffe7292114e1af5
Author: pbiava <pierre.biava at orange.fr>
Date:   Fri Sep 23 21:01:51 2016 +0200

    fixes bug when create or remove bank

diff --git a/src/gsb_bank.c b/src/gsb_bank.c
index 3e80832..ee389a4 100644
--- a/src/gsb_bank.c
+++ b/src/gsb_bank.c
@@ -179,7 +179,7 @@ GtkWidget *gsb_bank_create_combobox ( gint index )
  *
  * \param combobox
  *
- * \return the bank number, 0 for none, -1 for 'new bank'
+ * \return the bank number, 0 for none, -1 for 'new bank', -2 'Inconnu'
  * */
 gint gsb_bank_list_get_bank_number ( GtkWidget *combobox )
 {
@@ -187,11 +187,11 @@ gint gsb_bank_list_get_bank_number ( GtkWidget *combobox )
     gint bank_number;
 
     if (!combobox)
-	return -1;
+	return -2;
 
     if (!gtk_combo_box_get_active_iter ( GTK_COMBO_BOX (combobox),
 					 &iter))
-	return -1;
+	return -2;
 
     gtk_tree_model_get ( GTK_TREE_MODEL (bank_list_model),
 			 &iter,
@@ -306,7 +306,7 @@ static gboolean gsb_bank_update_selected_line_model ( GtkWidget *combobox )
 {
     GtkTreeIter iter;
     GSList *list_tmp;
-    gint save_bank_number = -1;
+    gint save_bank_number = -2;
 
     /* save the selection */
     if (combobox)

-----------------------------------------------------------------------

Summary of changes:
 po/cs.po                   |  934 ++++++++++++++++++++++----------------------
 po/da.po                   |  934 ++++++++++++++++++++++----------------------
 po/de.po                   |  934 ++++++++++++++++++++++----------------------
 po/el.po                   |  934 ++++++++++++++++++++++----------------------
 po/eo.po                   |  933 ++++++++++++++++++++++----------------------
 po/es.po                   |  934 ++++++++++++++++++++++----------------------
 po/fa.po                   |  934 ++++++++++++++++++++++----------------------
 po/fr.po                   |  933 ++++++++++++++++++++++----------------------
 po/he.po                   |  934 ++++++++++++++++++++++----------------------
 po/it.po                   |  934 ++++++++++++++++++++++----------------------
 po/lv.po                   |  934 ++++++++++++++++++++++----------------------
 po/nl.po                   |  935 ++++++++++++++++++++++----------------------
 po/pl.po                   |  934 ++++++++++++++++++++++----------------------
 po/pt_BR.po                |  934 ++++++++++++++++++++++----------------------
 po/ro.po                   |  934 ++++++++++++++++++++++----------------------
 po/ru.po                   |  934 ++++++++++++++++++++++----------------------
 po/sv.po                   |  933 ++++++++++++++++++++++----------------------
 po/zh_CN.po                |  934 ++++++++++++++++++++++----------------------
 src/gsb_file_load.c        |    3 +
 src/gsb_file_save.c        |    2 +
 src/gsb_reconcile_config.c |   31 ++-
 src/structures.h           |    1 +
 22 files changed, 8493 insertions(+), 8354 deletions(-)


hooks/post-receive
-- 
Grisbi


More information about the cvs mailing list