diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-17 13:12:05 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-17 13:12:05 +0200 |
commit | 026f8dd80f0654b725ac78158d9adeda8b29ac1b (patch) | |
tree | c61d1cd3c2f5912f89deb42c1a96e232e71b3572 /gtk2_ardour/startup.cc | |
parent | b7965a660d2278630feee4b075cca810a0784617 (diff) |
group Product/App specific resources
* only install icons relevant to product
* use program-name (as-is) as prefix
* keep icons/* for all products
Diffstat (limited to 'gtk2_ardour/startup.cc')
-rw-r--r-- | gtk2_ardour/startup.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/startup.cc b/gtk2_ardour/startup.cc index 40dbc73ea3..45f543e118 100644 --- a/gtk2_ardour/startup.cc +++ b/gtk2_ardour/startup.cc @@ -79,23 +79,23 @@ ArdourStartup::ArdourStartup () set_position (WIN_POS_CENTER); set_border_width (12); - if ((icon_pixbuf = ::get_icon ("ardour_icon_48px")) == 0) { + if ((icon_pixbuf = ::get_icon (PROGRAM_NAME "-icon_48px")) == 0) { throw failed_constructor(); } list<Glib::RefPtr<Gdk::Pixbuf> > window_icons; Glib::RefPtr<Gdk::Pixbuf> icon; - if ((icon = ::get_icon ("ardour_icon_16px")) != 0) { + if ((icon = ::get_icon (PROGRAM_NAME "-icon_16px")) != 0) { window_icons.push_back (icon); } - if ((icon = ::get_icon ("ardour_icon_22px")) != 0) { + if ((icon = ::get_icon (PROGRAM_NAME "-icon_22px")) != 0) { window_icons.push_back (icon); } - if ((icon = ::get_icon ("ardour_icon_32px")) != 0) { + if ((icon = ::get_icon (PROGRAM_NAME "-icon_32px")) != 0) { window_icons.push_back (icon); } - if ((icon = ::get_icon ("ardour_icon_48px")) != 0) { + if ((icon = ::get_icon (PROGRAM_NAME "-icon_48px")) != 0) { window_icons.push_back (icon); } if (!window_icons.empty ()) { |