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.
This commit is contained in:
Alexander Kojevnikov 2011-02-22 22:38:46 +08:00
parent 1b287083cd
commit 1426e66ea4

View File

@ -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";
}