Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed Feb 20, 2024
1 parent 2b2a1f4 commit 6780ae2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .vala-lint.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'io.github.alainm23.planify',
'vala', 'c',
version: '4.4.1'
version: '4.5'
)

gnome = import('gnome')
Expand Down
6 changes: 5 additions & 1 deletion src/Dialogs/Preferences/PreferencesWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 4 additions & 26 deletions src/Dialogs/WhatsNew.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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..")
);
}

Expand Down

0 comments on commit 6780ae2

Please sign in to comment.