mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlCore: GTK TopWindow::LargeIcon implementation
git-svn-id: svn://ultimatepp.org/upp/trunk@7383 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
034a9bf715
commit
fa5883745f
2 changed files with 10 additions and 2 deletions
|
|
@ -48,8 +48,15 @@ void TopWindow::SyncCaption()
|
|||
GuiLock __;
|
||||
SyncTitle();
|
||||
if(top) {
|
||||
GList *icons = NULL;
|
||||
if(gdk_icon.Set(icon))
|
||||
gtk_window_set_icon(gtk(), gdk_icon);
|
||||
icons = g_list_append(icons, gdk_icon);
|
||||
if(gdk_largeicon.Set(largeicon))
|
||||
icons = g_list_append(icons, gdk_largeicon);
|
||||
if(icons != NULL) {
|
||||
gtk_window_set_icon_list(gtk(), icons);
|
||||
g_list_free(icons);
|
||||
}
|
||||
gtk_window_set_decorated(gtk(), !frameless);
|
||||
gtk_window_set_urgency_hint(gtk(), urgent);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue