Use ignore_reply rather than idle_add, thanks j5
This commit is contained in:
parent
ca60226fb0
commit
26b117cff0
@ -1,6 +1,7 @@
|
||||
import dbus
|
||||
import geckoembed
|
||||
import threading
|
||||
import gobject
|
||||
|
||||
import sugar.env
|
||||
|
||||
|
@ -16,8 +16,4 @@ class LogWriter:
|
||||
sys.stderr = self
|
||||
|
||||
def write(self, s):
|
||||
gobject.idle_add(self._write, s)
|
||||
|
||||
def _write(self, s):
|
||||
self._logger.log(self._application, s)
|
||||
return False
|
||||
self._logger.log(self._application, s, ignore_reply=True)
|
||||
|
@ -34,7 +34,7 @@ class ActivitiesView(gtk.TreeView):
|
||||
|
||||
model = self.get_model()
|
||||
address = model.get_value(model.get_iter(path), 1)
|
||||
browser_shell.open_browser(address)
|
||||
browser_shell.open_browser(address, ignore_reply=True)
|
||||
|
||||
class StartPage(gtk.HBox):
|
||||
def __init__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user