Skip to content

Commit

Permalink
Release 2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Alain M committed Oct 7, 2020
1 parent f947865 commit 03fc725
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion build-aux/flatpak/com.github.alainm23.planner.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"app-id": "com.github.alainm23.planner",
"sdk": "org.gnome.Sdk",
"runtime": "org.gnome.Platform",
"runtime-version": "3.34",
"runtime-version": "3.36",
"base": "io.elementary.BaseApp",
"base-version": "juno-19.08",
"command": "com.github.alainm23.planner",
Expand Down
3 changes: 2 additions & 1 deletion data/com.github.alainm23.planner.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<binary>com.github.alainm23.planner</binary>
</provides>
​<releases>
<release version="2.5.2" date="2020-10-09">
<release version="2.5.3" date="2020-10-07">
<description>
<p>Bug fixes and performance improvement</p>
<ul>
Expand All @@ -55,6 +55,7 @@
</ul>
</description>
</release>

<release version="2.5.1" date="2020-10-02">
<description>
<p>Planner 2.5 is here, with many design improvements, new features, and more.</p>
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project ('com.github.alainm23.planner', 'vala', 'c', version: '2.5.2')
project ('com.github.alainm23.planner', 'vala', 'c', version: '2.5.3')

gnome = import('gnome')
i18n = import('i18n')
Expand Down
18 changes: 9 additions & 9 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public class MainWindow : Gtk.Window {
});

pane.tasklist_selected.connect ((source) => {
go_tasklist (source);
// go_tasklist (source);
});

pane.show_quick_find.connect (show_quick_find);
Expand Down Expand Up @@ -560,15 +560,15 @@ public class MainWindow : Gtk.Window {
stack.visible_child_name = "priority-view";
}

public void go_tasklist (E.Source source) {
// if (tasklist_view == null) {
// tasklist_view = new Views.TaskList ();
// stack.add_named (tasklist_view, "tasklist-view");
// }
// public void go_tasklist (E.Source source) {
// if (tasklist_view == null) {
// tasklist_view = new Views.TaskList ();
// stack.add_named (tasklist_view, "tasklist-view");
// }

// tasklist_view.source = source;
// stack.visible_child_name = "tasklist-view";
}
// tasklist_view.source = source;
// stack.visible_child_name = "tasklist-view";
// }

private void init_badge_count () {
set_badge_visible ();
Expand Down
2 changes: 1 addition & 1 deletion src/Widgets/Pane.vala
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public class Widgets.Pane : Gtk.EventBox {
area_listbox.selection_mode = Gtk.SelectionMode.SINGLE;
area_listbox.hexpand = true;

// var caldav_widget = new Widgets.CalDavList ();
// var caldav_widget = new Widgets.CalDavList ();
// caldav_widget.tasklist_selected.connect ((source) => {
// tasklist_selected (source);
// });
Expand Down
6 changes: 1 addition & 5 deletions src/Widgets/TaskRow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public class Widgets.TaskRow : Gtk.ListBoxRow {
// Clear the old description
int count = ical_task.count_properties (ICal.PropertyKind.DESCRIPTION_PROPERTY);
for (int i = 0; i < count; i++) {
unowned ICal.Property remove_prop;
ICal.Property remove_prop;
remove_prop = ical_task.get_first_property (ICal.PropertyKind.DESCRIPTION_PROPERTY);
ical_task.remove_property (remove_prop);
}
Expand Down Expand Up @@ -367,10 +367,6 @@ public class Widgets.TaskRow : Gtk.ListBoxRow {
if (receive_updates) {
unowned ICal.Component ical_task = task.get_icalcomponent ();

int priority;
task.get_priority (out priority);
print ("%s\n".printf (priority.to_string ()));

completed = ical_task.get_status () == ICal.PropertyStatus.COMPLETED;
checked_button.active = completed;

Expand Down

0 comments on commit 03fc725

Please sign in to comment.