Skip to content

Commit a066621

Browse files
committed
Release 4.9.0
1 parent 640574c commit a066621

File tree

4 files changed

+40
-5
lines changed

4 files changed

+40
-5
lines changed

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,26 @@
6060
</kudos>
6161
<developer_name translate="no">Alain</developer_name>
6262
<update_contact>[email protected]</update_contact>
63-
<url type="homepage">https://github.com/alainm23/planify</url>
63+
<url type="homepage">https://useplanify.com/</url>
6464
<url type="bugtracker">https://github.com/alainm23/planify/issues</url>
6565
<url type="vcs-browser">https://github.com/alainm23/planify</url>
6666
<url type="translate">https://github.com/alainm23/planify/tree/master/po#readme</url>
6767
<url type="donation">https://www.patreon.com/alainm23</url>
6868
<launchable type="desktop-id">@[email protected]</launchable>
6969
<releases>
70+
<release version="4.9.0" date="2024-07-11">
71+
<description translate="no">
72+
<ul>
73+
<li>Added feature to switch between task and note..</li>
74+
<li>Added a task change history feature.</li>
75+
<li>Fixed bug when importing backup and not recovering labels.</li>
76+
<li>Hindi translation update thanks to @Scrambled777.</li>
77+
<li>Koren translation added thanks to @.myunsyeya.</li>
78+
<li>Spanish translation update thanks to @haggen88.</li>
79+
</ul>
80+
</description>
81+
</release>
82+
7083
<release version="4.8.4" date="2024-06-23">
7184
<description translate="no">
7285
<ul>

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.8.4'
4+
version: '4.9.0'
55
)
66

77
gnome = import('gnome')

src/Layouts/HeaderBar.vala

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
public class Layouts.HeaderBar : Adw.Bin {
2323
private Adw.HeaderBar headerbar;
2424
private Gtk.Label title_label;
25+
private Gtk.Label title2_label;
2526
private Gtk.Revealer back_button_revealer;
2627
private Gtk.Box start_box;
2728
private Gtk.Button back_button;
@@ -39,6 +40,18 @@ public class Layouts.HeaderBar : Adw.Bin {
3940
}
4041
}
4142

43+
private string _title2;
44+
public string title2 {
45+
set {
46+
_title2 = value;
47+
title2_label.label = _title2;
48+
}
49+
50+
get {
51+
return _title;
52+
}
53+
}
54+
4255
public bool back_revealer {
4356
set {
4457
back_button_revealer.reveal_child = value;
@@ -79,11 +92,19 @@ public class Layouts.HeaderBar : Adw.Bin {
7992
css_classes = { "font-bold" },
8093
ellipsize = Pango.EllipsizeMode.END
8194
};
95+
96+
title2_label = new Gtk.Label (null) {
97+
css_classes = { "font-bold", "caption" },
98+
ellipsize = Pango.EllipsizeMode.END,
99+
margin_start = 6,
100+
margin_top = 3
101+
};
82102

83103
start_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 3);
84104
start_box.append (sidebar_button);
85105
start_box.append (back_button_revealer);
86106
start_box.append (title_label);
107+
start_box.append (title2_label);
87108

88109
headerbar = new Adw.HeaderBar () {
89110
hexpand = true,

src/Views/Today.vala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -538,12 +538,13 @@ public class Views.Today : Adw.Bin {
538538
}
539539

540540
public void update_today_label () {
541-
var date = new GLib.DateTime.now_local ();
542-
var date_format = "%s %s".printf (date.format ("%a"),
541+
var date_format = "%s %s".printf (
542+
new GLib.DateTime.now_local ().format ("%a"),
543543
date.format (
544544
Granite.DateTime.get_default_date_format (false, true, false)
545545
));
546-
headerbar.title = "%s <small>%s</small>".printf (today_label, date_format);
546+
headerbar.title = today_label;
547+
headerbar.title2 = date_format;
547548
}
548549

549550
private Gtk.Popover build_view_setting_popover () {

0 commit comments

Comments
 (0)