Skip to content

Commit c325913

Browse files
author
Alain M
committed
Release 2.2.3
1 parent 90a5830 commit c325913

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

data/com.github.alainm23.planner.appdata.xml.in

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,23 @@
4747
<binary>com.github.alainm23.planner</binary>
4848
</provides>
4949
​<releases>
50+
<release version="2.2.3" date="2020-02-25">
51+
<description>
52+
<p>Quick Add is here, design improvements and more.</p>
53+
<ul>
54+
<li>Quick Add: Use a keyboard shortcut to quickly add tasks from anywhere.</li>
55+
<li>Task detail redesigned.</li>
56+
<li>Improved label system. Now you can sort, search and add them in a faster way.</li>
57+
<li>Now you can share your Projects in Markdown format or send it by email.</li>
58+
<li>Improved synchronization with Todoist.</li>
59+
<li>Now you can add a Project directly in an Area. Just right click on a selected area and enter the name of your project.</li>
60+
<li>Customize your window controls to your liking.</li>
61+
<li>Visual enhancements for tasks that have already expired.</li>
62+
</ul>
63+
<p>Special thanks to Nick @ The Linux Experiment and William Tumeo for becoming our new silver tier patrons and supporting the development of Planner.</p>
64+
<p>We also thank all the people who made some donations via Patreon or PayPal. Without you this would not be possible 😉️.</p>
65+
</description>
66+
</release>
5067
<release version="2.2.2" date="2020-02-23">
5168
<description>
5269
<p>Quick Add is here, design improvements and more.</p>

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
project('com.github.alainm23.planner',
22
'vala', 'c',
3-
version: '2.2.2')
3+
version: '2.2.3')
44

55
gnome = import('gnome')
66
i18n = import('i18n')

src/Widgets/SectionRow.vala

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public class Widgets.SectionRow : Gtk.ListBoxRow {
334334
});
335335

336336
name_entry.changed.connect (() => {
337-
if (name_entry.text != "") {
337+
if (name_entry.text.strip () != "" && section.name != name_entry.text) {
338338
submit_button.sensitive = true;
339339
} else {
340340
submit_button.sensitive = false;
@@ -695,16 +695,19 @@ public class Widgets.SectionRow : Gtk.ListBoxRow {
695695
}
696696

697697
public void save_section () {
698-
if (name_entry.text != "") {
698+
if (name_entry.text.strip () != "" && section.name != name_entry.text) {
699699
name_label.label = name_entry.text;
700700
section.name = name_entry.text;
701701

702702
action_revealer.reveal_child = false;
703703
name_stack.visible_child_name = "name_label";
704-
705704
separator.visible = true;
706705

707706
section.save ();
707+
} else {
708+
action_revealer.reveal_child = false;
709+
name_stack.visible_child_name = "name_label";
710+
separator.visible = true;
708711
}
709712
}
710713

0 commit comments

Comments
 (0)