mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-05-01 11:41:30 +00:00
Bugfix: Fixes #284, Some application icons using defaults in taskband
This commit is contained in:
@@ -120,17 +120,21 @@ static void window_manager_update_icon(
|
||||
WindowManagerSingle* window_manager
|
||||
)
|
||||
{
|
||||
GdkPixbuf* icon;
|
||||
|
||||
if (window_manager->button == NULL)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
icon = wintc_wndmgmt_window_get_mini_icon(window_manager->managed_window);
|
||||
|
||||
gtk_image_set_from_pixbuf(
|
||||
window_manager->button_icon,
|
||||
wintc_wndmgmt_window_get_mini_icon(
|
||||
window_manager->managed_window
|
||||
)
|
||||
icon
|
||||
);
|
||||
|
||||
g_object_unref(icon);
|
||||
}
|
||||
|
||||
static void window_manager_update_state(
|
||||
|
||||
Reference in New Issue
Block a user