From 2aae1c800f79dea197778ae018c466cacae1a7d8 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 5 Dec 2011 03:26:20 +0000 Subject: [PATCH] code commenting svn path=/trunk/; revision=8 --- PlayerControl.py | 31 +++++++++++++++---------------- main.py | 34 +++++++++++++++++----------------- 2 files changed, 32 insertions(+), 33 deletions(-) diff --git a/PlayerControl.py b/PlayerControl.py index 5eab221..f24e051 100644 --- a/PlayerControl.py +++ b/PlayerControl.py @@ -1,20 +1,20 @@ #encoding: utf-8 #Copyright 2009 - 2010 Paul Hänsch -#This file is part of Viper. - -#Viper is free software: you can redistribute it and/or modify -#it under the terms of the GNU General Public License as published by -#the Free Software Foundation, either version 3 of the License, or -#(at your option) any later version. - -#Viper is distributed in the hope that it will be useful, -#but WITHOUT ANY WARRANTY; without even the implied warranty of -#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -#GNU General Public License for more details. - -#You should have received a copy of the GNU General Public License -#along with Viper. If not, see +# This file is part of Viper. +# +# Viper is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Viper is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Viper. If not, see from Tkinter import * import Pmw @@ -70,5 +70,4 @@ class PlayerControl(Frame): elif state == 'paused': self.subgets['b_play'].configure(text = 'Play', command = self.play) elif state == 'playing': - self.subgets['b_play'].configure(text = 'Pause', command = - self.player.pause_video) + self.subgets['b_play'].configure(text = 'Pause', command = self.player.pause_video) diff --git a/main.py b/main.py index 33c592b..b601efa 100755 --- a/main.py +++ b/main.py @@ -1,23 +1,23 @@ #!/usr/bin/python #encoding: utf-8 -#Viper - Video In Python Editing Reptile, a video editor -#Copyright 2009 - 2011 Paul Hänsch - -#This file is part of Viper. - -#Viper is free software: you can redistribute it and/or modify -#it under the terms of the GNU General Public License as published by -#the Free Software Foundation, either version 3 of the License, or -#(at your option) any later version. - -#Viper is distributed in the hope that it will be useful, -#but WITHOUT ANY WARRANTY; without even the implied warranty of -#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -#GNU General Public License for more details. - -#You should have received a copy of the GNU General Public License -#along with Viper. If not, see +# Viper - Video In Python Editing Reptile, a video editor +# Copyright 2009 - 2011 Paul Hänsch +# +# This file is part of Viper. +# +# Viper is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Viper is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Viper. If not, see from Tkinter import * from timeline import * -- 2.39.2