Fixed sample for ListStore spinner

Spinner was not spining - should use SetValue, not SetValues.
Also fixed sln - VS2019 not want to open sln by double click in explorer - added empty line.
Also fixed sample project - VS2019 not showing all sources.
This commit is contained in:
dmg 2022-01-16 17:56:55 +03:00 committed by Harry
parent 941fdb7e46
commit 7ff80bcc8f
3 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,5 @@
Microsoft Visual Studio Solution File, Format Version 12.00

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29424.173
MinimumVisualStudioVersion = 15.0.26124.0

View file

@ -15,7 +15,7 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Sections\**\*.cs" Visible="false">
<EmbeddedResource Include="Sections\**\*.cs">
<LogicalName>GtkSharp.Samples.%(Filename).cs</LogicalName>
</EmbeddedResource>
</ItemGroup>

View file

@ -185,7 +185,7 @@ namespace Samples
else
pulse++;
_model.SetValues(iter, (int)Column.Pulse, pulse);
_model.SetValue(iter, (int)Column.Pulse, pulse);
_model.SetValue(iter, (int)Column.Active, true);
return true;