View Issue Details

IDProjectCategoryView StatusLast Update
0004456ardourfeaturespublic2020-04-19 20:15
Reporteracolomb Assigned Tocth103  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Target Version3.0-beta1 
Summary0004456: [PATCH] Set window icons for startup assistant
DescriptionShamelessly stolen from editor.cc :-)
TagsNo tags attached.

Activities

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);
startup_window_icons.patch (927 bytes)   

cth103

2011-11-08 00:31

administrator   ~0011933

Applied to SVN 10486. Thanks!

system

2020-04-19 20:15

developer   ~0022825

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.

Issue History

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