[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9_4-43-g2d0ebe6

Pierre Biava nobody at users.sourceforge.net
Fri Sep 30 06:39:17 CEST 2011


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, master has been updated
       via  2d0ebe6c4017f5d0d79c7aef7b419bec2ea29c60 (commit)
      from  4be0d0dcd496e2fec85d8c5b697f5c8597e99cc1 (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 -----------------------------------------------------------------
commit 2d0ebe6c4017f5d0d79c7aef7b419bec2ea29c60
Author: pbiava <pierre.biava at nerim.net>
Date:   Fri Sep 30 06:31:51 2011 +0200

    minor changes: add comments and change the minimum version of gtk for the ui(cherry picked from commit 3d109150f64957f94215c05f67d6703cb688b45d)

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

Changes:
diff --git a/src/bet_graph.c b/src/bet_graph.c
index bc178b8..ef1b1fa 100644
--- a/src/bet_graph.c
+++ b/src/bet_graph.c
@@ -69,20 +69,22 @@ struct _struct_bet_graph_data
     gchar *title;
     gchar *service_id;          /* définit le type de graphique : GogPiePlot, GogLinePlot, GogBarColPlot = défaut */
     gboolean is_legend;
+    gboolean valid_data;         /* empêche le recalcul des données pendant la durée de vie du graph */
 
-    /* données communes */
+    /* données communes aux axes*/
     gint nbre_elemnts;
 
-    /* données pour les histogrammes et XY */
-    gdouble tab_X[MAX_POINTS_GRAPHIQUE];
-    gdouble tab_Y[MAX_POINTS_GRAPHIQUE];
-    gboolean valid_data;
+    /* données pour l'axe X */
+    gdouble tab_X[MAX_POINTS_GRAPHIQUE];                            /* données de type gdouble */
+    gchar tab_libelle[MAX_POINTS_GRAPHIQUE][TAILLE_MAX_LIBELLE];    /* données de type string */
+    gchar **tab_vue_libelle;                                        /* tableau associé à celui ci-dessus */
+
+    /* données pour l'axe Y */
+    gdouble tab_Y[MAX_POINTS_GRAPHIQUE];                            /* données de type gdouble */
 
     /* données pour les camemberts */
     gint type_infos;            /* 0 type crédit ou < 0, 1 type débit ou >= 0, -1 tous types */
-    gdouble montant;            /* montant annuel toutes catégories. sert au calculde pourcentage */
-    gchar tab_libelle[MAX_POINTS_GRAPHIQUE][TAILLE_MAX_LIBELLE];
-    gchar **tab_vue_libelle;
+    gdouble montant;            /* montant annuel toutes catégories. sert au calcul de pourcentage */
 
 };
 
diff --git a/src/ui/bet_graph.ui b/src/ui/bet_graph.ui
index 2a02e73..15c63c8 100644
--- a/src/ui/bet_graph.ui
+++ b/src/ui/bet_graph.ui
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
-  <requires lib="gtk+" version="2.24"/>
+  <requires lib="gtk+" version="2.18"/>
   <!-- interface-naming-policy project-wide -->
   <object class="GtkAdjustment" id="adjustment1">
     <property name="upper">500</property>


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list