[gnome-mud] PyGTK support.
- From: Adam Luchjenbroers <Adam Luchjenbroers com>
- To: gnome-mud-list gnome org
- Subject: [gnome-mud] PyGTK support.
- Date: Sat, 17 Jan 2004 14:47:54 +0930
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Here's a patch to make PyGTK support work.
All it needed was a call to gtk_widget_show() to tell it to start drawing the
new widget. The standard GTK headers needed to be included in python.c to do
this, but since they're also loaded anywhere else I don't think thats an
issue.
- --
"Gaz, taste me, I'm delicious" - Dib
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFACMWF94zI/zB2CYURApa4AJ9W4poXAPlYN1XngxeFg9eDG4eiaQCfXANx
lRpdNPIIWUGl1LpfsuLR3UU=
=fmoo
-----END PGP SIGNATURE-----
Only in ./doc/gnome-mud-manual/C: Makefile
Only in ./doc/gnome-mud-manual/C: omf_timestamp
Only in ./doc/gnome-mud-manual: Makefile
Only in ./doc/gnome-mud-plugin-api/C: Makefile
Only in ./doc/gnome-mud-plugin-api/C: omf_timestamp
Only in ./doc/gnome-mud-plugin-api: Makefile
Only in ./doc: Makefile
Only in ./doc/omf-install: gnome-mud-manual-C.omf
Only in ./doc/omf-install: gnome-mud-plugin-api-C.omf
Only in ./doc/omf-install: Makefile
Only in ./: gnome-mud-0.10.4a-pygtk.patch
Only in ./plugins: Makefile
Only in ./po: Makefile
Only in ./po: Makefile.in
Only in ./po: POTFILES
Only in ./src: .deps
diff -r ../gnome-mud-0.10.4a/src/init.c ./src/init.c
44c44
< /* FIXME
---
>
48c48
< */
---
>
730c730
< /* FIXME
---
>
735c735
< */
---
>
diff -r ../gnome-mud-0.10.4a/src/python.c ./src/python.c
32d31
< /* FIXME
34a34
> #include <gtk/gtk.h>
36d35
< */
52c51
< /* FIXME
---
>
56c55
< */
---
>
266c265
< /* FIXME
---
>
270a270
> GtkWidget *gwidget;
277c277,281
< gtk_box_pack_start (GTK_BOX (box_user), GTK_WIDGET(pygobject_get(widget)), (gboolean)expand, (gboolean)fill, (guint)padding);
---
>
> gwidget = GTK_WIDGET(widget->obj);
>
> gtk_box_pack_start (GTK_BOX (box_user), gwidget, (gboolean)expand, (gboolean)fill, (guint)padding);
> gtk_widget_show(gwidget);
283c287
< */
---
>
385c389
< /* FIXME
---
>
389c393
< */
---
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]