From: Thierry Parmentelat Date: Mon, 23 May 2011 14:30:00 +0000 (+0200) Subject: use a smaller logo file X-Git-Tag: sface-0.1-11~3 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=90036e8d857f31b53cc89685ee3b0f9a0024b7e2 use a smaller logo file --- diff --git a/macos/build-dmg.sh b/macos/build-dmg.sh index aa82588..803b3d5 100755 --- a/macos/build-dmg.sh +++ b/macos/build-dmg.sh @@ -187,6 +187,7 @@ Also make sure to trash the current one before retrying" cp $temp/sface/macos/graphic-install-background.png "$img_mnt"/.background/background.png cp $temp/sface/macos/graphic-sfa.icns "$img_mnt"/$resource_path/appIcon.icns cp $temp/sface/macos/graphic-sfa.png "$img_mnt"/$resource_path/sface/images + cp $temp/sface/macos/graphic-sfa64.png "$img_mnt"/$resource_path/sface/images # the volume icons won't work - who cares # cp $temp/sface/macos/graphic-vol-sface.icns "$img_mnt"/.background/volumeIcon.icns # cp $temp/sface/macos/graphic-vol-sface.png "$img_mnt"/.background/volumeIcon.png diff --git a/setup.py b/setup.py index 07b6faf..249d72e 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ package_dirs = ['sface', 'sface/screens'] setup(name='sface', packages = package_dirs, - data_files = [ ('sface/images',['macos/graphic-sfa.png'] ) , ] , + data_files = [ ('sface/images',['macos/graphic-sfa.png','macos/graphic-sfa64.png'] ) , ] , ext_modules = [], py_modules = [], scripts = bins) diff --git a/sface/mainwindow.py b/sface/mainwindow.py index 19f05a9..6537edd 100644 --- a/sface/mainwindow.py +++ b/sface/mainwindow.py @@ -28,7 +28,7 @@ class Nav(QWidget): self.title = QLabel("", self) scene=QGraphicsScene() - pixmap = QPixmap(locate_image_file('graphic-sfa')) + pixmap = QPixmap(locate_image_file('graphic-sfa64')) logolabel=QLabel("",self) logolabel.setPixmap(pixmap) self.main = QLabel("", self)