It seems to be a bug in wxpython: http://article.gmane.org/gmane.comp.python.wxpython/64483
I 'fixed' it in Phatch by forcing Phatch progress dialog box not to start with an empty string. It is available from bazaar.
$ bzr diff === modified file 'phatch/core/api.py' --- phatch/core/api.py 2008-04-05 19:23:49 +0000 +++ phatch/core/api.py 2008-10-29 13:22:04 +0000 @@ -347,7 +347,7 @@ send.frame_show_progress( title = _("Executing action list"), parent_max = len(image_files), child_max = actions_amount, - message = _('Starting...'), + message = '', )
for image_index, (folder,image_file) in enumerate(image_files):
=== modified file 'phatch/pyWx/dialogs.py' --- phatch/pyWx/dialogs.py 2008-02-27 21:42:37 +0000 +++ phatch/pyWx/dialogs.py 2008-10-29 13:23:20 +0000 @@ -253,6 +253,8 @@ class ProgressDialog(wx.ProgressDialog,ProgressReceiver): """+1 is added because eg opening a file is also an action""" def __init__(self,parent,title,parent_max=1,child_max=1,message=''): + if message == '': + message = '.'*80 ProgressReceiver.__init__(self,parent_max,child_max) wx.ProgressDialog.__init__(self, title = title, $ bzr commit -m "fix small progress dialog box" Committing to: /home/stani/sync/python/phatch/trunk/ modified phatch/core/api.py modified phatch/pyWx/dialogs.py Committed revision 541.
I filed a bug report about it: http://trac.wxwidgets.org/ticket/10128
However my patch solves the usability issue.
It seems to be a bug in wxpython: article. gmane.org/ gmane.comp. python. wxpython/ 64483
http://
I 'fixed' it in Phatch by forcing Phatch progress dialog box not to start with an empty string. It is available from bazaar.
$ bzr diff core/api. py' frame_show_ progress( title = _("Executing action list"),
parent_ max = len(image_files),
child_ max = actions_amount,
)
=== modified file 'phatch/
--- phatch/core/api.py 2008-04-05 19:23:49 +0000
+++ phatch/core/api.py 2008-10-29 13:22:04 +0000
@@ -347,7 +347,7 @@
send.
- message = _('Starting...'),
+ message = '',
for image_index, (folder,image_file) in enumerate( image_files) :
=== modified file 'phatch/ pyWx/dialogs. py' pyWx/dialogs. py 2008-02-27 21:42:37 +0000 pyWx/dialogs. py 2008-10-29 13:23:20 +0000 wx.ProgressDial og,ProgressRece iver): _(self, parent, title,parent_ max=1,child_ max=1,message= ''):
ProgressRecei ver.__init_ _(self, parent_ max,child_ max)
wx.ProgressDi alog.__ init__( self,
title = title, sync/python/ phatch/ trunk/ pyWx/dialogs. py
--- phatch/
+++ phatch/
@@ -253,6 +253,8 @@
class ProgressDialog(
"""+1 is added because eg opening a file is also an action"""
def __init_
+ if message == '':
+ message = '.'*80
$ bzr commit -m "fix small progress dialog box"
Committing to: /home/stani/
modified phatch/core/api.py
modified phatch/
Committed revision 541.
I filed a bug report about it: trac.wxwidgets. org/ticket/ 10128
http://
However my patch solves the usability issue.