[grisbi-cvs] [SCM] grisbi branch, grisbi-0.8.x, updated. upstream_version_0_8_9-29-g058ad83

Pierre Biava nobody at users.sourceforge.net
Sat Jun 9 10:56:21 CEST 2012


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-0.8.x has been updated
       via  058ad831ade5edcbe867716581ebf963a89b81f2 (commit)
       via  de0cb0275b23c902f67834986614c4f3a58bdcbe (commit)
      from  362e15420ade76f6925a1859aaf983f30332b666 (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 058ad831ade5edcbe867716581ebf963a89b81f2
Author: pbiava <pierre.biava at nerim.net>
Date:   Sat Jun 9 10:55:09 2012 +0200

    fixes a bug of menu management

commit de0cb0275b23c902f67834986614c4f3a58bdcbe
Author: pbiava <pierre.biava at nerim.net>
Date:   Sat Jun 9 10:54:37 2012 +0200

    fr.po: Update string

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

Changes:
diff --git a/po/fr.po b/po/fr.po
index 72d3951..75a1381 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -3428,7 +3428,7 @@ msgstr "toutes les dates"
 #: ../src/etats_support.c:191 ../src/etats_support.c:293
 #, c-format
 msgid "Result from %s to %s"
-msgstr "R├ęsultat de %s pour %s"
+msgstr "R├ęsultat du %s au %s"
 
 #: ../src/etats_support.c:197
 msgid "Custom dates ranges not filled"
diff --git a/src/fenetre_principale.c b/src/fenetre_principale.c
index 25e4f42..019f1ed 100644
--- a/src/fenetre_principale.c
+++ b/src/fenetre_principale.c
@@ -35,18 +35,21 @@
 #include "bet_finance_ui.h"
 #include "bet_hist.h"
 #include "bet_tab.h"
-#include "navigation.h"
-#include "gsb_transactions_list.h"
+#include "categories_onglet.h"
 #include "etats_onglet.h"
+#include "gsb_account_property.h"
 #include "gsb_data_account.h"
 #include "gsb_account_property.h"
 #include "gsb_form.h"
 #include "gsb_scheduler_list.h"
-#include "main.h"
-#include "categories_onglet.h"
+#include "gsb_transactions_list.h"
 #include "imputation_budgetaire.h"
-#include "tiers_onglet.h"
+#include "main.h"
+#include "menu.h"
+#include "navigation.h"
 #include "structures.h"
+#include "tiers_onglet.h"
+#include "traitement_variables.h"
 #include "erreur.h"
 /*END_INCLUDE*/
 
@@ -316,11 +319,18 @@ gboolean gsb_gui_on_account_switch_page ( GtkNotebook *notebook,
 {
     gint account_number;
 
-    /* devel_debug_int (page_number); */
+    if ( page_number != GSB_TRANSACTIONS_PAGE )
+    {
+        menus_view_sensitifs ( FALSE );
+        gsb_gui_sensitive_menu_item ( "EditMenu", "NewTransaction", NULL, FALSE );
+    }
+
     switch ( page_number )
     {
     case GSB_TRANSACTIONS_PAGE:
         gsb_form_set_expander_visible ( TRUE, TRUE );
+        menus_view_sensitifs ( TRUE );
+        gsb_gui_sensitive_menu_item ( "EditMenu", "NewTransaction", NULL, TRUE );
         break;
     case GSB_ESTIMATE_PAGE:
         gsb_form_set_expander_visible (FALSE, FALSE );
diff --git a/src/traitement_variables.c b/src/traitement_variables.c
index a74d770..a9a4277 100644
--- a/src/traitement_variables.c
+++ b/src/traitement_variables.c
@@ -663,7 +663,6 @@ void menus_view_sensitifs ( gboolean sensitif )
     menu_name ( "ViewMenu",     "ShowGrid",             NULL ),
     menu_name ( "ViewMenu",     "ShowReconciled",       NULL ),
     menu_name ( "ViewMenu",     "ShowArchived",         NULL ),
-    menu_name ( "ViewMenu",     "ShowClosed",           NULL ),
     menu_name ( "ViewMenu",     "ShowOneLine",          NULL ),
     menu_name ( "ViewMenu",     "ShowTwoLines",         NULL ),
     menu_name ( "ViewMenu",     "ShowThreeLines",       NULL ),


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list