From 6780ae2dcb936269a35b759ed9771314b34e9185 Mon Sep 17 00:00:00 2001 From: Alain Date: Tue, 20 Feb 2024 09:46:05 -0500 Subject: [PATCH] Update version --- .vala-lint.conf | 2 +- meson.build | 2 +- .../Preferences/PreferencesWindow.vala | 6 +++- src/Dialogs/WhatsNew.vala | 30 +++---------------- 4 files changed, 11 insertions(+), 29 deletions(-) diff --git a/.vala-lint.conf b/.vala-lint.conf index 5b7529c04..48961f324 100644 --- a/.vala-lint.conf +++ b/.vala-lint.conf @@ -4,7 +4,7 @@ double-semicolon=error double-spaces=error ellipsis=error line-length=off -naming-convention=error +naming-convention=off no-space=error note=warn space-before-paren=error diff --git a/meson.build b/meson.build index 2569f3f63..913d04df5 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'io.github.alainm23.planify', 'vala', 'c', - version: '4.4.1' + version: '4.5' ) gnome = import('gnome') diff --git a/src/Dialogs/Preferences/PreferencesWindow.vala b/src/Dialogs/Preferences/PreferencesWindow.vala index 659ed1e37..c2bb53390 100644 --- a/src/Dialogs/Preferences/PreferencesWindow.vala +++ b/src/Dialogs/Preferences/PreferencesWindow.vala @@ -1060,7 +1060,11 @@ public class Dialogs.Preferences.PreferencesWindow : Adw.PreferencesWindow { private Adw.NavigationPage get_quick_add_page () { var settings_header = new Dialogs.Preferences.SettingsHeader (_("Quick Add")); - string quick_add_command = GLib.Environment.get_variable("SNAP") != "" ? "planify.quick-add" : "flatpak run --command=io.github.alainm23.planify.quick-add %s".printf (Build.APPLICATION_ID); + + string quick_add_command = "flatpak run --command=io.github.alainm23.planify.quick-add %s".printf (Build.APPLICATION_ID); + if (GLib.Environment.get_variable("SNAP") != null) { + quick_add_command = "planify.quick-add"; + } var description_label = new Gtk.Label ( _("Use Quick Add to create to-dos from anywhere on your desktop with just a few keystrokes. You don’t even have to leave the app you’re currently in.") // vala-lint=line-length diff --git a/src/Dialogs/WhatsNew.vala b/src/Dialogs/WhatsNew.vala index b70c19b15..56da81174 100644 --- a/src/Dialogs/WhatsNew.vala +++ b/src/Dialogs/WhatsNew.vala @@ -114,37 +114,15 @@ public class Dialogs.WhatsNew : Adw.Window { } return false; }); - - add_feature ( - _("Improved drag-and-drop sorting"), - _("Added a new animation and a new way of sorting making it cleaner and easier."), - create_video_page ( - _("Drag and drop has been improved, now it shows you a friendly animation to sort the elements in an easier way."), - "/io/github/alainm23/planify/dnd-order.webm" - ) - ); - - add_feature ( - _("Support for sub-projects"), - _("Create a sub-project just by dragging and dropping or by using the magic button and dropping into the parent project."), - create_video_page ( - _("Creating sub projects is now easier, just drag the child sub project into the parent project, Planify will do the rest.\nIf you want a sub project to no longer be part of a parent project, just drag it out."), - "/io/github/alainm23/planify/subprojects.webm" - ) - ); add_feature ( - _("The Magic Button"), - _("Just drag and drop to add tasks wherever you want and in the order you want."), - create_video_page ( - _("Drag the magic button to create your tasks wherever you want. You can also create sub-tasks by dropping the magic button inside a parent task."), - "/io/github/alainm23/planify/magic-button.webm" - ) + _("Nextcloud integration is available"), + _("Synchronise your task lists from Nextcloud.") ); add_feature ( - _("Board View"), - _("Have an overview of your tasks without losing sight of the details.") + _("Option to migrate from Planner"), + _("Planner is no longer available, migrate your tasks from the Backups option in the preferences..") ); }