Patches item #2100457, was opened at 2008-09-08 17:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757418&aid=2100457&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Genete (genete)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add Document filename to the settings dialog

Initial Comment:
This patch is a continuation of the previous one [2087747].
I've added the filename prefix for new documents to the Settings dialog. It 
allows to remember it between sessions and immediately it is applied by the 
settings dialog. 
Also to make it more consistent and readable I've created a new tab for the 
document custom settings. It has been called "Document". 
The new tab holds now the "Preferred filename prefix" (a text entry) the 
"Preferred Document X size" and "Preferred Document Y size" (both spin 
buttons). They also have tool tips added.

I would like to highlight that there were two code lines that did a check to 
know if the current default filename exists without the added incremental 
index. They are:

-  if (as.find(DEFAULT_FILENAME_PREFIX) != 0)
+  if (as.find(custom_filename_prefix.c_str()) != 0)

in app.cpp

and 

-  return get_file_name().find(DEFAULT_FILENAME_PREFIX) != 0;
+  return get_file_name().find(App::custom_filename_prefix.c_str()) != 0;

in instance.cpp

I wonder if use the custom filename prefix would broke something. 

I've opted to use it and don't let the old DEFAULT_FILENAME_PREFIX because I 
think it would not work then.

Please let me know your opinion.

I'll continue working on it.
Cheers

Genete

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757418&aid=2100457&group_id=144022

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to