install calendar sync only when Calendar app installed
Bug #1373566 reported by
Bill Filler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calendar App |
Fix Released
|
Critical
|
Renato Araujo Oliveira Filho | ||
sync-monitor |
Fix Released
|
Critical
|
Renato Araujo Oliveira Filho |
Bug Description
Currently the Google Calendar sync service file is installed by sync-monitor-uoa package. This should be removed. Instead we need to only install the service file when the Calendar app is installed and remove it when the Calendar app is uninstalled.
To do this, we need to make a click hook package that will do the work when it detects the package install/uninstall.
Click hooks are here to look at an example:
/usr/share/
According to Jamie this should be a "user" click hook not a "system" click hook.
Related branches
lp:~renatofilho/sync-monitor/split-calendar-and-contacts
- Bill Filler (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 131 lines (+1/-47)6 files modifiedaccounts/applications/CMakeLists.txt (+0/-2)
accounts/applications/calendar-sync.application.in (+0/-12)
accounts/applications/contacts-sync.application.in (+0/-12)
accounts/services/google-caldav.service.in (+0/-16)
debian/control (+1/-2)
debian/sync-monitor-uoa.install (+0/-3)
lp:~renatofilho/ubuntu-calendar-app/fix-1373566
- Alan Pope 🍺🐧🐱 🦄 (community): Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 98 lines (+35/-17)3 files modifiedCMakeLists.txt (+22/-17)
click/manifest.json.in (+1/-0)
com.ubuntu.calendar_calendar.application (+12/-0)
Changed in sync-monitor: | |
importance: | Undecided → Critical |
assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
tags: | added: rtm14 touch-2014-10-02 |
Changed in sync-monitor: | |
status: | New → Confirmed |
tags: |
added: touch-2014-10-09 removed: touch-2014-10-02 |
Changed in sync-monitor: | |
status: | In Progress → Fix Released |
Changed in ubuntu-calendar-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Also, the uninstall click hook should prompt the user if they want to delete all the Calendar data