[pygtk] Re: gnome-python-1.0.52 fixlet

2000-03-16 Thread Randolph Fritz
Here's a patch for that list_section/section_contents conflict. For my sanity's sake, I've assumed that section_contents is the name and patched config.py. Apply the patch in the directory where config.py is located. Randolph -- cut here - --- config.old.py Wed

[pygtk] gnome-python-1.0.52 fixlet

2000-03-14 Thread Randolph Fritz
It appears that a conflict between gnome/config.py and _gnomemodule.so persists in this version. config.py _gnomemodule.so private_list_section gnome_config_private_section_contents gnome_private_list_section list_section

[pygtk] How do I...?

2000-03-07 Thread Randolph Fritz
Turn off the "minimize" button on a window and make it dissapear from the task list. My yellow stickies really don't belong there. By the way, if anyone is using the Gnome panel and wants to give the program a try I'll be happy to send a copy; I've found it useful and reliable, though it is

Re: [pygtk] style question again

2000-03-03 Thread Randolph Fritz
On Thu, Mar 02, 2000 at 10:47:06AM +0100, Javi Roman wrote: I have: ... style = self.window.get_style ().copy () style.bg[STATE_NORMAL] = style.black self.window.set_style (style) ... This works correctly, but i want a red background color, and i

[pygtk] Sure looks like a bug in gnome.config

2000-02-21 Thread Randolph Fritz
Looks like _gnome.gnome_config_private_list_section was changed to _gnome.gnome_config_private_section_contents, but gnome/config.py wasn't updated to match. Context diff included. Randolph Fritz Eugene, Oregon, USA *** /home/randolph/Install/gnome-python-1.0.51/pygnome/gnome/config.py Wed

Re: [pygtk] X selection handling

2000-02-18 Thread Randolph Fritz
On Fri, Feb 18, 2000 at 08:18:36AM -0500, Rick Ree wrote: I know this has been asked before, but I haven't found an answer IIRC. Can/how do you get/set the X selection? I tried experimenting with the GtkEntry class but ideally I want to manipulate the X selection without having to explicitly

Re: [pygtk] Destroy event?

2000-02-15 Thread Randolph Fritz
On Mon, Feb 14, 2000 at 06:35:48AM -0700, Mitch Chapman wrote: You'll probably find that connecting to "delete_event" has the desired result. I don't know why "destroy_event" doesn't work. BTW if you do decide to connect to "delete_event" you'll need an extra argument: def _kill(window,

[pygtk] PyGnorba?

2000-02-15 Thread Randolph Fritz
Sigh...folks, I want to find out if the panel is running, so my program can decide whether or not to be a Gnome applet. Problem is, this needs Gnorba, which doesn't seem to be included in gnome-python release (1.50) that I have. Am I looking in the wrong place? Or should I start writing a test

[pygtk] Main windows? Signals?

2000-02-12 Thread Randolph Fritz
ve a len() attribute. Is there something I've missed? I would really appreciate if someone on this list would be willing to look over my code and offer suggestions on style. Would it be ok if I posted it? It's about 80 lines. -- Randolph Fritz Eugene, Oregon, USA To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] Example panel applet?

2000-01-22 Thread Randolph Fritz
Hi, folks! I'm trying to write "post-it" (tm:) note panel applet as a first project in PyGnome and I'm wondering if there's an already available Python Gnome panel applet that I can study as a reference. -- Randolph Fritz Eugene, Oregon, USA To unsubscribe: echo "unsubscribe