Skip to content

Commit 5dca1f5

Browse files
committed
feat: release 4.5.4
1 parent 70e5f05 commit 5dca1f5

12 files changed

+44
-31
lines changed
-6.42 MB
Binary file not shown.

build-aux/io.github.alainm23.planify.Devel.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2-
"app-id": "io.github.alainm23.planify",
2+
"app-id": "io.github.alainm23.planify.Devel",
33
"runtime": "org.gnome.Platform",
44
"runtime-version": "45",
55
"sdk": "org.gnome.Sdk",
6-
"command": "io.github.alainm23.planify",
6+
"command": "io.github.alainm23.planify.Devel",
7+
"tags": ["devel"],
78
"finish-args": [
89
"--device=dri",
910
"--share=ipc",
@@ -152,6 +153,7 @@
152153
"name": "planify",
153154
"builddir": true,
154155
"buildsystem": "meson",
156+
"config-opts": ["-Dtracing=true", "-Dprofile=development"],
155157
"sources": [
156158
{
157159
"type": "dir",
@@ -160,4 +162,4 @@
160162
]
161163
}
162164
]
163-
}
165+
}

core/QuickAdd.vala

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class Layouts.QuickAdd : Adw.Bin {
5454
content_entry = new Gtk.Entry () {
5555
hexpand = true,
5656
placeholder_text = _("To-do name"),
57-
css_classes = { "flat" }
57+
css_classes = { "flat", "font-bold" }
5858
};
5959

6060
var content_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 6) {
@@ -79,7 +79,8 @@ public class Layouts.QuickAdd : Adw.Bin {
7979
description_textview.remove_css_class ("view");
8080

8181
item_labels = new Widgets.ItemLabels (item) {
82-
margin_start = 12
82+
margin_start = 6,
83+
top_margin = 12
8384
};
8485

8586
schedule_button = new Widgets.ScheduleButton ();
@@ -90,9 +91,7 @@ public class Layouts.QuickAdd : Adw.Bin {
9091
label_button.backend_type = item.project.backend_type;
9192

9293
var action_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 12) {
93-
margin_start = 3,
94-
margin_top = 6,
95-
margin_bottom = 3
94+
margin_top = 6
9695
};
9796

9897
var action_box_right = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0) {
@@ -159,7 +158,7 @@ public class Layouts.QuickAdd : Adw.Bin {
159158
var footer_content = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 6) {
160159
hexpand = true,
161160
margin_bottom = 12,
162-
margin_start = 6,
161+
margin_start = 12,
163162
margin_end = 12
164163
};
165164

core/Widgets/ItemLabels.vala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ public class Widgets.ItemLabels : Adw.Bin {
3939
);
4040
}
4141

42+
public int top_margin {
43+
set {
44+
flowbox.margin_top = value;
45+
}
46+
}
47+
4248
construct {
4349
flowbox = new Gtk.FlowBox () {
4450
column_spacing = 6,

data/io.github.alainm23.planify.appdata.xml.in.in

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@
6363
<url type="donation">https://www.patreon.com/alainm23</url>
6464
<launchable type="desktop-id">@[email protected]</launchable>
6565
<releases>
66+
<release version="4.5.4" date="2024-03-18">
67+
<description translatable="no">
68+
<ul>
69+
<li>Improved design and new UI icons.</li>
70+
<li>It is now possible to mark a task as Pinned from the context menu.</li>
71+
<li>Fixed bug that improves CalDAV sync.</li>
72+
<li>Spanish translations added thanks to @haggen88.</li>
73+
<li>French translation update thanks to @rene-coty.</li>
74+
</ul>
75+
</description>
76+
</release>
77+
6678
<release version="4.5.2" date="2024-03-04">
6779
<description translatable="no">
6880
<ul>

data/io.github.alainm23.planify.gresource.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<file alias="sidebar.css" compressed="true">resources/stylesheet/sidebar.css</file>
1010
<file alias="typography.css" compressed="true">resources/stylesheet/typography.css</file>
1111
</gresource>
12+
1213
<gresource prefix="/io/github/alainm23/planify">
1314
<file alias="index.css" compressed="true">resources/stylesheet/index.css</file>
1415
<file alias="shortcuts.ui" compressed="true">resources/ui/shortcuts.ui</file>

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project(
22
'io.github.alainm23.planify',
33
'vala', 'c',
4-
version: '4.5.2'
4+
version: '4.5.4'
55
)
66

77
gnome = import('gnome')

quick-add/MainWindow.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class MainWindow : Adw.ApplicationWindow {
1414

1515
static construct {
1616
weak Gtk.IconTheme default_theme = Gtk.IconTheme.get_for_display (Gdk.Display.get_default ());
17-
default_theme.add_resource_path ("/io/github/alainm23/planify");
17+
default_theme.add_resource_path ("/io/github/alainm23/planify/");
1818
}
1919

2020
construct {

src/App.vala

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class Planify : Adw.Application {
3232
}
3333
}
3434

35-
private static bool run_in_background = false;
35+
// private static bool run_in_background = false;
3636
private static bool version = false;
3737
private static bool clear_database = false;
3838
private static string lang = "";
@@ -42,7 +42,7 @@ public class Planify : Adw.Application {
4242
private const OptionEntry[] OPTIONS = {
4343
{ "version", 'v', 0, OptionArg.NONE, ref version, "Display version number", null },
4444
{ "reset", 'r', 0, OptionArg.NONE, ref clear_database, "Reset Planify", null },
45-
{ "background", 'b', 0, OptionArg.NONE, out run_in_background, "Run the Application in background", null },
45+
// { "background", 'b', 0, OptionArg.NONE, out run_in_background, "Run the Application in background", null },
4646
{ "lang", 'l', 0, OptionArg.STRING, ref lang, "Open Planify in a specific language", "LANG" },
4747
{ null }
4848
};
@@ -86,9 +86,7 @@ public class Planify : Adw.Application {
8686
main_window.maximize ();
8787
}
8888

89-
if (!run_in_background) {
90-
main_window.show ();
91-
}
89+
main_window.show ();
9290

9391
Services.Settings.get_default ().settings.bind ("window-maximized", main_window, "maximized", SettingsBindFlags.SET);
9492

src/Dialogs/WhatsNew.vala

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,8 @@ public class Dialogs.WhatsNew : Adw.Window {
116116
});
117117

118118
add_feature (
119-
_("Nextcloud integration is available"),
120-
_("Synchronise your task lists from Nextcloud.")
121-
);
122-
123-
add_feature (
124-
_("Option to migrate from Planner"),
125-
_("Planner is no longer available, migrate your tasks from the Backups option in the preferences..")
119+
_("New look"),
120+
_("The design has been improved and new icons have been added making the user interface simpler to understand and use..")
126121
);
127122
}
128123

0 commit comments

Comments
 (0)