Re: [pygtk] Using gettext, where am I doing mistake

2008-04-28 Thread Jarek Zgoda
ble (if not, you can set it for current process). if os.name == 'nt': # windows hack for locale setting lang = os.getenv('LANG') if lang is None: default_lang, default_enc = locale.getdefaultlocale() if default_lang:

Re: [pygtk] Opening a New Window

2008-04-15 Thread Jarek Zgoda
[EMAIL PROTECTED] pisze: > I wish to open a new window/dialog when I click a particular button. > What is the command that can do this for me. window.show() -- Jarek Zgoda http://zgodowie.org/ "We read Knuth so you don't have

Re: [pygtk] Pygtk Crashes Everywhere

2008-04-02 Thread Jarek Zgoda
it() I use only gobject.threads_init() and my programs work like a charm on both systems. -- Jarek Zgoda http://zgodowie.org/ "We read Knuth so you don't have to" - Tim Peters ___ pygtk mailing list pygtk@daa.com.au http://www.

Re: [pygtk] Translation, gtk labels, and gettext

2007-12-06 Thread Jarek Zgoda
Dnia 6 grudnia 2007 15:17 John Dennis <[EMAIL PROTECTED]> napisaƂ(a): > Caleb Marcus wrote: > > I'm planning to make my application translatable with gettext. Do I have > > to make the text in my gtk stock buttons and things like that use > > gettext, or will they automatically translate due to

Re: [pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-23 Thread Jarek Zgoda
need to update UI, then it has nothing to to with PyGTK. ;) -- Jarek Zgoda http://jpa.berlios.de/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: Re: [pygtk] gtk.MessageDialog not transi ente on win32

2007-02-06 Thread Jarek Zgoda
I think "normal" dialog windows don't have such feature natively. Cheers Jarek Zgoda ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] anyone using pygtk for windows ?

2007-01-29 Thread Jarek Zgoda
oject (http://www.gajim.org/) do this succesfully, so it's perfectly possible. Cheers Jarek Zgoda ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Installing pygtk on linuxRH8

2007-01-14 Thread Jarek Zgoda
t. > > Now I want to install them in a > Linux system: I have linux Red Hat 8, so I updated a bit of packages, > downloading and installing the following: RH8 is very, very old and outdated. I think RedHat doesn't even support it anymore. Could you afford anything newer? --

Re: Re: [pygtk] Liststore model

2007-01-12 Thread Jarek Zgoda
ike (int,str,str,str,str,str,int), because I added > two columns. Cursor objects have description. It's a tuple, where second element is typecode. You can build your ListStore using that information. Cheers Jarek Zgoda ___ pygtk mailing list pygtk

Re: [pygtk] Pygtk.org website IRC Meeting

2006-12-25 Thread Jarek Zgoda
ons (not sure if it was for PyGTK or wxPython, though) and I know it works. Gajim (http://www.gajim.org/) people already have something like that. This is not uncommon task, so I bet one can find more solutions like these two. -- Jarek Zgoda http://jpa.berlios.de/

Re: [pygtk] Pygtk.org website IRC Meeting

2006-12-25 Thread Jarek Zgoda
, why Windows users should not get the software in a way that is familiar and friendly for them? The OP request was not without point. -- Jarek Zgoda http://jpa.berlios.de/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/list

Re: [pygtk] Windows pygtk pack

2006-11-03 Thread Jarek Zgoda
see how people from Gajim did this (http://www.gajim.org/). -- Jarek Zgoda http://jpa.berlios.de/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Wait until a thread is ended

2006-09-28 Thread Jarek Zgoda
this is a main thread (this may be of some use if you spawn more than one worker thread). See: http://docs.python.org/lib/module-threading.html -- Jarek Zgoda http://jpa.berlios.de/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mai

Re: Re: [pygtk] Treeview multiple row DnD

2006-06-27 Thread Jarek Zgoda
7;s some other goodies in that file if you like them. This URL gives me HTTP 403 (Forbidden). Cheers Jarek Zgoda ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Asynchronous XML-RPC

2006-05-18 Thread Jarek Zgoda
Anyone have suggestions on the code? Fine code, really. When I needed something similar, I ended up with broken async xmlrpc client written from scratch using asyncore/asynchat... -- Jarek Zgoda http://jpa.berlios.de/ ___ pygtk mailing list pygtk@da

Re: [pygtk] libglade internationalization

2006-05-15 Thread Jarek Zgoda
os.getenv('LANG') if lang is None: defaultLang, defaultEnc = locale.getdefaultlocale() if defaultLang: lang = defaultLang if lang: os.environ['LANG'] = lang This was required, because Windows wanted canonical name "Polish_Poland", no

Re: [pygtk] Display tooltips in status bar

2006-05-13 Thread Jarek Zgoda
> Only the "proxy" and "select" stuff is new and related to the tooltips. It requires using uimanager, which is complicated for me. ;) Any possibility for glade-based ui? -- Jarek Zgoda http://jpa.berlios.de/ ___ pygtk

Re: [pygtk] Display tooltips in status bar

2006-05-12 Thread Jarek Zgoda
rk > as shown here (though it would be real nice if it did): Gosh, didn't think this could be *that* complicated... -- Jarek Zgoda http://jpa.berlios.de/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] Display tooltips in status bar

2006-05-12 Thread Jarek Zgoda
I'd like to display menuitem's tooltip text in status bar area. Which event should I intercept to be able to prevent displaying it in usual tooltip window? I tried with show-help, but this doesn't seem to work. -- Jarek Zgoda http:/

Re: [pygtk] ANNOUNCE: Gazpacho 0.6.6

2006-05-06 Thread Jarek Zgoda
equivalent, so it's a matter of writing a hack (see i.e. in Gajim code). Sorry for off-list posting of my previous msg, as usual I hit "Reply", not "Reply To All". These mailing list software is make me sick. -- Jarek Zgoda http://jpa.berlios.de/

Re: [pygtk] Blocking codes

2006-03-13 Thread Jarek Zgoda
ecution until their run() method finish (return). This way, you may do Popup_window1.run(), then your program will wait until dialog finishes (i.e. user clicks a dialog button) and then will return to main loop of execution (i.e. for running next dialog

Re: [pygtk] Signals, once again

2006-02-15 Thread Jarek Zgoda
all I can say is "wow, I'm impressed!". Louie solved more my problems that I could expect. :) -- Jarek Zgoda http://jpa.berlios.de/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Signals, once again

2006-02-15 Thread Jarek Zgoda
to rethink application architecture. ;) Cheers Jarek Zgoda ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Signals, once again

2006-02-15 Thread Jarek Zgoda
> Attached is your code changed so that it works. > > A diff between yours and mine should show you were you are going wrong. So, effectively you can not connect to signal not knowing its source (emitter)? I mean, in GTK you can not broadcast signal? Cheers Ja

[pygtk] Signals, once again

2006-02-15 Thread Jarek Zgoda
attached code and I am really stuck with this problem. Cheers Jarek Zgoda# -*- coding: utf-8 -*- import time import gobject class Emitter(gobject.GObject): __gsignals__ = { 'sig-1': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()), } def __i

[pygtk] Signals and threads

2006-02-11 Thread Jarek Zgoda
et caetera). -- Jarek Zgoda http://jpa.berlios.de/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/