[xiph-commits] r7415 - trunk/xinloe

arc at motherfish-iii.xiph.org arc
Thu Aug 5 18:54:15 PDT 2004


Author: arc
Date: Thu Aug  5 18:54:15 2004
New Revision: 7415

Modified:
trunk/xinloe/images.py
Log:
Pre-move commit


Modified: trunk/xinloe/images.py
===================================================================
--- trunk/xinloe/images.py	2004-07-29 23:26:53 UTC (rev 7414)
+++ trunk/xinloe/images.py	2004-07-29 23:49:57 UTC (rev 7415)
@@ -1,26 +1,6 @@
-'''
-  Xinloe -- A Python-Based Non-Linear Ogg Editor
-  Copyright (C) 2004 Arc Riley <arc at Xiph.org>
-
-  This program 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 2 of the License, or
-  (at your option) any later version.
-
-  This program 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 this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-'''
-
from wxPython.wx import *

def geticon(name, size=1):
-  sizes=('16x16','22x22','32x32')
+  sizes=('16x16','22x22','32x32','48x48')
f = 'icons/%s/%s.png' % (sizes[size], name)
return wxImage(f, wxBITMAP_TYPE_PNG).ConvertToBitmap()



More information about the commits mailing list