Changed some more properties, now I have a way so supply "defaults" which aren't constants

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@856 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2010-08-24 10:49:48 +00:00
parent 8eafe91ce0
commit 2a1ef29b84
8 changed files with 53 additions and 19 deletions

View file

@ -170,7 +170,7 @@ namespace Greenshot {
private void DisplaySettings() {
combobox_language.SelectedValue = lang.CurrentLanguage;
checkbox_registerhotkeys.Checked = conf.RegisterHotkeys;
textbox_storagelocation.Text = conf.Output_File_Path;
textbox_storagelocation.Text = conf.OutputFilePath;
textbox_screenshotname.Text = conf.OutputFileFilenamePattern;
combobox_primaryimageformat.Text = conf.OutputFileFormat.ToString();
checkbox_copypathtoclipboard.Checked = conf.OutputFileCopyPathToClipboard;
@ -217,7 +217,7 @@ namespace Greenshot {
//MainForm.instance.UpdateUI(); // TODO
conf.RegisterHotkeys = checkbox_registerhotkeys.Checked;
conf.Output_File_Path = textbox_storagelocation.Text;
conf.OutputFilePath = textbox_storagelocation.Text;
conf.OutputFileFilenamePattern = textbox_screenshotname.Text;
conf.OutputFileFormat = (OutputFormat)Enum.Parse(typeof(OutputFormat), combobox_primaryimageformat.Text);
conf.OutputFileCopyPathToClipboard = checkbox_copypathtoclipboard.Checked;