projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
95a022c
)
Let OS X display dock icon
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Thu, 11 Sep 2014 17:17:55 +0000 (19:17 +0200)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Thu, 11 Sep 2014 17:17:55 +0000 (19:17 +0200)
gtk/xboard.c
patch
|
blob
|
history
diff --git
a/gtk/xboard.c
b/gtk/xboard.c
index
2c51e01
..
532df06
100644
(file)
--- a/
gtk/xboard.c
+++ b/
gtk/xboard.c
@@
-2030,7
+2030,11
@@
SetClockIcon (int color)
GdkPixbuf *pm = *clockIcons[color];
if (mainwindowIcon != pm) {
mainwindowIcon = pm;
- gtk_window_set_icon(GTK_WINDOW(shellWidget), mainwindowIcon);
+#ifdef __APPLE__
+ gtkosx_application_set_dock_icon_pixbuf(theApp, mainwindowIcon);
+#else
+ gtk_window_set_icon(GTK_WINDOW(shellWidget), mainwindowIcon);
+#endif
}
}