[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sandboxed-tor-browser/master] fixup! Bug 20778: Check updates in the background.



commit c181c4f766674cc643a2873596bce319b0973b3c
Author: Yawning Angel <yawning@xxxxxxxxxxxxxxx>
Date:   Wed Dec 28 07:47:43 2016 +0000

    fixup! Bug 20778: Check updates in the background.
    
    Whoops, use the non-blocking Gtk Main Loop single iteration call.  Odd
    that this only showed up as an issue when I tested on Fedora 25...
---
 src/cmd/sandboxed-tor-browser/internal/ui/gtk/ui.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/sandboxed-tor-browser/internal/ui/gtk/ui.go b/src/cmd/sandboxed-tor-browser/internal/ui/gtk/ui.go
index 0f85c76..7b36638 100644
--- a/src/cmd/sandboxed-tor-browser/internal/ui/gtk/ui.go
+++ b/src/cmd/sandboxed-tor-browser/internal/ui/gtk/ui.go
@@ -148,7 +148,7 @@ func (ui *gtkUI) Run() error {
 			case <-gtkPumpTicker.C:
 				// This is so stupid, but is needed for notification actions
 				// to work.
-				gtk3.MainIteration()
+				gtk3.MainIterationDo(false)
 				continue
 			case action := <-ui.updateNotificationCh:
 				// Notification action was triggered, probably a restart.

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits