diff -Nru activity-log-manager-0.9.7/debian/changelog activity-log-manager-0.9.7/debian/changelog --- activity-log-manager-0.9.7/debian/changelog 2015-01-28 22:32:52.000000000 +0000 +++ activity-log-manager-0.9.7/debian/changelog 2017-03-23 21:56:02.000000000 +0000 @@ -1,3 +1,11 @@ +activity-log-manager (0.9.7-0ubuntu14.2) trusty; urgency=medium + + * debian/patches/17_clear_history_calendars.patch: + - Fix calendars not working when selecting date range to clear + (LP: #1303508) + + -- Robert Ancell Fri, 24 Mar 2017 10:56:02 +1300 + activity-log-manager (0.9.7-0ubuntu14.1) trusty; urgency=medium * debian/control: Remove libgnome-control-center-dev BD. This was broken diff -Nru activity-log-manager-0.9.7/debian/patches/17_clear_history_calendars.patch activity-log-manager-0.9.7/debian/patches/17_clear_history_calendars.patch --- activity-log-manager-0.9.7/debian/patches/17_clear_history_calendars.patch 1970-01-01 00:00:00.000000000 +0000 +++ activity-log-manager-0.9.7/debian/patches/17_clear_history_calendars.patch 2017-03-23 21:56:02.000000000 +0000 @@ -0,0 +1,31 @@ +Index: activity-log-manager-0.9.7/src/unified-privacy-history.vala +=================================================================== +--- activity-log-manager-0.9.7.orig/src/unified-privacy-history.vala ++++ activity-log-manager-0.9.7/src/unified-privacy-history.vala +@@ -34,6 +34,8 @@ namespace Alm { + this.set_decorated(false); + this.set_position(0); + this.set_property("skip-taskbar-hint", true); ++ this.set_property("modal", true); ++ this.set_property("destroy-with-parent", true); + } + public Calendar get_calendar_widget () { + return calendar; +@@ -106,6 +108,8 @@ namespace Alm { + + this.invalid_label = new Gtk.Label(""); + invalid_label.set_markup("%s".printf(_("Invalid Timerange"))); ++ this.invalid_label.set_no_show_all (true); ++ this.attach(this.invalid_label, 4, 0, 1, 2); + + this.set_up_calendar(start_button, start_entry, start_dialog); + this.set_up_calendar(end_button, end_entry, end_dialog); +@@ -131,8 +135,6 @@ namespace Alm { + // + if (start > end) { + this.button.set_sensitive(false); +- if (this.invalid_label.get_parent() == null) +- this.attach(this.invalid_label, 2, 0, 1, 2); + this.invalid_label.show(); + } + else { diff -Nru activity-log-manager-0.9.7/debian/patches/series activity-log-manager-0.9.7/debian/patches/series --- activity-log-manager-0.9.7/debian/patches/series 2014-04-15 01:59:53.000000000 +0000 +++ activity-log-manager-0.9.7/debian/patches/series 2017-03-23 21:56:02.000000000 +0000 @@ -13,3 +13,4 @@ 13_hide_automatic_reports.patch 15_check-bus-name-owner 16_fix_links_in_ucc.patch +17_clear_history_calendars.patch