[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 Jan 26 07:05:26 2000
+++ config.py   Thu Mar 16 16:58:45 2000
@@ -31,8 +31,8 @@
 
 def has_section(path):
return _gnome.gnome_config_has_section(path)
-def list_section(path):
-   return _gnome.gnome_config_list_section(path)
+def section_contents(path):
+   return _gnome.gnome_config_section_contents(path)
 def enum_sections(path):
return _gnome.gnome_config_enum_sections(path)
 
@@ -63,8 +63,8 @@
 
 def private_has_section(path):
return _gnome.gnome_config_private_has_section(path)
-def private_list_section(path):
-   return _gnome.gnome_config_private_list_section(path)
+def private_section_contents(path):
+   return _gnome.gnome_config_private_section_contents(path)
 def private_enum_sections(path):
return _gnome.gnome_config_private_enum_sections(path)
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



Re: [pygtk] label button

2000-03-16 Thread Hassan Aurag



 I don't know the context but you usually keep a reference to your 
button and then change it with its methods whenever you like
>> Original Message <<

On 3/16/00, 3:02:12 PM, Javi Roman <[EMAIL PROTECTED]> wrote regarding 
[pygtk] label button:


> How can I change label button in run-time?

> Thanks. Javi R.
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



[pygtk] label button

2000-03-16 Thread Javi Roman

How can I change label button in run-time?

Thanks. Javi R.
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]



[pygtk] Two questions

2000-03-16 Thread Javi Roman

Two questions:

1. When I load an image in any format png, jpeg, ... it apparears pixeled why?

   (my screen resolution 640x480 8 bpp)

   Also, I can see this efect in RedHat install GUI (icons).

2. I desire convert a GIF image to PNG image. My GIF image has transparent
   background, but I obtain opaque background when I convert it using GIMP
   (also using Xnview).

Thanks, Javi R.



To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]