Re: [pygtk] GIO/GVFS and pygtk

2008-03-29 Thread Magnus Therning
f GIO/GVFS makes me hesitant to use Gnome-VFS at this time. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus.therning@gmail.com http://therning.org/magnus What if I don't want to obey the laws? Do they throw me in j

Re: [pygtk] GNOME printing in Python?

2007-05-25 Thread Magnus Therning
On Fri, May 25, 2007 at 16:22:18 +0200, Gian Mario Tagliaretti wrote: >2007/5/25, Magnus Therning <[EMAIL PROTECTED]>: >>What I'd like to do is very simple, just send the contents of a string, >>prepared in a Python script, to the printer. If possible I'd l

[pygtk] GNOME printing in Python?

2007-05-25 Thread Magnus Therning
ow to work with printing in GNOME though. Can anyone offer me some good pointers? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpLt69rJIvxv.pgp Description

[pygtk] l10n, bind_textdomain_codeset?

2007-04-02 Thread Magnus Therning
ly to them. This seems to work just fine, but recently I was asked whether I need a call to gettext.bind_textdomain_codeset() in order to specify UTF-8 to be used. Do I? /M [1]: http://therning.org/magnus/computer/epilicious/ [2]: http://www.gnome.org/projects/epiphany/ -- Magnu

[pygtk] Re: Localisation of python plugin

2006-12-07 Thread Magnus Therning
Can I somehow "merge" two domains in glade so that plugins written separately can manage their own localisation? The code below will reset epiphany's localisation to English and only the plugin's localisation follows the locale setting. /M On Wed, Dec 06, 2006 at 08:46:06 +0

Re: [pygtk] easy question :)

2006-10-20 Thread Magnus Therning
d lind tools. AFAIK this is bound to make your tool very tightly bound to a specific distribution unless you do some clever abstraction. On top of this you might also have to deal with desktop settings (GNOME or KDE), especially regarding proxy settings. /M >Magnus Therning <[EMAIL PROTECTE

Re: [pygtk] easy question :)

2006-10-19 Thread Magnus Therning
ions will be made to the IP,..etc). Thanks I think you need to use different methods on different systems. So, what OS is this for? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus

Re: [pygtk] ORBit and python

2006-09-26 Thread Magnus Therning
o get it working... /M PS I keep on getting the following warning: cc1: note: obsolete option -I- used, please use -iquote instead Is that well-known? Should I raise a bug on it? [1]: http://therning.org/magnus/computer/pyorbit/ -- Magnus Therning (OpenPGP: 0xA

Re: [pygtk] ORBit and python

2006-09-26 Thread Magnus Therning
On Tue, Sep 26, 2006 at 11:24:44 +0100, Gustavo J. A. M. Carneiro wrote: >On Ter, 2006-09-26 at 11:01 +0100, Magnus Therning wrote: >> I copy-pasted your code into three files here and noticed the same >> behaviour. I then went to the PyORBit doc I keep around [1] and tried >>

Re: Repl-to of Mailinglist Was: [pygtk] converting characters to uppercase as they are being type in gtk.Entry

2006-09-20 Thread Magnus Therning
;t appear on the mailing list, because they are >sent directly to the one who asked. This is a religious issue: http://www.unicom.com/pw/reply-to-harmful.html http://www.metasystema.net/essays/reply-to.mhtml My opinion is "I don't care". My mailer supports mail-t

Re: [pygtk] PyGTK Shell: intermediate snapshot

