From 7ff80bcc8f0ae65748b8e87a12f13949f97d80ef Mon Sep 17 00:00:00 2001 From: dmg Date: Sun, 16 Jan 2022 17:56:55 +0300 Subject: [PATCH] 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. --- Source/GtkSharp.sln | 3 ++- Source/Samples/Samples.csproj | 2 +- Source/Samples/Sections/Widgets/ListStoreSection.cs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/GtkSharp.sln b/Source/GtkSharp.sln index 0af4f26a1..d306aad27 100644 --- a/Source/GtkSharp.sln +++ b/Source/GtkSharp.sln @@ -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 diff --git a/Source/Samples/Samples.csproj b/Source/Samples/Samples.csproj index 4b59aafb0..3dcb14675 100644 --- a/Source/Samples/Samples.csproj +++ b/Source/Samples/Samples.csproj @@ -15,7 +15,7 @@ - + GtkSharp.Samples.%(Filename).cs diff --git a/Source/Samples/Sections/Widgets/ListStoreSection.cs b/Source/Samples/Sections/Widgets/ListStoreSection.cs index a063ff94b..7ab13fdd9 100644 --- a/Source/Samples/Sections/Widgets/ListStoreSection.cs +++ b/Source/Samples/Sections/Widgets/ListStoreSection.cs @@ -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;