From 1426e66ea4df6173abad25c7e34ef4caa4074d58 Mon Sep 17 00:00:00 2001 From: Alexander Kojevnikov Date: Tue, 22 Feb 2011 22:38:46 +0800 Subject: [PATCH] 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 section in the bundle file. Partially fixes issue 31. --- src/spek-window.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spek-window.vala b/src/spek-window.vala index d889f3f..3d2fd97 100644 --- 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"; }