diff options
author | David Robillard <d@drobilla.net> | 2015-01-10 02:53:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-01-10 02:53:31 +0000 |
commit | ea59b3a8d2887e963b806c5f595f5d4e6460fc55 (patch) | |
tree | 94fcd7b385db257b216854e865e39ed41139295e /src/Patchage.cpp | |
parent | b608165e9162d2d429de47bbc430ecae136d3455 (diff) | |
download | patchage-ea59b3a8d2887e963b806c5f595f5d4e6460fc55.tar.gz patchage-ea59b3a8d2887e963b806c5f595f5d4e6460fc55.tar.bz2 patchage-ea59b3a8d2887e963b806c5f595f5d4e6460fc55.zip |
More Mac integration work.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5511 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r-- | src/Patchage.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index d561feb..1944ef3 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -160,6 +160,12 @@ Patchage::Patchage(int argc, char** argv) _about_win->property_program_name() = "Patchage"; _about_win->property_logo_icon_name() = "patchage"; gtk_window_set_default_icon_name("patchage"); +#ifdef __APPLE__ + // This doesn't seem to work after bundleification for some reason... + _about_win->set_logo( + Gdk::Pixbuf::create_from_file( + bundle_location() + "/Resources/Patchage.icns")); +#endif _main_scrolledwin->add(_canvas->widget()); |