Update of /cvsroot/ap-python/python/examples/aptk
In directory usw-pr-cvs1:/tmp/cvs-serv29642/examples/aptk
Modified Files:
gtkplayer.py panel.py playlist.py
Log Message:
Make __data__ and __version__ mean what they should mean. I18N. Fix distclean and uninstall targets.
Index: gtkplayer.py
===================================================================
RCS file: /cvsroot/ap-python/python/examples/aptk/gtkplayer.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** gtkplayer.py 21 Jul 2002 18:15:43 -0000 1.7
--- gtkplayer.py 19 Aug 2002 16:45:37 -0000 1.8
***************
*** 21,34 ****
__author__ = "Evgeny Chukreev <co...@ec...>"
! __date__ = "$Date$"
! __version__ = "$Revision$"
__license__ = "GNU"
# Load modules
! import alsaplayer, aptk, gtk
! gdk = gtk.gdk
# Init GDK threads
! gdk.threads_init ()
# Properties
--- 21,36 ----
__author__ = "Evgeny Chukreev <co...@ec...>"
! __date__ = "$Date$".split()[1]
! __version__ = "$Revision$".split()[1]
__license__ = "GNU"
# Load modules
! import alsaplayer, gtk
! import aptk.misc, aptk.position, aptk.info
! import aptk.control, aptk.speed, aptk.pan
! import aptk.volume
# Init GDK threads
! gtk.gdk.threads_init ()
# Properties
***************
*** 103,107 ****
win.show ()
! gdk.threads_enter ()
gtk.mainloop ()
! gdk.threads_leave ()
--- 105,109 ----
win.show ()
! gtk.gdk.threads_enter ()
gtk.mainloop ()
! gtk.gdk.threads_leave ()
Index: panel.py
===================================================================
RCS file: /cvsroot/ap-python/python/examples/aptk/panel.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** panel.py 28 Jul 2002 13:45:47 -0000 1.11
--- panel.py 19 Aug 2002 16:45:37 -0000 1.12
***************
*** 26,34 ****
# Load modules
! import alsaplayer, aptk, gtk
! gdk = gtk.gdk
# Init GDK threads
! gdk.threads_init ()
# Get general playlist
--- 26,36 ----
# Load modules
! import alsaplayer, gtk
! import aptk.misc, aptk.position, aptk.info
! import aptk.control, aptk.speed, aptk.pan
! import aptk.volume
# Init GDK threads
! gtk.gdk.threads_init ()
# Get general playlist
***************
*** 68,72 ****
# Setup window
win.set_title ("AlsaPlayer-Python Panel")
! win.set_size_request (gdk.screen_width (), 22)
win.move (0, 0)
win.stick ()
--- 70,74 ----
# Setup window
win.set_title ("AlsaPlayer-Python Panel")
! win.set_size_request (gtk.gdk.screen_width (), 22)
win.move (0, 0)
win.stick ()
***************
*** 221,225 ****
global mode, newmode
! gdk.threads_enter ()
if newmode == 0:
--- 223,227 ----
global mode, newmode
! gtk.gdk.threads_enter ()
if newmode == 0:
***************
*** 230,234 ****
hbox.add (info_page)
! gdk.threads_leave ()
mode = newmode
--- 232,236 ----
hbox.add (info_page)
! gtk.gdk.threads_leave ()
mode = newmode
***************
*** 257,261 ****
win.show ()
! gdk.threads_enter ()
gtk.mainloop ()
! gdk.threads_leave ()
--- 259,263 ----
win.show ()
! gtk.gdk.threads_enter ()
gtk.mainloop ()
! gtk.gdk.threads_leave ()
Index: playlist.py
===================================================================
RCS file: /cvsroot/ap-python/python/examples/aptk/playlist.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** playlist.py 16 Aug 2002 05:36:11 -0000 1.10
--- playlist.py 19 Aug 2002 16:45:37 -0000 1.11
***************
*** 21,33 ****
__author__ = "Evgeny Chukreev <co...@ec...>"
! __date__ = "$Date$"
! __version__ = "$Revision$"
__license__ = "GNU"
! import alsaplayer, aptk, gtk
! gdk = gtk.gdk
# Init GDK threads
! gdk.threads_init ()
# Properties
--- 21,32 ----
__author__ = "Evgeny Chukreev <co...@ec...>"
! __date__ = "$Date$".split()[1]
! __version__ = "$Revision$".split()[1]
__license__ = "GNU"
! import alsaplayer, aptk.misc, aptk.playlist, gtk
# Init GDK threads
! gtk.gdk.threads_init ()
# Properties
***************
*** 48,52 ****
win.show ()
! gdk.threads_enter ()
gtk.mainloop ()
! gdk.threads_leave ()
--- 47,51 ----
win.show ()
! gtk.gdk.threads_enter ()
gtk.mainloop ()
! gtk.gdk.threads_leave ()
|