#20778: Check and download updates in the background. ----------------------------------------------+-------------------------- Reporter: yawning | Owner: yawning Type: enhancement | Status: accepted Priority: High | Milestone: Component: Applications/Tor Browser Sandbox | Version: Severity: Normal | Resolution: Keywords: Yawning201612 | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: ----------------------------------------------+--------------------------
Comment (by yawning): Instead of displaying an ugly dialog box, I wrote code to opportunistically use `libnotify` to inform the user that an update is available. This integrates better into most desktop environments, and is what other applications do. `libnotify` was chosen because I'd rather deal with cgo than refactor the launcher around glib's `GApplication` (or the Gtk counterpart). The cost is another build time dependency, and a runtime optional dependency (the binding I wrote uses `dlopen()/dlsym()`), but the library is on my Debian/Fedora VMs so I suspect it's fairly ubiquitous, and the code will fall back to the ugly dialog box if required. TODO: Notifications can have actions, so add an action to restart. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20778#comment:13> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online _______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs