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:
parent
941fdb7e46
commit
7ff80bcc8f
3 changed files with 4 additions and 3 deletions
|
@ -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
|
# Visual Studio Version 16
|
||||||
VisualStudioVersion = 16.0.29424.173
|
VisualStudioVersion = 16.0.29424.173
|
||||||
MinimumVisualStudioVersion = 15.0.26124.0
|
MinimumVisualStudioVersion = 15.0.26124.0
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="Sections\**\*.cs" Visible="false">
|
<EmbeddedResource Include="Sections\**\*.cs">
|
||||||
<LogicalName>GtkSharp.Samples.%(Filename).cs</LogicalName>
|
<LogicalName>GtkSharp.Samples.%(Filename).cs</LogicalName>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -185,7 +185,7 @@ namespace Samples
|
||||||
else
|
else
|
||||||
pulse++;
|
pulse++;
|
||||||
|
|
||||||
_model.SetValues(iter, (int)Column.Pulse, pulse);
|
_model.SetValue(iter, (int)Column.Pulse, pulse);
|
||||||
_model.SetValue(iter, (int)Column.Active, true);
|
_model.SetValue(iter, (int)Column.Active, true);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue