From 728ec1115088672e93438cebc31c38aab2cdea5d Mon Sep 17 00:00:00 2001 From: Alain Date: Wed, 20 Mar 2024 06:34:53 -0500 Subject: [PATCH] fix #1192 --- core/Util/Util.vala | 2 ++ data/io.github.alainm23.planify.gschema.xml | 1 + src/Dialogs/Preferences/PreferencesWindow.vala | 1 + 3 files changed, 4 insertions(+) diff --git a/core/Util/Util.vala b/core/Util/Util.vala index 9182d71df..ac6732d5a 100644 --- a/core/Util/Util.vala +++ b/core/Util/Util.vala @@ -784,6 +784,8 @@ public class Util : GLib.Object { return FilterType.SCHEDULED; case 3: return FilterType.LABELS; + case 4: + return FilterType.PINBOARD; default: assert_not_reached (); } diff --git a/data/io.github.alainm23.planify.gschema.xml b/data/io.github.alainm23.planify.gschema.xml index 2017ea025..07f1f53e2 100644 --- a/data/io.github.alainm23.planify.gschema.xml +++ b/data/io.github.alainm23.planify.gschema.xml @@ -12,6 +12,7 @@ + diff --git a/src/Dialogs/Preferences/PreferencesWindow.vala b/src/Dialogs/Preferences/PreferencesWindow.vala index 30d6ba06e..255fe9a53 100644 --- a/src/Dialogs/Preferences/PreferencesWindow.vala +++ b/src/Dialogs/Preferences/PreferencesWindow.vala @@ -314,6 +314,7 @@ public class Dialogs.Preferences.PreferencesWindow : Adw.PreferencesWindow { home_page_model.append (_("Today")); home_page_model.append (_("Scheduled")); home_page_model.append (_("Labels")); + home_page_model.append (_("Pinboard")); var home_page_row = new Adw.ComboRow (); home_page_row.title = _("Home Page");