# HG changeset patch
# User Yuki KODAMA <endflow....@gmail.com>
# Date 1255264909 -32400
# Node ID ceed308cf2623ca62d3bf93c3bddcea42999b1c2
# Parent  80291b025f9cc23c00063db58567c489f23804a4
thgstrip: use gtklib.idle_add_single_call

diff --git a/tortoisehg/hgtk/thgstrip.py b/tortoisehg/hgtk/thgstrip.py
--- a/tortoisehg/hgtk/thgstrip.py
+++ b/tortoisehg/hgtk/thgstrip.py
@@ -42,7 +42,7 @@
         try:
             repo = hg.repository(ui.ui(), path=paths.find_root())
         except hglib.RepoError:
-            gobject.idle_add(self.destroy)
+            gtklib.idle_add_single_call(self.destroy)
             return
         self.repo = repo
         self.set_title(_('Strip - %s') % hglib.get_reponame(repo))
@@ -127,7 +127,7 @@
         # prepare to show
         self.preview()
         self.stripbtn.grab_focus()
-        gobject.idle_add(self.after_init)
+        gtklib.idle_add_single_call(self.after_init)

     def after_init(self):
         # add 'Show all' button

Attachment: thg-kuy_rev4530.patch
Description: Binary data

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to