[grisbi-bugs] [Grisbi-0.6.0 0000653]: Default accounts file path is wrong in the "New accounts file" wizard

bugtracker at grisbi.org bugtracker at grisbi.org
Mon May 24 20:39:04 CEST 2010


The following issue has been CLOSED 
====================================================================== 
http://grisbi.tuxfamily.org/mantis/view.php?id=653 
====================================================================== 
Reported By:                guneeyoufix
Assigned To:                guneeyoufix
====================================================================== 
Project:                    Grisbi-0.6.0
Issue ID:                   653
Category:                   Main
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Plateforme:                 Windows 
OS:                         Windows 
Version OS:                 Vista Familiale Premium 
Unstable Impact:            Yes 
Version GTK:                 
Resolution:                 fixed
Fixed in Version:           CVS (développement)
====================================================================== 
Date Submitted:             09-30-2009 21:16 UTC
Last Modified:              05-24-2010 18:39 UTC
====================================================================== 
Summary:                    Default accounts file path is wrong in the "New
accounts file" wizard
Description: 
The default path proposed for the location of the new accounts file in the
wizard is wrong

Observed : "C:\Users\<username>\Documents\\My accounts.gsb"
Expected : "C:\Users\<username>\Documents\My accounts.gsb"
====================================================================== 

---------------------------------------------------------------------- 
 guneeyoufix - 10-04-09 15:34  
---------------------------------------------------------------------- 
in grisbi/src/gsb_assistant_file.c: 292

  292 	nom_fichier_comptes = g_strconcat ( my_get_gsb_file_default_dir
(),
  293 			G_DIR_SEPARATOR_S, titre_fichier, ".gsb", NULL );

On Win32 OSes, the 
    "my_get_gsb_file_default_dir ()" function in file "utils_files.c"
returns the output of the
    "win32_get_my_documents_folder_path()" function in file
"win32_utils.c"

This function already adds a backslash to the default dir path.

I'd suggest to remove the line doing that from the "win32_utils.c" file
(line 188).

 

---------------------------------------------------------------------- 
 guneeyoufix - 10-06-09 14:10  
---------------------------------------------------------------------- 
Fixed in file win/win32utils.c line 188

Preventing the add of a backslash at the end of the MyDocuments path 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-30-09 21:16  guneeyoufix    New Issue                                    
09-30-09 21:16  guneeyoufix    Plateforme                => Windows         
09-30-09 21:16  guneeyoufix    OS                        => Windows         
09-30-09 21:16  guneeyoufix    Version OS                => Vista Familiale
Premium
09-30-09 21:16  guneeyoufix    Unstable Impact           => Yes             
10-02-09 09:34  guneeyoufix    Note Added: 0001166                          
10-04-09 14:56  guneeyoufix    Note Added: 0001172                          
10-04-09 15:34  guneeyoufix    Note Edited: 0001166                         
10-04-09 15:34  guneeyoufix    Note Deleted: 0001172                        
10-06-09 13:35  guneeyoufix    Status                   new => assigned     
10-06-09 13:35  guneeyoufix    Assigned To               => guneeyoufix     
10-06-09 14:10  guneeyoufix    Status                   assigned => resolved
10-06-09 14:10  guneeyoufix    Fixed in Version          => CVS (développement)
10-06-09 14:10  guneeyoufix    Resolution               open => fixed       
10-06-09 14:10  guneeyoufix    Note Added: 0001183                          
05-24-10 18:39  pbiava         Status                   resolved => closed  
======================================================================



More information about the bugsreports mailing list