mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
wAppIconPaint paint argument
The function wAppIconPaint has a new argument. This argument is used to force an icon create if needed.
This commit is contained in:
committed by
Carlos R. Mafra
parent
a3078a5095
commit
33ebded4f9
@@ -785,14 +785,18 @@ static void applySettings(WMButton *button, InspectorPanel *panel)
|
||||
wfree(file);
|
||||
file = NULL;
|
||||
}
|
||||
|
||||
wIconChangeImageFile(wapp->app_icon->icon, file);
|
||||
if (file)
|
||||
wfree(file);
|
||||
wAppIconPaint(wapp->app_icon);
|
||||
|
||||
/* The image was updated in wIconChangeImageFile,
|
||||
* so we don't need udpate it at wAppIconPaint */
|
||||
wAppIconPaint(wapp->app_icon, False);
|
||||
}
|
||||
}
|
||||
|
||||
wNETFrameExtents(wwin);
|
||||
wNETFrameExtents(wwin);
|
||||
}
|
||||
|
||||
static void revertSettings(WMButton *button, InspectorPanel *panel)
|
||||
|
||||
Reference in New Issue
Block a user