Re: [pygtk] Installation problems win32

2004-06-17 Thread Cedric Gustin
At 03:34 AM 6/17/2004, Joel Becker wrote: On Wed, Jun 16, 2004 at 02:14:11PM -0400, John Ehresman wrote: I think this should continue to be an option, but I'd like to see a distutils / py2exe type solution so the 1st 3 steps can be eliminated. I'm not talking about eliminating pygtk / gtk

Re: [pygtk] popt question

2004-06-17 Thread Rubens Ramos
This is OK -- I need to do it only once :-) This is fine then - unless getopt behaves differently to popt, or has less/more features that could cause problems. IMHO, it boils down to: do you want/need the gnome/gtk standard command line options, or not? I do. As I understand it, I don't

Re: [pygtk] ItemFactory deprecated?!

2004-06-17 Thread Matthew Bull
thanks, guess I should have RTFM! looks very nice maybe it would be an idea to add a link to the the deprecated message in the ItemFactory docs for people as dumb as I am?? On Wed, 2004-06-16 at 17:53, Dennis Craven wrote: On Wed, 2004-06-16 at 11:30, Matthew Bull wrote: Hi, Could someone

Re: [pygtk] g_log_set_handler?

2004-06-17 Thread Gustavo J. A. M. Carneiro
A Qua, 2004-06-16 às 23:32, Tim Newsham escreveu: Hi, Is there any way to set the log handler in pygtk? I couldn't find any. I did notice a previous related thread on turning tk warnings into exceptions. I am interested in altering the default warning logging mechanism. Currently under

Re: [pygtk] g_log_set_handler?

2004-06-17 Thread Johan Dahlin
If you are interested in this, you should open a bug report in bugzilla.gnome.org, product pygtk, type enhancement. A patch will speed up the bug progress, but otherwise I will eventually do this, but it may take some time. John Ehresman already wrote one, it's included in the tarball in

Re: [pygtk] Installation problems win32

2004-06-17 Thread John Ehresman
Cedric Gustin wrote: you can py2exe your pygtk application but including the all GTK+ runtime with your application is overkill IMHO (the minimal distribution does not only include a few DLLs but also some configurations files (in the etc subdir) and locales. The minimal distribution that we

Re: [pygtk] g_log_set_handler?

2004-06-17 Thread John Ehresman
Gustavo J. A. M. Carneiro wrote: I think pygtk should install a log handler to turn all log messages into python warnings. Then, the pygtk programmer may use the standard 'warnings' module to do whatever he wishes to such warnings: hide them, turn them to exceptions, show in a text/list widget,

Re: [pygtk] g_log_set_handler?

2004-06-17 Thread Christian Robottom Reis
On Thu, Jun 17, 2004 at 11:52:57AM -0400, John Ehresman wrote: Gustavo J. A. M. Carneiro wrote: I think pygtk should install a log handler to turn all log messages into python warnings. Then, the pygtk programmer may use the standard 'warnings' module to do whatever he wishes to such

Re: [pygtk] g_log_set_handler?

2004-06-17 Thread Johan Dahlin
Speaking of this patch, we should start discussion on whether we want it in for 2.4 or not. Johan (and someone else?) has expressed reservations because he feels that most of it duplicates functionality already in the Python standard library. I'm sure you have a good argument against that one

Re: [pygtk] g_log_set_handler?

2004-06-17 Thread John Ehresman
Christian Robottom Reis wrote: Speaking of this patch, we should start discussion on whether we want it in for 2.4 or not. Johan (and someone else?) has expressed reservations because he feels that most of it duplicates functionality already in the Python standard library. I'm sure you have a good

Re: [pygtk] g_log_set_handler?

2004-06-17 Thread Gustavo J. A. M. Carneiro
A Qui, 2004-06-17 às 16:52, John Ehresman escreveu: Gustavo J. A. M. Carneiro wrote: I think pygtk should install a log handler to turn all log messages into python warnings. Then, the pygtk programmer may use the standard 'warnings' module to do whatever he wishes to such warnings: hide

Re: [pygtk] g_log_set_handler?

2004-06-17 Thread Tim Newsham
I think pygtk should install a log handler to turn all log messages into python warnings. Then, the pygtk programmer may use the standard 'warnings' module to do whatever he wishes to such warnings: hide them, turn them to exceptions, show in a text/list widget, etc. I'm not sure why a new

Re: [pygtk] g_log_set_handler?

2004-06-17 Thread Christian Robottom Reis
On Thu, Jun 17, 2004 at 03:41:52PM -0400, John Ehresman wrote: Tim Newsham wrote: I'm not sure why a new mechanism is needed. GLIB already provides a mechanism for intercepting the log messages (g_log_set_handler). If this was exposed in pygtk, then a programmer could intercept the log

[pygtk] Freshmeat Releases?

2004-06-17 Thread Dennis Craven
Hello list, Has this project given up on Freshmeat releases or has it just been overlooked? Since the most recent pygtk release on Freshmeat is 2.0.0, it is difficult (impossible actually) to list the newer versions since as dependancies. My project depends on PyGTK = 2.3, but since only 2.0 can

Re: [pygtk] g_log_set_handler?

2004-06-17 Thread Tim Evans
Gustavo J. A. M. Carneiro wrote: A Qua, 2004-06-16 às 23:32, Tim Newsham escreveu: Hi, Is there any way to set the log handler in pygtk? I couldn't find any. I did notice a previous related thread on turning tk warnings into exceptions. I am interested in altering the default warning logging

[pygtk] How to hack gdesklets to work with 2.4

2004-06-17 Thread Jonathon McKitrick
I don't use autoconf, but I'd like to install gdesklets, and it won't let me, since it doesn't find pygtk. I have the 2.4 beta installed. How can I hack the script to get it to work? Sorry if it's a lame question, but I never DID get autoconf... :-\ jm

Re: [pygtk] How to hack gdesklets to work with 2.4

2004-06-17 Thread Christian Robottom Reis
On Fri, Jun 18, 2004 at 01:32:05AM +0100, Jonathon McKitrick wrote: I don't use autoconf, but I'd like to install gdesklets, and it won't let me, since it doesn't find pygtk. I have the 2.4 beta installed. How can I hack the script to get it to work? Look at config.log, and see what test