<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I upgrade to r50070 then remove damaged lines, and readd old style
values in environmentoptions.xml but same result. some buttons
deleted, added some sperate lines<br>
-) I removed all defined "desktop"s from menu, then from "editor
toolbar settings" --> "restore default" reset IDE result is,
After "Configure Toolbar" button 2 sparate doted lines and one
dotted lines on end.<br>
-) Click to "Configure Toolbar" then direct click ok button, after
"Configure Toolbar" button 2 sparate doted lines be one line, second
line removed<br>
-) Click to "Configure" button open "Toolbar Configuration" form,
add "Build ( Shift + F9)" [I changed shortcut] to right site, then
click to Ok button, then Re click to "Configure" button, Added
"Build ( Shift + F9)" item been dotted sparated line<br>
<br>
I hope helpfull<br>
<br>
<br>
<div class="moz-cite-prefix">On 15.10.2015 14:16, Ondrej Pokorny
wrote:<br>
</div>
<blockquote cite="mid:561F8B15.7080204@kluug.net" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">On 15.10.2015 12:31, FreeMan wrote:<br>
</div>
<blockquote cite="mid:561F809D.9070608@delphiturkiye.com"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
In r50059 toolbarconfig.pas<br>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
procedure TIDEToolBarOptionsBase.SaveButtonNames(XMLConfig:
TXMLConfig; SubPath: String);<br>
..<br>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
XMLConfig.SetDeleteValue(SubPath + 'Button' + IntToStr(I+1) +
'/Name', ButtonNames[I], '');<br>
<br>
has only this line, but loadbuttonnames has<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
ButtonName := XMLConfig.GetValue(SubPath + 'Button' +
IntToStr(I) + '/Name', '')<br>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
if ButtonName = '' then // Old format<br>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
ButtonName := XMLConfig.GetValue(SubPath + 'Buttons/Name' +
IntToStr(I) + '/Value', '');<br>
<br>
this is from my environmentoptions.xml after add "build
project" menu item, but its Caption has added shortcut and when
save in environmentoptions.xml like this. You can see extra
added "/" char, tag end chars.<br>
And I wanna ask question, if I'm not misunderstood, in new
format, captions are writing, if its yes its a problem.<br>
</blockquote>
<br>
Not captions but command/button names.<br>
I am still interested what the actual problem is.<br>
<br>
Ondrej<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>