View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004456 | ardour | features | public | 2011-11-07 12:14 | 2020-04-19 20:15 |
| Reporter | acolomb | Assigned To | cth103 | ||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Target Version | 3.0-beta1 | ||||
| Summary | 0004456: [PATCH] Set window icons for startup assistant | ||||
| Description | Shamelessly stolen from editor.cc :-) | ||||
| Tags | No tags attached. | ||||
|
2011-11-07 12:14
|
startup_window_icons.patch (927 bytes)
Index: startup.cc
===================================================================
--- startup.cc (revision 10469)
+++ startup.cc (working copy)
@@ -102,6 +102,25 @@
throw failed_constructor();
}
+ list<Glib::RefPtr<Gdk::Pixbuf> > window_icons;
+ Glib::RefPtr<Gdk::Pixbuf> icon;
+
+ if ((icon = ::get_icon ("ardour_icon_16px")) != 0) {
+ window_icons.push_back (icon);
+ }
+ if ((icon = ::get_icon ("ardour_icon_22px")) != 0) {
+ window_icons.push_back (icon);
+ }
+ if ((icon = ::get_icon ("ardour_icon_32px")) != 0) {
+ window_icons.push_back (icon);
+ }
+ if ((icon = ::get_icon ("ardour_icon_48px")) != 0) {
+ window_icons.push_back (icon);
+ }
+ if (! window_icons.empty()) {
+ set_default_icon_list (window_icons);
+ }
+
sys::path been_here_before = user_config_directory();
been_here_before /= ".a3"; // XXXX use more specific version so we can catch upgrades
new_user = !exists (been_here_before);
|
|
|
Applied to SVN 10486. Thanks! |
|
|
Issue has been closed automatically, by Trigger Close Plugin. Feel free to re-open with additional information if you think the issue is not resolved. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-11-07 12:14 | acolomb | New Issue | |
| 2011-11-07 12:14 | acolomb | File Added: startup_window_icons.patch | |
| 2011-11-07 14:35 | cth103 | cost | => 0.00 |
| 2011-11-07 14:35 | cth103 | Target Version | => 3.0-beta1 |
| 2011-11-08 00:31 | cth103 | Note Added: 0011933 | |
| 2011-11-08 00:31 | cth103 | Status | new => resolved |
| 2011-11-08 00:31 | cth103 | Resolution | open => fixed |
| 2011-11-08 00:31 | cth103 | Assigned To | => cth103 |
| 2020-04-19 20:15 | system | Note Added: 0022825 | |
| 2020-04-19 20:15 | system | Status | resolved => closed |