[pygtk] WNCK question

Danny Milosavljevic danny.milo at gmx.net
Fri Apr 21 04:21:10 WST 2006


Hi,

Am Donnerstag, den 20.04.2006, 11:01 +0100 schrieb Gustavo J. A. M.
Carneiro:

>   You patched wnck the C library or the python bindings?

The C library...

Actually:

『dannym at pyramid』 libxfcegui4 〇 svn diff -r 1465:13839 netk-screen.c
Index: netk-screen.c
===================================================================
--- netk-screen.c       (Revision 1465)
+++ netk-screen.c       (Revision 13839)
@@ -341,7 +341,8 @@
     screen->priv->need_update_bg_pixmap = TRUE;
     screen->priv->need_update_showing_desktop = TRUE;
 
-    queue_update (screen);
+    /*queue_update (screen);*/
+    do_update_now (screen); /* testing ... */
 }

that is in:
  netk_screen_construct (NetkScreen * screen, int number)

"wnck_screen_construct" looks pretty similar,
http://cvs.gnome.org/viewcvs/libwnck/libwnck/screen.c?rev=1.29&view=markup

just replace the same part :)


cheers,
   Danny




More information about the pygtk mailing list