Update of /cvsroot/freevo/freevo/src/skins/main In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7090/skins/main
Modified Files: main.py Log Message: make to possible to override busy icon with skin Index: main.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/skins/main/main.py,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** main.py 2 Feb 2004 23:06:03 -0000 1.37 --- main.py 6 Feb 2004 18:24:39 -0000 1.38 *************** *** 10,13 **** --- 10,16 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.38 2004/02/06 18:24:39 dischi + # make to possible to override busy icon with skin + # # Revision 1.37 2004/02/02 23:06:03 outlyer # This probably isn't neccessary to show every startup. *************** *** 435,438 **** --- 438,452 ---- + def get_icon(self, name): + """ + Get the icon object 'name'. Return the icon in the theme dir if it + exists, else try the normal image dir. If not found, return '' + """ + icon = util.getimage(os.path.join(self.settings.icon_dir, name)) + if icon: + return icon + return util.getimage(os.path.join(config.ICON_DIR, name), '') + + def items_per_page(self, (type, object)): """ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog