spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit 1426e66ea4df6173abad25c7e34ef4caa4074d58
parent 1b287083cd179057862e8c593ad62e758fdd2875
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Tue, 22 Feb 2011 22:38:46 +0800

osx: Fix logo scaling issue in the About dialogue

More like a give up than a fix. I could not manage to get the
svg pixbuf loader to do its job. For now the dialogue just
loads the default bitmap logo.

For future reference, to install use the `librsvg +no_gnome`
port and add a <binary> section in the bundle file.

Partially fixes issue 31.

Diffstat:
Msrc/spek-window.vala | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/spek-window.vala b/src/spek-window.vala @@ -220,7 +220,7 @@ namespace Spek { dlg.license = license; dlg.wrap_license = true; try { - dlg.logo = IconTheme.get_default ().load_icon ("spek", 128, 0); + dlg.logo = IconTheme.get_default ().load_icon ("spek", 128, IconLookupFlags.FORCE_SVG); } catch (Error e) { dlg.logo_icon_name = "spek"; }