[grisbi-cvs] grisbi/src transaction_list_select.c,1.6,1.7
Pierre Biava
pbiava at users.sourceforge.net
Sun May 3 21:53:20 CEST 2009
Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20905
Modified Files:
transaction_list_select.c
Log Message:
fixes bug 551
Index: transaction_list_select.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/transaction_list_select.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- transaction_list_select.c 21 Oct 2008 08:05:18 -0000 1.6
+++ transaction_list_select.c 3 May 2009 19:53:18 -0000 1.7
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
-/* Copyright (C) 2000-2008 Cédric Auger (cedric at grisbi.org) */
-/* http://www.grisbi.org */
+/* Copyright (C) 2000-2008 Cédric Auger (cedric at grisbi.org) */
+/* http://www.grisbi.org */
/* */
/* This program is free software; you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
@@ -67,7 +67,8 @@
g_return_val_if_fail ( custom_list != NULL, FALSE );
/* if the selection didn't change, do nothing */
- if (gsb_data_transaction_get_transaction_number (custom_list -> selected_row) == transaction_number)
+ if ( gsb_data_transaction_get_transaction_number (custom_list -> selected_row) ==
+ transaction_number )
return FALSE;
/* first, we un-select the last transaction */
@@ -101,7 +102,6 @@
if (record -> mother_row)
{
gtk_tree_path_append_index (path, record -> mother_row -> filtered_pos);
- gtk_tree_path_append_index (path, record -> filtered_pos);
gtk_tree_view_expand_row ( GTK_TREE_VIEW (gsb_transactions_list_get_tree_view ()),
path, FALSE );
}
More information about the cvs
mailing list