bi weekly patch

Robert Zaleski rzaleski81 at yahoo.com
Tue Aug 9 00:18:14 EDT 2005


hey all, 
    The wife and myself have been using gnucash for almost a year now
to keep track of the finances.  I noticed bi-weekly didn't carry over
to the advanced page like I expected, so I decided to get off my duff
and actually dig in to the code to fix it.  It's a little bit of a lit
down to submit a one line define change, but I'll find something more
to do now that I have a cvs repository checked out and a devel install
in my home area that doesn't mess with the main copy my wife uses.  The
patch was just against the standard head the hackers guide says to use
as guest   Well, here's the cvs diff -u.  CC me for any replys incase
the devel subscribe didn't take.


--- src/gnome/dialog-sx-from-trans.c    27 Aug 2004 22:07:10 -0000     
1.31
+++ src/gnome/dialog-sx-from-trans.c    9 Aug 2005 04:16:19 -0000
@@ -318,7 +318,7 @@
     tmpfs = xaccFreqSpecMalloc( gnc_get_current_book() );
     xaccFreqSpecSetComposite( fs );
     xaccFreqSpecSetWeekly( tmpfs, date, 2 );
-    xaccFreqSpecSetUIType( fs, UIFREQ_WEEKLY );
+    xaccFreqSpecSetUIType( fs, UIFREQ_BI_WEEKLY );
     xaccFreqSpecCompositeAdd( fs, tmpfs );
     break;


--------------------------------------------------------
You are free to do with document whatever you please but 
reading it would be a good idea. I am naturally not
responsible for any consequence or action arising out of
the use of information provided in this document. I am 
not a very responsible person and you heed me at your own
peril.       - 'Linux Installation Strategies' LDP


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


More information about the gnucash-devel mailing list