2006-08-28 Thread Magnus Therning
. > >It is similar to the (two) PyGTK console examples that are included in >the PyGTK tutorial, but portable to Linux + win32 (don't know about >other platforms) and using just Python and GTK, no terminal. I haven't looked closer at it, but can I use it together with ipython[1

Re: [pygtk] documentation for wnck

2006-07-04 Thread Magnus Therning
l/software/doc/libwnck/ That's for the C version, it's fairly straightforward to translate to Python. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, i

Re: [pygtk] GNOME applets in Python and Debian?

2006-07-03 Thread Magnus Therning
d this bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376129 /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep

[pygtk] GNOME applets in Python and Debian?

2006-07-03 Thread Magnus Therning
/M [Tutorial]: http://www.pygtk.org/articles/applets_arturogf/ [Newton]: http://newton.sourceforge.net/ -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is som

[pygtk] Re: Threading in a python extension?

2006-06-21 Thread Magnus Therning
On Sun, Jun 18, 2006 at 12:32:52 +0200, Frederic Peters wrote: >Magnus Therning wrote: > >> Does anyone have any examples of multi-threade extensions written in >> Python? > >Nope but multi-thread is perhaps not necessary, PyGTK FAQ has a good >suggestion about using

Re: [pygtk] how to install pyGTK

2006-05-31 Thread Magnus Therning
rogram with PyGTK, >just to check that everything's working as expected. Let us know if you >still have problems. Another point to pay attention to is version numbering. Make sure you install the matching versions of GTK+ and PyGTK! /M -- Magnus Therning

Re: [pygtk] how to install pyGTK

2006-05-30 Thread Magnus Therning
cked on the link "pygtk on win32". There I found executable files that'll install PyGTK. Do you run into problems after that? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magn

Re: [pygtk] pygtk-codegen, enum/flags issue

2006-05-30 Thread Magnus Therning
On Tue, May 30, 2006 at 07:35:39PM +0100, Gustavo J. A. M. Carneiro wrote: >On Ter, 2006-05-30 at 08:26 +0100, Magnus Therning wrote: [..] >> I have two questions: >> 1. What's the difference between enum and flags for pygtk-codegen, and >> when should I use whic

[pygtk] Where are enums/flags?

2006-05-30 Thread Magnus Therning
Now this may sound silly, but I can't find the enums/flags in wnck. That isn't a big problem when a function returns an enum/flag, but it's more problematic when a function takes an enum as an argument. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [

[pygtk] pygtk-codegen, enum/flags issue

2006-05-30 Thread Magnus Therning
ot;) +'("change-width" "WNCK_WINDOW_CHANGE_WIDTH") +'("change-height" "WNCK_WINDOW_CHANGE_HEIGHT") + ) +) + ;; From /usr/include/libwnck-1.0/libwnck/application.h @@ -1033,6 +1063,20 @@ ) ) +(define-method set_geometry + (of-object &q

Re: [pygtk] wnck.Window.get_geometry missing?

2006-05-29 Thread Magnus Therning
harm :-) I've created bug 343332[1] with a patch that works fine on my system. /M 1. http://bugzilla.gnome.org/show_bug.cgi?id=343332 -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus So

Re: [pygtk] wnck.Window.get_geometry missing?

2006-05-28 Thread Magnus Therning
On Sun, May 28, 2006 at 12:31:14PM +0100, Gustavo J. A. M. Carneiro wrote: >Sáb, 2006-05-27 às 21:56 +0100, Magnus Therning escreveu: >> I can't figure out why wnck.Window.get_geometry isn't in the python >> bindings. >> >> wnck.defs contains the followin

[pygtk] wnck.Window.get_geometry missing?

2006-05-27 Thread Magnus Therning
On my system that results in the printing of an empty list. Any pointers on how to fix this (I've not managed to find any docs on pygtk-codegen-2.0 at all) would be much appreciated. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Ja

Re: [pygtk] Detecting number of monitors/screens?

2006-05-24 Thread Magnus Therning
Hope you don't mind that I'm CCing the list as well. On Wed, May 24, 2006 at 08:55:34AM +0100, Duncan Greenwood wrote: >Magnus Therning wrote: > >>How do I find out how many heads X is using? >> >>I'm on a dual-head system at work and would like my program

[pygtk] Detecting number of monitors/screens?

2006-05-23 Thread Magnus Therning
y wnck, it offers all information about the screen/display/window I need, except for this little detail :-( /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactu

Re: [pygtk] WNCK question

2006-05-23 Thread Magnus Therning
On Mon, May 22, 2006 at 08:17:55PM +0200, Matthias Bläsing wrote: >Am Montag, den 22.05.2006, 18:04 +0100 schrieb Magnus Therning: >> [Problem with wnck not updating without gtk.main] >> >> Hmm, that's a bit irritating. I was hoping to be able to call >> gtk.m

Re: [pygtk] WNCK question

2006-05-22 Thread Magnus Therning
On Thu, Apr 20, 2006 at 11:01:55AM +0100, Gustavo J. A. M. Carneiro wrote: >On Qua, 2006-04-19 at 20:56 +0200, Danny Milosavljevic wrote: >> Hi, >> >> Am Dienstag, den 18.04.2006, 23:13 +0100 schrieb Magnus Therning: >> > After discovering wmctrl and EWMH I decide

[pygtk] WNCK question

2006-04-18 Thread Magnus Therning
een, and I have 8 workspaces. Am I missing something here? I have only managed to find the reference docs for libwnck. The only program I know uses it is devilspie, but it's not exactly ideal for jumpstarting my plying with wnck... /M -- Magnus Therning(OpenPGP: 0xA

Re: [pygtk] running gtk from crontab

2005-12-07 Thread Magnus Therning
community. http://www.javasource.org/GifServlet/linux.html /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want censors

Re: [pygtk] gconf reference

2005-09-20 Thread Magnus Therning
reading up on the api rather then trial and error. Not very deep, but it got me as far as I needed this time around. http://therning.org/magnus/archives/57 /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured

Re: [pygtk] gtk or gtk2?

2005-09-04 Thread Magnus Therning
details that OO in C forces you to). If you look into using a GUI builder, e.g. glade, then it becomes easier still. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish.

Re: [pygtk] gtk or gtk2?

2005-09-04 Thread Magnus Therning
but needs to work in fluxbox >also. no need to port to win or mac. > >what are some of the differences between them? AFAIK the main difference is that gtk2 is being actively developed, enhanced and maintained while gtk isn't receiving much attention at all. /M -- Magnus Ther

Re: [pygtk] Docs Request: Showing inherited methods

2005-08-24 Thread Magnus Therning
mentation of all inherited methods in each class would clutter, but a simple list of all methods is all that's needed (since most methods have good names). I think Qt has done a good job in this respect. E.g. http://doc.trolltech.com/4.0/qcheckbox.html /M -- Magnus Therning

Re: [pygtk] pyorbit in python 2.4

2005-08-23 Thread Magnus Therning
my attempt at rewriting the Orbit Beginners Docmentation[1] for PyOrbit. Take a look at http://therning.org/magnus/computer/pyorbit/ for more info. I'd be interested in adding Python examples that reach beyond what's in the C version as well... /M 1. http://www.gnome.org/projects/O

[pygtk] KeySafe

2005-07-15 Thread Magnus Therning
I've written a small tool using Gnome-Python for keeping passwords for web pages close by, but (hopefully) still secure. http://gnomefiles.org/app.php?soft_id=986 /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://therning.org/magnus Software i

Re: [pygtk] Signal emitted when a row in TreeView is selected?

2005-05-15 Thread Magnus Therning
On Sun, May 15, 2005 at 06:58:46PM -0300, Christian Robottom Reis wrote: >On Sun, May 15, 2005 at 12:01:39PM -0700, David M. Cook wrote: >> On Sun, May 15, 2005 at 04:23:37PM +0100, Magnus Therning wrote: >> > I can't seem to find what signal will be emitted when a row i

Re: [pygtk] Signal emitted when a row in TreeView is selected?

2005-05-15 Thread Magnus Therning
On Sun, May 15, 2005 at 07:44:55PM -0300, Christian Robottom Reis wrote: >On Sun, May 15, 2005 at 11:38:36PM +0100, Magnus Therning wrote: >> >treeview.get_selection().connect("changed", self.on_selection_changed, ...) >> >[...] >> >>I was looking for a

Re: [pygtk] Signal emitted when a row in TreeView is selected?

2005-05-15 Thread Magnus Therning
On Sun, May 15, 2005 at 12:01:39PM -0700, David M. Cook wrote: >On Sun, May 15, 2005 at 04:23:37PM +0100, Magnus Therning wrote: >> I can't seem to find what signal will be emitted when a row in a >> TreeView (with ListStore) is selected. I've tried the following >>

Re: [pygtk] Signal emitted when a row in TreeView is selected?

2005-05-15 Thread Magnus Therning
On Sun, May 15, 2005 at 06:50:19PM +0300, Nikos Kouremenos wrote: >On 5/15/05, Magnus Therning <[EMAIL PROTECTED]> wrote: >> I can't seem to find what signal will be emitted when a row in a >> TreeView (with ListStore) is selected. I've tried the following >> s

[pygtk] Signal emitted when a row in TreeView is selected?

2005-05-15 Thread Magnus Therning
ther. All help is appreciated... /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want censorship by patent law o

[pygtk] Reading the mouse position

2005-05-09 Thread Magnus Therning
Is there a way of reading the position of the pointer using PyGTK? I just want to read the mouse position at the start of the program and use the result to guide the initial placement of the main window. So motion-notify-event is a bit overkill. Any pointers? /M -- Magnus Therning

[pygtk] [Possibly off-topic] Python bindings for Evolution?

2005-01-08 Thread Magnus Therning
someone is working on it? Or am I just being stupid? Maybe there's some other way of talking to evolution-data-server (CORBA/GNORBA or something)? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Software is not manufactured, it is some

[pygtk] PyORBit examples page

2004-08-03 Thread Magnus Therning
lection will get around to them, can I make sure it happens sooner?) Well, that's it for now. Looking forward to being flooded with responses ;) /M 1. http://www.gnome.org/projects/ORBit2/orbit-docs/orbit/index.html -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROT

Re: [pygtk] PyORBit documentation

2004-07-19 Thread Magnus Therning
On Mon, Jul 19, 2004 at 12:21:37PM -0300, Christian Robottom Reis wrote: >On Sun, Jul 18, 2004 at 11:51:29PM +0200, Magnus Therning wrote: >> I hope I'm not misinformed but this is the list where PyORBit is >> discussed, isn't it? > >Yes, but it's not discussed

[pygtk] PyORBit documentation

2004-07-18 Thread Magnus Therning
t's still not very far along. I'd love to get some comments on it (especially on the exception handling, they spend a whole lot of code on it in the C code but I have skipped it altogether). /M 1. http://magnus.therning.org/pyorbit_beg_exs.html 2. http://www.gnome.org/proj