Skip to content

Commit

Permalink
fix #1192
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed Mar 20, 2024
1 parent 212fd37 commit 728ec11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/Util/Util.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
}
Expand Down
1 change: 1 addition & 0 deletions data/io.github.alainm23.planify.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<value nick="Today" value="1" />
<value nick="Scheduled" value="2" />
<value nick="Labels" value="3" />
<value nick="Pinboard" value="4" />
</enum>

<enum id="io.github.alainm23.planify.appearance">
Expand Down
1 change: 1 addition & 0 deletions src/Dialogs/Preferences/PreferencesWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 728ec11

Please sign in to comment.